scons: do not (yet) default to using -Wconversion -Wno-sign-conversion
This commit is contained in:
parent
2d268d3a95
commit
26f362db9a
1 changed files with 2 additions and 2 deletions
|
@ -1719,8 +1719,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.
|
||||||
# -Wsign-conversion -Wconversion -Wunused-parameter
|
# TODO: clean up code more to make -Wsign-conversion -Wconversion viable
|
||||||
common_cxx_flags = '-Wall -Wsign-compare -Wshadow -Wconversion -Wno-sign-conversion %s %s -ftemplate-depth-300 ' % (env['WARNING_CXXFLAGS'], pthread)
|
common_cxx_flags = '-Wall -Wsign-compare -Wshadow %s %s -ftemplate-depth-300 ' % (env['WARNING_CXXFLAGS'], pthread)
|
||||||
|
|
||||||
# https://github.com/mapnik/mapnik/issues/1835
|
# https://github.com/mapnik/mapnik/issues/1835
|
||||||
if sys.platform == 'darwin' and env['CXX'] == 'g++':
|
if sys.platform == 'darwin' and env['CXX'] == 'g++':
|
||||||
|
|
Loading…
Add table
Reference in a new issue