I guess GCC/glibc folks have been dealing with multiple versions of the libc installed by multiple vendors, so their "hack" was to have the stdc-predef.h header silently and automatically included if it exists. That header is responsible for defining this macro. I've found a patch in clang to support stdc-predef.h, so I suppose support is there. https://reviews.llvm.org/D34158 I couldn't get x86_64-w64-mingw-gcc to exhibit that behaviour, though. I've put using a Cygwin install a faulty header in /usr/include/stdc-predef.h and /usr/x86_64-w64-mingw32/sys-root/mingw/include/stdc-predef.h but there were no compilation errors unless I explicitly included that file.
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
