#15798 closed defect (fixed)

Fix MinGW Unicode build

Reported by: vadz Owned by:
Priority: normal Milestone: 3.0.1
Component: build Version: 3.0.0
Keywords: mingw Unicode Windows Cc:
Blocked By: Blocking:
Patch: yes

Description

Backport r75520 if no problems with it are found.

Change History (1)

comment:1 Changed 10 months ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [75763]) Move wxCHECK_MINGW32_VERSION() declaration to wx/msw/gccpriv.h.

Unfortunately we can't keep it in wx/compiler.h which is included too early,
before UNICODE macro is defined, and we can't define it before including
wx/setup.h which itself must be included after wx/compiler.h.

So move it to wx/msw/gccpriv.h which is not a great solution, as the best
would be to get rid of this gcc-specific file completely, but at least should
make everything build again and ensure that _mingw.h is included after UNICODE
definition.

Closes #15798.

Note: See TracTickets for help on using tickets.