Update GCC version check

This commit is contained in:
Peter Dimov
2021-06-14 14:35:50 +03:00
parent 3c469fe710
commit a3225e78e2

View File

@@ -29,7 +29,7 @@
# include <system_error> # include <system_error>
#endif #endif
#if defined(BOOST_GCC) && BOOST_GCC < 70000 #if defined(BOOST_GCC) && BOOST_GCC >= 40600 && BOOST_GCC < 70000
# pragma GCC diagnostic push # pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wstrict-aliasing" # pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif #endif
@@ -474,7 +474,7 @@ inline std::size_t hash_value( error_code const & ec )
} // namespace boost } // namespace boost
#if defined(BOOST_GCC) && BOOST_GCC < 60000 #if defined(BOOST_GCC) && BOOST_GCC >= 40600 && BOOST_GCC < 70000
# pragma GCC diagnostic pop # pragma GCC diagnostic pop
#endif #endif