ignore -Wunsequenced warnings

This commit is contained in:
Dane Springmeyer 2014-10-22 15:34:04 -07:00
parent 15a2acf0d5
commit 27666bb686

View file

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