From d6975bd90e6dac5fa686afa10b30be1de2e20015 Mon Sep 17 00:00:00 2001 From: Arnaud Becheler <8360330+Becheler@users.noreply.github.com> Date: Sun, 1 Nov 2026 18:29:26 +0100 Subject: [PATCH] fix: require C++14 to build the library (#689) --- build/Jamfile.v2 | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 882f6fb5b..793eee9d2 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -4,13 +4,16 @@ # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) +import-search /boost/config/checks ; +import config : requires ; + constant boost_dependencies_private : /boost/regex//boost_regex ; project : common-requirements ../include $(boost_dependencies) - : requirements ../src $(boost_dependencies_private) + : requirements ../src $(boost_dependencies_private) [ requires cxx14_variable_templates ] : source-location ../src : usage-requirements BOOST_GRAPH_NO_LIB=1 ; @@ -21,10 +24,4 @@ lib boost_graph graphml.cpp : shared:BOOST_GRAPH_DYN_LINK=1 - # Without these flags, MSVC 7.1 and 8.0 crash - # User reports that VC++ 8.0 does not fail anymore, so that is removed - msvc-7.1:-GR- - sun:no - : - : ;