stop setting -Wsign-compare since this is too noisy as a default
This commit is contained in:
parent
aebd45b286
commit
ba4230c8ad
1 changed files with 2 additions and 2 deletions
|
@ -1725,8 +1725,8 @@ if not preconfigured:
|
||||||
env.Append(CPPDEFINES = ndebug_defines)
|
env.Append(CPPDEFINES = ndebug_defines)
|
||||||
|
|
||||||
# Common flags for g++/clang++ CXX compiler.
|
# Common flags for g++/clang++ CXX compiler.
|
||||||
# TODO: clean up code more to make -Wextra -Wsign-conversion -Wconversion -Wshadow viable
|
# TODO: clean up code more to make -Wextra -Wsign-compare -Wsign-conversion -Wconversion -Wshadow viable
|
||||||
common_cxx_flags = '-Wall -Wsign-compare %s %s -ftemplate-depth-300 ' % (env['WARNING_CXXFLAGS'], pthread)
|
common_cxx_flags = '-Wall %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 -Wno-unsequenced '
|
common_cxx_flags += ' -Wno-unknown-pragmas -Wno-unsequenced '
|
||||||
|
|
Loading…
Reference in a new issue