mirror of
https://github.com/boostorg/system.git
synced 2025-07-31 21:14:26 +02:00
Update GCC version check
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user