From 1f86d5103085bb6c69f6c01296808a153c189f4b Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 11 Dec 2017 19:27:07 +0000 Subject: [PATCH] Config.MSVC-15.5: We still need to define BOOST_NO_TWO_PHASE_NAME_LOOKUP as we can't tell if /permissive- is in effect or not. --- include/boost/config/compiler/visualc.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index 8cbc20fb..05a39df6 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -222,11 +222,12 @@ // // C++ 11: // -#if (_MSC_VER < 1912) - // This is really only supported with /permissive- but as this is the default for new projects it seems - // sensible to allow this: +// This is supported with /permissive- for 15.5 onwards, unfortunately we appear to have no way to tell +// if this is in effect or not, in any case nothing in Boost is currently using this, so we'll just go +// on defining it for now: +// # define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#endif + #if (_MSC_VER < 1912) || (_MSVC_LANG < 201402) // Supported from msvc-15.5 onwards: #define BOOST_NO_CXX11_SFINAE_EXPR