[Mingw-users] Yet another compilation problem with building gcc 7.3.0

Back to archive index

Eli Zaretskii eliz****@gnu*****
Sun Jul 1 00:01:49 JST 2018


> From: Keith Marshall <keith****@users*****>
> Date: Sat, 30 Jun 2018 14:45:52 +0100
> 
> | #ifndef _O_U8TEXT
> | #define _O_U8TEXT _O_TEXT
> | #endif
> | #ifndef _O_U16TEXT
> | #define _O_U16TEXT _O_TEXT
> | #endif
> | #ifndef _O_WTEXT
> | #define _O_WTEXT _O_TEXT
> | #endif
> 
> That block of "fall-back" defines is conspicuously absent from the
> gcc-7.3.0 version of gcc/ada/mingw32.h.  I don't know why the GCC folks
> removed it, but I can speculate: perhaps it's because, once again, it is
> misplaced code.

It could be simply because MinGW64 headers define those constants
unconditionally.  Many projects no longer consider MinGW an active
player, and cater only to MinGW64, sadly.

> BTW, in gcc-7.3.0, they still have:
> 
> | /* We need functionality available only starting with Windows XP */
> | #ifndef _WIN32_WINNT
> | #define _WIN32_WINNT 0x0501
> | #endif
> 
> so it is still apparent that their intent is to support WinXP legacy;

AFAIK, MinGW64 dropped XP support, but only very recently.  This could
be an oversight.




More information about the MinGW-Users mailing list
Back to archive index