Skip to content

Commit abecbda

Browse files
authored
Don't undefine __STRICT_ANSI__ for mingw (HaxeFoundation#1112)
This was done originally to fix HaxeFoundation#785. However, since gcc 11.1.0, this gives a warning: __STRICT_ANSI__ seems to have been undefined; this is not supported Due to this change: https://gcc.gnu.org/git/?p=gcc.git;a=commit;f=libstdc%2B%2B-v3/include/bits/c%2B%2Bconfig;h=767537a8b027bcb5807bb45b0268c5da98c2c7a0 The original issue no longer happens with mingw-w64. The original mingw project is outdated (and 32 bit only) it is safe remove this flag now.
1 parent f61cd01 commit abecbda

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

toolchain/mingw-toolchain.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
<flag value="-DHXCPP_BIG_ENDIAN" if="HXCPP_BIG_ENDIAN"/>
4343
<cppflag value="-std=c++11" if="HXCPP_CPP11" />
4444
<cppflag value="-std=c++17" if="HXCPP_CPP17" />
45-
<cppflag value="-U__STRICT_ANSI__" />
4645
<flag value="-m32" unless="HXCPP_M64"/>
4746
<flag value="-m64" if="HXCPP_M64"/>
4847
<flag value="-DHXCPP_M64" if="HXCPP_M64"/>

0 commit comments

Comments
 (0)