scons: back off using -Wshadow since this triggers too much spurious noise with g++-4.7 and clang++/libc++
This commit is contained in:
parent
412f90a3ee
commit
4fb6f25dcd
1 changed files with 2 additions and 2 deletions
|
@ -1719,8 +1719,8 @@ if not preconfigured:
|
|||
env.Append(CPPDEFINES = ndebug_defines)
|
||||
|
||||
# Common flags for g++/clang++ CXX compiler.
|
||||
# TODO: clean up code more to make -Wsign-conversion -Wconversion viable
|
||||
common_cxx_flags = '-Wall -Wsign-compare -Wshadow %s %s -ftemplate-depth-300 ' % (env['WARNING_CXXFLAGS'], pthread)
|
||||
# TODO: clean up code more to make -Wsign-conversion -Wconversion -Wshadow viable
|
||||
common_cxx_flags = '-Wall -Wsign-compare %s %s -ftemplate-depth-300 ' % (env['WARNING_CXXFLAGS'], pthread)
|
||||
|
||||
# https://github.com/mapnik/mapnik/issues/1835
|
||||
if sys.platform == 'darwin' and env['CXX'] == 'g++':
|
||||
|
|
Loading…
Reference in a new issue