MSVC update that handled deprecation of <codecvt> and availability of <stop_token>.

See also https://github.com/boostorg/config/issues/391.
This commit is contained in:
jzmaddock
2021-08-17 17:32:09 +01:00
parent f1b2746fba
commit 88866861d2
154 changed files with 167 additions and 157 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Sat Mar 6 19:55:50 2021
// This file was automatically generated on Tue Aug 17 16:27:31 2021
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
+1 -4
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Sat Mar 6 19:55:50 2021
// This file was automatically generated on Tue Aug 17 16:27:31 2021
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
@@ -75,9 +75,6 @@
#ifdef BOOST_NO_CXX11_HDR_CHRONO
# error "Your compiler appears not to be fully C++11 compliant. Detected via defect macro BOOST_NO_CXX11_HDR_CHRONO."
#endif
#ifdef BOOST_NO_CXX11_HDR_CODECVT
# error "Your compiler appears not to be fully C++11 compliant. Detected via defect macro BOOST_NO_CXX11_HDR_CODECVT."
#endif
#ifdef BOOST_NO_CXX11_HDR_CONDITION_VARIABLE
# error "Your compiler appears not to be fully C++11 compliant. Detected via defect macro BOOST_NO_CXX11_HDR_CONDITION_VARIABLE."
#endif
+1 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Sat Mar 6 19:55:50 2021
// This file was automatically generated on Tue Aug 17 16:27:31 2021
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
+1 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Sat Mar 6 19:55:50 2021
// This file was automatically generated on Tue Aug 17 16:27:31 2021
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
+1 -1
View File
@@ -1,4 +1,4 @@
// This file was automatically generated on Sat Mar 6 19:55:50 2021
// This file was automatically generated on Tue Aug 17 16:27:31 2021
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
@@ -1,4 +1,4 @@
// This file was automatically generated on Sat Mar 6 19:55:50 2021
// This file was automatically generated on Tue Aug 17 16:27:31 2021
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
@@ -100,7 +100,6 @@
|| defined(BOOST_NO_CXX11_HDR_ARRAY)\
|| defined(BOOST_NO_CXX11_HDR_ATOMIC)\
|| defined(BOOST_NO_CXX11_HDR_CHRONO)\
|| defined(BOOST_NO_CXX11_HDR_CODECVT)\
|| defined(BOOST_NO_CXX11_HDR_CONDITION_VARIABLE)\
|| defined(BOOST_NO_CXX11_HDR_EXCEPTION)\
|| defined(BOOST_NO_CXX11_HDR_FORWARD_LIST)\
+12 -2
View File
@@ -204,10 +204,12 @@
# define BOOST_NO_CXX20_HDR_COROUTINE
# define BOOST_NO_CXX20_HDR_SEMAPHORE
#endif
#if !defined(_MSVC_STL_UPDATE) || (_MSVC_STL_UPDATE < 202011L) || !defined(_HAS_CXX20) || (_HAS_CXX20 == 0)
# define BOOST_NO_CXX20_HDR_STOP_TOKEN
#endif
// C++20 features not yet implemented:
# define BOOST_NO_CXX20_HDR_FORMAT
# define BOOST_NO_CXX20_HDR_SOURCE_LOCATION
# define BOOST_NO_CXX20_HDR_STOP_TOKEN
# define BOOST_NO_CXX20_HDR_SYNCSTREAM
// Incomplete:
# define BOOST_NO_CXX20_HDR_RANGES
@@ -232,7 +234,15 @@
// Bug specific to VC14,
// See https://connect.microsoft.com/VisualStudio/feedback/details/1348277/link-error-when-using-std-codecvt-utf8-utf16-char16-t
// and discussion here: http://blogs.msdn.com/b/vcblog/archive/2014/11/12/visual-studio-2015-preview-now-available.aspx?PageIndex=2
#if defined(_CPPLIB_VER) && (_CPPLIB_VER == 650)
#if defined(_CPPLIB_VER) && (_CPPLIB_VER == 650) && (!defined(_MSVC_STL_VERSION) || (_MSVC_STL_VERSION < 142))
# define BOOST_NO_CXX11_HDR_CODECVT
#endif
#if (_MSVC_LANG > 201700) && !defined(BOOST_NO_CXX11_HDR_CODECVT)
//
// <codecvt> is deprected as of C++17, and by default MSVC emits hard errors
// if you try to use it, so mark it as unavailable:
//
# define BOOST_NO_CXX11_HDR_CODECVT
#endif