From 73cc60c503733b66159b06081fe113a058da1d16 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 9 Nov 2022 14:49:18 +0200 Subject: [PATCH] Update BOOST_COMPILER_VERSION for msvc-14.3 --- include/boost/config/compiler/visualc.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index 6378094c..a547b221 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -364,6 +364,8 @@ # define BOOST_COMPILER_VERSION 14.1 # elif _MSC_VER < 1930 # define BOOST_COMPILER_VERSION 14.2 +# elif _MSC_VER < 1940 +# define BOOST_COMPILER_VERSION 14.3 # else # define BOOST_COMPILER_VERSION _MSC_VER # endif @@ -375,8 +377,8 @@ #include // -// last known and checked version is 19.20.27508 (VC++ 2019 RC3): -#if (_MSC_VER > 1920) +// last known and checked version is 19.3x (VS2022): +#if (_MSC_VER >= 1940) # if defined(BOOST_ASSERT_CONFIG) # error "Boost.Config is older than your current compiler version." # elif !defined(BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE)