DiscussionsIssue archiveOCCT:Configuration

Archived issue #0029169

Configuration - fix compilation with undefined UNICODE on Windows

Open CASCADEOCCT:Configurationclosed7 public notes

Search issues

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

Public activity

7 archived notes

Participants are labeled by their role within this record.

01Commenter 3
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).
02Author
Patch is ready for review.
03Commenter 3
Reviewed with no remarks
04Commenter 3
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
05Commenter 3
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
06Commenter 1
Tested in framework of testing issue 29170
07Commenter 3
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records