make note about need for -Wno-c++11-narrowing - closes #1970

This commit is contained in:
Dane Springmeyer 2013-07-30 12:18:48 -04:00
parent 844baa8c5b
commit 19a7e9ad19

View file

@ -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')