From 41882dfcb5228418e2466fd7bdd97fbad7bbfc40 Mon Sep 17 00:00:00 2001 From: arvidn Date: Sun, 18 Feb 2024 11:01:34 +0100 Subject: [PATCH] disable cxx98 unary_function in boost-python, to avoid warning --- bindings/python/Jamfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/python/Jamfile b/bindings/python/Jamfile index 74700865034..2f27ab846c6 100644 --- a/bindings/python/Jamfile +++ b/bindings/python/Jamfile @@ -34,6 +34,9 @@ feature python-install-scope : user system : ; feature auto-ptr : off on : composite propagated ; feature.compose off : BOOST_NO_AUTO_PTR=1 ; +feature cxx98-function-base : off on : composite propagated ; +feature.compose off : BOOST_NO_CXX98_FUNCTION_BASE=1 ; + # copied from boost 1.63's boost python jamfile rule find-py3-version { @@ -302,6 +305,7 @@ my-python-extension libtorrent all 17 off + off : # usage-requirements false ;