#pragma GCC diagnostic push/pop requires gcc 4.6

This commit is contained in:
Peter Dimov
2019-03-04 17:38:52 +02:00
parent af1dc84160
commit c705bab504

View File

@ -155,7 +155,7 @@ template<> struct is_error_condition_enum<errc::errc_t>
};
// class error_category
#if defined( BOOST_GCC ) || defined( BOOST_CLANG )
#if ( defined( BOOST_GCC ) && BOOST_GCC >= 40600 ) || defined( BOOST_CLANG )
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
#endif
@ -318,7 +318,7 @@ public:
} // namespace detail
#if defined( BOOST_GCC ) || defined( BOOST_CLANG )
#if ( defined( BOOST_GCC ) && BOOST_GCC >= 40600 ) || defined( BOOST_CLANG )
#pragma GCC diagnostic pop
#endif