From 03e99668f67cf48fd01d8a37ffc774b2c1d85222 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Tue, 28 Jul 2020 19:07:19 +0100 Subject: [PATCH] Define BOOST_NO_CXX17_HDR_CHARCONV pre-gcc-10. --- include/boost/config/stdlib/libstdcpp3.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index ee8f2a20..e73bb410 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -323,6 +323,13 @@ extern "C" char *gets (char *__s); # define BOOST_NO_CXX14_HDR_SHARED_MUTEX #endif +#if BOOST_LIBSTDCXX_VERSION < 100100 +// +// The header may be present but is incomplete: +// +# define BOOST_NO_CXX17_HDR_CHARCONV +#endif + // // Headers not present on Solaris with the Oracle compiler: #if defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x5140)