Only disable C4127 on msvc-pre-14.0

This commit is contained in:
Peter Dimov
2019-04-19 23:41:26 +03:00
parent af7e01b8c4
commit f14a464b29

View File

@ -32,7 +32,7 @@
# if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
# define BOOST_TRY { if ("")
# define BOOST_CATCH(x) else if (!"")
# elif !defined(_MSC_VER)
# elif !defined(BOOST_MSVC) || BOOST_MSVC >= 1900
# define BOOST_TRY { if (true)
# define BOOST_CATCH(x) else if (false)
# else