Disable 'conditional expression is constant' on older Visual C++

This commit is contained in:
Daniel James
2018-01-23 15:40:58 +00:00
parent 1cc3f680e8
commit ea599a66b7
2 changed files with 2 additions and 2 deletions

View File

@ -26,9 +26,9 @@
#if defined(BOOST_MSVC)
#pragma warning(push)
#if BOOST_MSVC >= 1400
// conditional expression is constant
#pragma warning(disable : 4127)
#if BOOST_MSVC >= 1400
// the inline specifier cannot be used when a friend declaration refers to a
// specialization of a function template
#pragma warning(disable : 4396)

View File

@ -25,9 +25,9 @@
#if defined(BOOST_MSVC)
#pragma warning(push)
#if BOOST_MSVC >= 1400
// conditional expression is constant
#pragma warning(disable : 4127)
#if BOOST_MSVC >= 1400
// the inline specifier cannot be used when a friend declaration refers to a
// specialization of a function template
#pragma warning(disable : 4396)