wscript: force C++98 to avoid std::byte redefining our byte thanks to using namespace std somewhere
This commit is contained in:
parent
6eeaa1f199
commit
3bf40d193b
2
wscript
2
wscript
@ -73,6 +73,8 @@ def configure(conf):
|
|||||||
|
|
||||||
cflags, linkflags = conf.get_optimization_flags()
|
cflags, linkflags = conf.get_optimization_flags()
|
||||||
cxxflags = list(cflags) # optimization flags are common between C and C++ but we need a copy
|
cxxflags = list(cflags) # optimization flags are common between C and C++ but we need a copy
|
||||||
|
if conf.env.COMPILER_CC != 'msvc':
|
||||||
|
cxxflags += ['-std=c++98']
|
||||||
|
|
||||||
# on the Switch, allow undefined symbols by default, which is needed for libsolder to work
|
# on the Switch, allow undefined symbols by default, which is needed for libsolder to work
|
||||||
# we'll specifically disallow them for the engine executable
|
# we'll specifically disallow them for the engine executable
|
||||||
|
Loading…
Reference in New Issue
Block a user