Archived issue #0029169
Configuration - fix compilation with undefined UNICODE on Windows
Description
OCCT is expected to be compiled with UNICODE macros on Windows, however in some cases it can be undefined leading to compilation errors.
Steps to reproduce
0. Install Code::Blocks with MinGW
1. Generate Code::Blocks project on Windows running "genproj cbp"
2. Start codeblocks.bat
3. Build TKernel
1. Generate Code::Blocks project on Windows running "genproj cbp"
2. Start codeblocks.bat
3. Build TKernel
Public activity
7 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Sat Sep 30 19:52:10 2017 +0300
0029169: Configuration - fix compilation with undefined UNICODE on Windows
Eliminated usage of TEXT macros, usage of OSVERSIONINFO instead of OSVERSIONINFOW.
LoadIcon/LoadCursor are now used instead of LoadIconW/LoadCursorW
when passing macros to standard resources (which depend on UNICODE flag).
[revision removed]
Detailed log of new commits:
Author: Author
Date: Sat Sep 30 19:52:10 2017 +0300
0029169: Configuration - fix compilation with undefined UNICODE on Windows
Eliminated usage of TEXT macros, usage of OSVERSIONINFO instead of OSVERSIONINFOW.
LoadIcon/LoadCursor are now used instead of LoadIconW/LoadCursorW
when passing macros to standard resources (which depend on UNICODE flag).
Patch is ready for review.
Reviewed with no remarks
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Tested in framework of testing issue 29170
Branch [archived branch] has been deleted by Author.
[revision removed]
[revision removed]
Related records