Temporary workaround to allow compilation on MinGW

This commit is contained in:
mniip 2018-05-10 20:40:25 +03:00
parent a87acf56b7
commit 196371316d

View File

@ -397,7 +397,7 @@ elif not GetOption('help'):
env = conf.Finish()
if not msvc:
env.Append(CXXFLAGS=['-std=c++11'])
env.Append(CXXFLAGS=['-std=c++11', '-U__STRICT_ANSI__'])
env.Append(CXXFLAGS=['-Wno-invalid-offsetof'])
if platform == "Linux":
env.Append(CXXFLAGS=['-Wno-unused-result'])