Update g++ workaround to exclude 7.4/8.1

This commit is contained in:
Peter Dimov
2018-06-29 03:56:56 +03:00
parent 0d2aeead38
commit 084d8e119e

View File

@ -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