Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85722 - in trunk/boost/config: compiler stdlib
From: bdawes_at_[hidden]
Date: 2013-09-17 08:24:37


Author: bemandawes
Date: 2013-09-17 08:24:36 EDT (Tue, 17 Sep 2013)
New Revision: 85722
URL: http://svn.boost.org/trac/boost/changeset/85722

Log:
Update Microsoft compiler and Dinkumware library support up for the 2013 RC release. Remove support for the November 2012 CTP. Anyone using that release or the June 2013 Preview release for Boost development should upgrade to the 2013 RC release. See http://msdn.microsoft.com/en-us/library/vstudio/hh409293%28v=vs.120%29.aspx for details.

Text files modified:
   trunk/boost/config/compiler/visualc.hpp | 27 +++++++++++++--------------
   trunk/boost/config/stdlib/dinkumware.hpp | 8 +++++---
   2 files changed, 18 insertions(+), 17 deletions(-)

Modified: trunk/boost/config/compiler/visualc.hpp
==============================================================================
--- trunk/boost/config/compiler/visualc.hpp Tue Sep 17 06:10:46 2013 (r85721)
+++ trunk/boost/config/compiler/visualc.hpp 2013-09-17 08:24:36 EDT (Tue, 17 Sep 2013) (r85722)
@@ -43,8 +43,9 @@
 # error "Compiler not supported or configured - please reconfigure"
 #endif
 
-/// Visual Studio has no fenv.h
-#define BOOST_NO_FENV_H
+#if _MSC_VER < 1800
+# define BOOST_NO_FENV_H
+#endif
 
 #if _MSC_VER < 1400
 // although a conforming signature for swprint exists in VC7.1
@@ -160,24 +161,25 @@
 # define BOOST_HAS_STDINT_H
 #endif
 
-// C++ features supported by VC++ 11 (aka 2012)
+// C++11 features supported by VC++ 11 (aka 2012)
 //
 #if _MSC_VER < 1700
 # define BOOST_NO_CXX11_RANGE_BASED_FOR
 # define BOOST_NO_CXX11_SCOPED_ENUMS
 #endif // _MSC_VER < 1700
 
-// C++11 features supported by VC++ 11 (aka 2012) November 2012 CTP
-// Because the CTP is unsupported, unrelease, and only alpha quality,
-// it is only supported if BOOST_MSVC_ENABLE_2012_NOV_CTP is defined.
+// C++11 features supported by VC++ 12 (aka 2013).
 //
-#if _MSC_FULL_VER < 170051025 || !defined(BOOST_MSVC_ENABLE_2012_NOV_CTP)
+#if _MSC_VER < 1800
+# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
+# define BOOST_NO_CXX11_DELETED_FUNCTIONS
 # define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
 # define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
 # define BOOST_NO_CXX11_RAW_LITERALS
-# define BOOST_NO_CXX11_VARIADIC_TEMPLATES
-# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
+# define BOOST_NO_CXX11_TEMPLATE_ALIASES
 # define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
+# define BOOST_NO_CXX11_VARIADIC_TEMPLATES
 #endif
 
 // C++11 features not supported by any versions
@@ -185,10 +187,7 @@
 #define BOOST_NO_CXX11_CHAR32_T
 #define BOOST_NO_CXX11_CONSTEXPR
 #define BOOST_NO_CXX11_DECLTYPE_N3276
-#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
-#define BOOST_NO_CXX11_DELETED_FUNCTIONS
 #define BOOST_NO_CXX11_NOEXCEPT
-#define BOOST_NO_CXX11_TEMPLATE_ALIASES
 #define BOOST_NO_CXX11_UNICODE_LITERALS
 #define BOOST_NO_SFINAE_EXPR
 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
@@ -265,8 +264,8 @@
 #endif
 
 //
-// last known and checked version is 1800.20617 (VC12 Preview, aka 2013 Preview):
-#if (_MSC_VER > 1800 && _MSC_FULL_VER > 180020617)
+// last known and checked version is 18.00.20827.3 (VC12 RC, aka 2013 RC):
+#if (_MSC_VER > 1800 && _MSC_FULL_VER > 180020827)
 # if defined(BOOST_ASSERT_CONFIG)
 # error "Unknown compiler version - please run the configure tests and report the results"
 # else

Modified: trunk/boost/config/stdlib/dinkumware.hpp
==============================================================================
--- trunk/boost/config/stdlib/dinkumware.hpp Tue Sep 17 06:10:46 2013 (r85721)
+++ trunk/boost/config/stdlib/dinkumware.hpp 2013-09-17 08:24:36 EDT (Tue, 17 Sep 2013) (r85722)
@@ -110,7 +110,8 @@
 # define BOOST_NO_CXX11_SMART_PTR
 #endif
 
-#if (!defined(_HAS_TR1_IMPORTS) || (_HAS_TR1_IMPORTS+0 == 0)) && !defined(BOOST_NO_CXX11_HDR_TUPLE)
+#if ((!defined(_HAS_TR1_IMPORTS) || (_HAS_TR1_IMPORTS+0 == 0)) && !defined(BOOST_NO_CXX11_HDR_TUPLE)) \
+ && (!defined(_CPPLIB_VER) || _CPPLIB_VER < 610)
 # define BOOST_NO_CXX11_HDR_TUPLE
 #endif
 
@@ -128,10 +129,11 @@
 # define BOOST_NO_CXX11_ATOMIC_SMART_PTR
 #endif
 
+// C++0x headers implemented in 610 (as shipped by Microsoft)
 //
-// C++0x headers not yet (fully) implemented:
-//
+#if !defined(_CPPLIB_VER) || _CPPLIB_VER < 610
 # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
+#endif
 
 #ifdef _CPPLIB_VER
 # define BOOST_DINKUMWARE_STDLIB _CPPLIB_VER


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk