mirror of
https://github.com/boostorg/system.git
synced 2025-07-31 13:07:13 +02:00
Only disable C4351 on msvc-12.0 and earlier (refs #96)
This commit is contained in:
@ -48,7 +48,7 @@ class std_category;
|
|||||||
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC) && BOOST_MSVC < 1900
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
#pragma warning(disable: 4351) // new behavior: elements of array will be default initialized
|
#pragma warning(disable: 4351) // new behavior: elements of array will be default initialized
|
||||||
#endif
|
#endif
|
||||||
@ -183,7 +183,7 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC) && BOOST_MSVC < 1900
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user