Skip to content

Commit

Permalink
Fix FTBFS with Boost 1.81.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes authored and Bas Couwenberg committed Mar 2, 2024
1 parent 3653c67 commit 2f4df05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -1953,6 +1953,7 @@ if not preconfigured:
# http://www.boost.org/doc/libs/1_47_0/libs/spirit/doc/html/spirit/what_s_new/spirit_2_5.html#spirit.what_s_new.spirit_2_5.breaking_changes
env.Append(CPPDEFINES = '-DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1')
env.Append(CPPDEFINES = '-DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1')
env.Append(CPPDEFINES = '-DBOOST_PHOENIX_STL_TUPLE_H_')
# c++11 support / https://github.com/mapnik/mapnik/issues/1683
# - upgrade to PHOENIX_V3 since that is needed for c++11 compile
env.Append(CPPDEFINES = '-DBOOST_SPIRIT_USE_PHOENIX_V3=1')
Expand Down

0 comments on commit 2f4df05

Please sign in to comment.