remove -ansi from c++ flag used when configuring with --strict (forces C++98)
This commit is contained in:
parent
4aa7e21e12
commit
322bca7fb3
2
wscript
2
wscript
@ -79,7 +79,7 @@ compiler_flags_dictionaries= {
|
||||
# Flags used for "strict" compilation, C only (i.e. compiler will warn about language issues)
|
||||
'c-strict' : ['-std=c99', '-pedantic', '-Wshadow'],
|
||||
# Flags used for "strict" compilation, C++ only (i.e. compiler will warn about language issues)
|
||||
'cxx-strict' : [ '-ansi', '-Wnon-virtual-dtor', '-Woverloaded-virtual', '-fstrict-overflow' ],
|
||||
'cxx-strict' : [ '-Wnon-virtual-dtor', '-Woverloaded-virtual', '-fstrict-overflow' ],
|
||||
# Flags required for whatever consider the strictest possible compilation
|
||||
'ultra-strict' : ['-Wredundant-decls', '-Wstrict-prototypes', '-Wmissing-prototypes'],
|
||||
# Flag to turn on C99 compliance by itself
|
||||
|
Loading…
Reference in New Issue
Block a user