scons: do not (yet) default to using -Wconversion -Wno-sign-conversion

This commit is contained in:
Dane Springmeyer 2013-11-03 22:23:48 -08:00
parent 2d268d3a95
commit 26f362db9a

View file

@ -1719,8 +1719,8 @@ if not preconfigured:
env.Append(CPPDEFINES = ndebug_defines)
# Common flags for g++/clang++ CXX compiler.
# -Wsign-conversion -Wconversion -Wunused-parameter
common_cxx_flags = '-Wall -Wsign-compare -Wshadow -Wconversion -Wno-sign-conversion %s %s -ftemplate-depth-300 ' % (env['WARNING_CXXFLAGS'], pthread)
# 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)
# https://github.com/mapnik/mapnik/issues/1835
if sys.platform == 'darwin' and env['CXX'] == 'g++':