forked from boostorg/system
#pragma GCC diagnostic push/pop requires gcc 4.6
This commit is contained in:
@ -155,7 +155,7 @@ template<> struct is_error_condition_enum<errc::errc_t>
|
|||||||
};
|
};
|
||||||
|
|
||||||
// class error_category
|
// 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 push
|
||||||
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||||
#endif
|
#endif
|
||||||
@ -318,7 +318,7 @@ public:
|
|||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
#if defined( BOOST_GCC ) || defined( BOOST_CLANG )
|
#if ( defined( BOOST_GCC ) && BOOST_GCC >= 40600 ) || defined( BOOST_CLANG )
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user