restore -Wno-unsequenced, accidentally dropped in 7608040906
This commit is contained in:
parent
8235d0ed30
commit
59723ae693
1 changed files with 3 additions and 0 deletions
|
@ -1787,6 +1787,9 @@ if not preconfigured:
|
|||
# TODO: clean up code more to make -Wextra -Wsign-compare -Wsign-conversion -Wconversion viable
|
||||
common_cxx_flags = '-Wall %s %s -ftemplate-depth-300 -Wsign-compare -Wshadow ' % (env['WARNING_CXXFLAGS'], pthread)
|
||||
|
||||
if 'clang++' in env['CXX']:
|
||||
common_cxx_flags += ' -Wno-unsequenced '
|
||||
|
||||
if env['DEBUG']:
|
||||
env.Append(CXXFLAGS = common_cxx_flags + '-O0')
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue