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

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

No files matched your search

+1 -1
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)
+1 -1
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)