mirror of
https://github.com/boostorg/system.git
synced 2025-07-30 04:27:14 +02:00
Disable -Wnon-virtual-dtor
This commit is contained in:
@ -155,6 +155,10 @@ template<> struct is_error_condition_enum<errc::errc_t>
|
|||||||
};
|
};
|
||||||
|
|
||||||
// class error_category
|
// class error_category
|
||||||
|
#if defined( BOOST_GCC ) || defined( BOOST_CLANG )
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef BOOST_MSVC
|
#ifdef BOOST_MSVC
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
@ -314,6 +318,10 @@ public:
|
|||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
|
#if defined( BOOST_GCC ) || defined( BOOST_CLANG )
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
// generic_category(), system_category()
|
// generic_category(), system_category()
|
||||||
|
|
||||||
#if defined(BOOST_SYSTEM_HAS_CONSTEXPR)
|
#if defined(BOOST_SYSTEM_HAS_CONSTEXPR)
|
||||||
|
Reference in New Issue
Block a user