make note about need for -Wno-c++11-narrowing - closes #1970
This commit is contained in:
parent
844baa8c5b
commit
19a7e9ad19
1 changed files with 2 additions and 0 deletions
|
@ -1674,6 +1674,8 @@ if not preconfigured:
|
||||||
if 'c++11' in env['CUSTOM_CXXFLAGS']:
|
if 'c++11' in env['CUSTOM_CXXFLAGS']:
|
||||||
env.Append(CPPDEFINES = '-DBOOST_SPIRIT_USE_PHOENIX_V3=1')
|
env.Append(CPPDEFINES = '-DBOOST_SPIRIT_USE_PHOENIX_V3=1')
|
||||||
# - workaround boost gil channel_algorithm.hpp narrowing error
|
# - workaround boost gil channel_algorithm.hpp narrowing error
|
||||||
|
# TODO - remove when building against >= 1.55
|
||||||
|
# https://github.com/mapnik/mapnik/issues/1970
|
||||||
if 'clang++' in env['CXX']:
|
if 'clang++' in env['CXX']:
|
||||||
env.Append(CXXFLAGS = '-Wno-c++11-narrowing')
|
env.Append(CXXFLAGS = '-Wno-c++11-narrowing')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue