remove -ansi from c++ flag used when configuring with --strict (forces C++98)

This commit is contained in:
Paul Davis 2021-02-03 10:44:27 -07:00
parent 4aa7e21e12
commit 322bca7fb3
1 changed files with 1 additions and 1 deletions

View File

@ -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