forked from boostorg/unordered
Suppress msvc waring "conditional expression is constant"
This commit is contained in:
1 parent
d55c9565ab
commit
dea525b2b7
2 files changed
+10
-6
No files matched your search
@@ -27,9 +27,11 @@
|
||||
#if defined(BOOST_MSVC)
|
||||
#pragma warning(push)
|
||||
#if BOOST_MSVC >= 1400
|
||||
#pragma warning(disable : 4396) // the inline specifier cannot be used when a
|
||||
// friend declaration refers to a specialization
|
||||
// of a function template
|
||||
// conditional expression is constant
|
||||
#pragma warning(disable : 4127)
|
||||
// the inline specifier cannot be used when a friend declaration refers to a
|
||||
// specialization of a function template
|
||||
#pragma warning(disable : 4396)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -26,9 +26,11 @@
|
||||
#if defined(BOOST_MSVC)
|
||||
#pragma warning(push)
|
||||
#if BOOST_MSVC >= 1400
|
||||
#pragma warning(disable : 4396) // the inline specifier cannot be used when a
|
||||
// friend declaration refers to a specialization
|
||||
// of a function template
|
||||
// conditional expression is constant
|
||||
#pragma warning(disable : 4127)
|
||||
// the inline specifier cannot be used when a friend declaration refers to a
|
||||
// specialization of a function template
|
||||
#pragma warning(disable : 4396)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user