From 084d8e119e801e8ef16a94f19be534e524ed1cd6 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 29 Jun 2018 03:56:56 +0300 Subject: [PATCH] Update g++ workaround to exclude 7.4/8.1 --- include/boost/system/error_code.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/system/error_code.hpp b/include/boost/system/error_code.hpp index ad9f454..920d87e 100644 --- a/include/boost/system/error_code.hpp +++ b/include/boost/system/error_code.hpp @@ -43,7 +43,7 @@ # define BOOST_SYSTEM_HAS_CONSTEXPR #endif -#if defined(__GNUC__) && (__GNUC__ == 7 || __GNUC__ == 8) && __cplusplus >= 201700L +#if defined(__GNUC__) && (__GNUC__ == 7 && __GNUC_MINOR__ < 4) && __cplusplus >= 201700L // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83835 # undef BOOST_SYSTEM_HAS_CONSTEXPR #endif