ignore -Wunsequenced warnings
This commit is contained in:
parent
15a2acf0d5
commit
27666bb686
1 changed files with 1 additions and 1 deletions
|
@ -1784,7 +1784,7 @@ if not preconfigured:
|
||||||
common_cxx_flags = '-Wall -Wsign-compare %s %s -ftemplate-depth-300 ' % (env['WARNING_CXXFLAGS'], pthread)
|
common_cxx_flags = '-Wall -Wsign-compare %s %s -ftemplate-depth-300 ' % (env['WARNING_CXXFLAGS'], pthread)
|
||||||
|
|
||||||
if 'clang++' in env['CXX']:
|
if 'clang++' in env['CXX']:
|
||||||
common_cxx_flags += ' -Wno-unknown-pragmas '
|
common_cxx_flags += ' -Wno-unknown-pragmas -Wno-unsequenced '
|
||||||
elif 'g++' in env['CXX']:
|
elif 'g++' in env['CXX']:
|
||||||
common_cxx_flags += ' -Wno-pragmas '
|
common_cxx_flags += ' -Wno-pragmas '
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue