From 84e1f00b14cb127226d10feac074fe10fc03bd73 Mon Sep 17 00:00:00 2001 From: Thomas Kent Date: Wed, 20 Mar 2019 07:32:07 -0500 Subject: [PATCH 1/2] Support for Visual Studio 2019, vc142 toolset. --- include/boost/config/compiler/visualc.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index 29642473..c4cdb0ec 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -313,7 +313,7 @@ # endif # else # if _MSC_VER < 1200 - // Note: Versions up to 7.0 aren't supported. + // Note: Versions up to 10.0 aren't supported. # define BOOST_COMPILER_VERSION 5.0 # elif _MSC_VER < 1300 # define BOOST_COMPILER_VERSION 6.0 @@ -335,6 +335,8 @@ # define BOOST_COMPILER_VERSION 14.0 # elif _MSC_VER < 1920 # define BOOST_COMPILER_VERSION 14.1 +# elif _MSC_VER < 1930 +# define BOOST_COMPILER_VERSION 14.2 # else # define BOOST_COMPILER_VERSION _MSC_VER # endif @@ -346,8 +348,8 @@ #include // -// last known and checked version is 19.12.25830.2 (VC++ 2017.3): -#if (_MSC_VER > 1912) +// last known and checked version is 19.20.27404 (VC++ 2019 RC): +#if (_MSC_VER > 1920) # if defined(BOOST_ASSERT_CONFIG) # error "Boost.Config is older than your current compiler version." # elif !defined(BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE) From 354b02cd2bd8b4f3f38bd36a0611aabc72af6491 Mon Sep 17 00:00:00 2001 From: Thomas Kent Date: Thu, 21 Mar 2019 21:05:22 -0500 Subject: [PATCH 2/2] Tried with the latest RC --- include/boost/config/compiler/visualc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index c4cdb0ec..f1674099 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -348,7 +348,7 @@ #include // -// last known and checked version is 19.20.27404 (VC++ 2019 RC): +// last known and checked version is 19.20.27508 (VC++ 2019 RC3): #if (_MSC_VER > 1920) # if defined(BOOST_ASSERT_CONFIG) # error "Boost.Config is older than your current compiler version."