Skip to content

Commit

Permalink
disable cxx98 unary_function in boost-python, to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Feb 18, 2024
1 parent eb62ae2 commit 41882df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bindings/python/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ feature python-install-scope : user system : ;
feature auto-ptr : off on : composite propagated ;
feature.compose <auto-ptr>off : <define>BOOST_NO_AUTO_PTR=1 ;

feature cxx98-function-base : off on : composite propagated ;
feature.compose <cxx98-function-base>off : <define>BOOST_NO_CXX98_FUNCTION_BASE=1 ;

# copied from boost 1.63's boost python jamfile
rule find-py3-version
{
Expand Down Expand Up @@ -302,6 +305,7 @@ my-python-extension libtorrent
<warnings>all
<cxxstd>17
<auto-ptr>off
<cxx98-function-base>off
: # usage-requirements
<suppress-import-lib>false
;
Expand Down

0 comments on commit 41882df

Please sign in to comment.