mirror of
https://github.com/boostorg/unordered.git
synced 2025-09-29 01:00:58 +02:00
Suppress msvc waring "conditional expression is constant"
This commit is contained in:
@@ -27,9 +27,11 @@
|
|||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
#if BOOST_MSVC >= 1400
|
#if BOOST_MSVC >= 1400
|
||||||
#pragma warning(disable : 4396) // the inline specifier cannot be used when a
|
// conditional expression is constant
|
||||||
// friend declaration refers to a specialization
|
#pragma warning(disable : 4127)
|
||||||
// of a function template
|
// the inline specifier cannot be used when a friend declaration refers to a
|
||||||
|
// specialization of a function template
|
||||||
|
#pragma warning(disable : 4396)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -26,9 +26,11 @@
|
|||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
#if BOOST_MSVC >= 1400
|
#if BOOST_MSVC >= 1400
|
||||||
#pragma warning(disable : 4396) // the inline specifier cannot be used when a
|
// conditional expression is constant
|
||||||
// friend declaration refers to a specialization
|
#pragma warning(disable : 4127)
|
||||||
// of a function template
|
// the inline specifier cannot be used when a friend declaration refers to a
|
||||||
|
// specialization of a function template
|
||||||
|
#pragma warning(disable : 4396)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user