Update BOOST_COMPILER_VERSION for msvc-14.3

This commit is contained in:
Peter Dimov
2022-11-09 14:49:18 +02:00
parent 2543ff1397
commit 73cc60c503

View File

@@ -364,6 +364,8 @@
# define BOOST_COMPILER_VERSION 14.1 # define BOOST_COMPILER_VERSION 14.1
# elif _MSC_VER < 1930 # elif _MSC_VER < 1930
# define BOOST_COMPILER_VERSION 14.2 # define BOOST_COMPILER_VERSION 14.2
# elif _MSC_VER < 1940
# define BOOST_COMPILER_VERSION 14.3
# else # else
# define BOOST_COMPILER_VERSION _MSC_VER # define BOOST_COMPILER_VERSION _MSC_VER
# endif # endif
@@ -375,8 +377,8 @@
#include <boost/config/pragma_message.hpp> #include <boost/config/pragma_message.hpp>
// //
// last known and checked version is 19.20.27508 (VC++ 2019 RC3): // last known and checked version is 19.3x (VS2022):
#if (_MSC_VER > 1920) #if (_MSC_VER >= 1940)
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Boost.Config is older than your current compiler version." # error "Boost.Config is older than your current compiler version."
# elif !defined(BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE) # elif !defined(BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE)