From 8f9f27336cb59454530d8f2d85761c6e825146f9 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sat, 3 Dec 2016 18:09:18 +0000 Subject: [PATCH] Merge branch 'develop' # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit. --- checks/Jamfile.v2 | 2 +- checks/architecture/.gitignore | 1 + include/boost/config/compiler/sunpro_cc.hpp | 2 +- include/boost/config/compiler/visualc.hpp | 19 +++++++++---------- include/boost/config/stdlib/libcpp.hpp | 5 ++++- 5 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 checks/architecture/.gitignore diff --git a/checks/Jamfile.v2 b/checks/Jamfile.v2 index 1b5e2fd9..fc74ed39 100644 --- a/checks/Jamfile.v2 +++ b/checks/Jamfile.v2 @@ -9,7 +9,7 @@ import modules ; import path ; - +import testing ; rule run-simple ( requirements * : target-name ) { diff --git a/checks/architecture/.gitignore b/checks/architecture/.gitignore new file mode 100644 index 00000000..ba077a40 --- /dev/null +++ b/checks/architecture/.gitignore @@ -0,0 +1 @@ +bin diff --git a/include/boost/config/compiler/sunpro_cc.hpp b/include/boost/config/compiler/sunpro_cc.hpp index 8f07e0e9..ac259fce 100644 --- a/include/boost/config/compiler/sunpro_cc.hpp +++ b/include/boost/config/compiler/sunpro_cc.hpp @@ -152,7 +152,7 @@ #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304) # define BOOST_NO_CXX14_CONSTEXPR #endif -#if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304) +#if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304) || (__cplusplus < 201402L) # define BOOST_NO_CXX14_DECLTYPE_AUTO #endif #if (__cplusplus < 201304) // There's no SD6 check for this.... diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index 72caff49..cdbc9b67 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -190,6 +190,13 @@ # define BOOST_NO_CXX11_CONSTEXPR #endif +// C++14 features supported by VC++ 15 Preview 5 +// +#if (_MSC_VER < 1910) +# define BOOST_NO_CXX14_AGGREGATE_NSDMI +# define BOOST_NO_CXX14_CONSTEXPR +#endif + // MSVC including version 14 has not yet completely // implemented value-initialization, as is reported: // "VC++ does not value-initialize members of derived classes without @@ -210,14 +217,6 @@ // C++ 11: // #define BOOST_NO_TWO_PHASE_NAME_LOOKUP -// -// C++ 14: -#if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304) -# define BOOST_NO_CXX14_AGGREGATE_NSDMI -#endif -#if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304) -# define BOOST_NO_CXX14_CONSTEXPR -#endif // // prefix and suffix headers: @@ -294,8 +293,8 @@ #endif // -// last known and checked version is 19.00.23026 (VC++ 2015 RTM): -#if (_MSC_VER > 1900) +// last known and checked version is 19.10.24629 (VC++ 2017 RC): +#if (_MSC_VER > 1910) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" # else diff --git a/include/boost/config/stdlib/libcpp.hpp b/include/boost/config/stdlib/libcpp.hpp index 96cf57c3..21eafe89 100644 --- a/include/boost/config/stdlib/libcpp.hpp +++ b/include/boost/config/stdlib/libcpp.hpp @@ -73,8 +73,11 @@ #if _LIBCPP_VERSION < 3700 // libc++ uses a non-standard messages_base #define BOOST_NO_STD_MESSAGES +#endif + // C++17 features -#define BOOST_NO_CXX17_STD_INVOKE +#if (_LIBCPP_VERSION < 3700) || (__cplusplus <= 201402L) +# define BOOST_NO_CXX17_STD_INVOKE #endif #if (_LIBCPP_VERSION <= 1101) && !defined(BOOST_NO_CXX11_THREAD_LOCAL)