forked from boostorg/unordered
Disable 'conditional expression is constant' on older Visual C++
This commit is contained in:
@ -26,9 +26,9 @@
|
|||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
#if BOOST_MSVC >= 1400
|
|
||||||
// conditional expression is constant
|
// conditional expression is constant
|
||||||
#pragma warning(disable : 4127)
|
#pragma warning(disable : 4127)
|
||||||
|
#if BOOST_MSVC >= 1400
|
||||||
// the inline specifier cannot be used when a friend declaration refers to a
|
// the inline specifier cannot be used when a friend declaration refers to a
|
||||||
// specialization of a function template
|
// specialization of a function template
|
||||||
#pragma warning(disable : 4396)
|
#pragma warning(disable : 4396)
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
#if BOOST_MSVC >= 1400
|
|
||||||
// conditional expression is constant
|
// conditional expression is constant
|
||||||
#pragma warning(disable : 4127)
|
#pragma warning(disable : 4127)
|
||||||
|
#if BOOST_MSVC >= 1400
|
||||||
// the inline specifier cannot be used when a friend declaration refers to a
|
// the inline specifier cannot be used when a friend declaration refers to a
|
||||||
// specialization of a function template
|
// specialization of a function template
|
||||||
#pragma warning(disable : 4396)
|
#pragma warning(disable : 4396)
|
||||||
|
Reference in New Issue
Block a user