Support for Visual Studio 2019, vc142 toolset.

This commit is contained in:
Thomas Kent
2019-03-20 07:32:07 -05:00
parent fb362e6b29
commit 84e1f00b14

View File

@ -313,7 +313,7 @@
# endif # endif
# else # else
# if _MSC_VER < 1200 # 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 # define BOOST_COMPILER_VERSION 5.0
# elif _MSC_VER < 1300 # elif _MSC_VER < 1300
# define BOOST_COMPILER_VERSION 6.0 # define BOOST_COMPILER_VERSION 6.0
@ -335,6 +335,8 @@
# define BOOST_COMPILER_VERSION 14.0 # define BOOST_COMPILER_VERSION 14.0
# elif _MSC_VER < 1920 # elif _MSC_VER < 1920
# define BOOST_COMPILER_VERSION 14.1 # define BOOST_COMPILER_VERSION 14.1
# elif _MSC_VER < 1930
# define BOOST_COMPILER_VERSION 14.2
# else # else
# define BOOST_COMPILER_VERSION _MSC_VER # define BOOST_COMPILER_VERSION _MSC_VER
# endif # endif
@ -346,8 +348,8 @@
#include <boost/config/pragma_message.hpp> #include <boost/config/pragma_message.hpp>
// //
// last known and checked version is 19.12.25830.2 (VC++ 2017.3): // last known and checked version is 19.20.27404 (VC++ 2019 RC):
#if (_MSC_VER > 1912) #if (_MSC_VER > 1920)
# 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)