Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62069 - trunk/boost/config/compiler
From: nielsdekker_at_[hidden]
Date: 2010-05-17 12:24:59


Author: niels_dekker
Date: 2010-05-17 12:24:58 EDT (Mon, 17 May 2010)
New Revision: 62069
URL: http://svn.boost.org/trac/boost/changeset/62069

Log:
Added BOOST_NO_COMPLETE_VALUE_INITIALIZATION only to MSVC < 10, in order to check how MSVC 10 is doing.
Text files modified:
   trunk/boost/config/compiler/visualc.hpp | 7 +++++++
   1 files changed, 7 insertions(+), 0 deletions(-)

Modified: trunk/boost/config/compiler/visualc.hpp
==============================================================================
--- trunk/boost/config/compiler/visualc.hpp (original)
+++ trunk/boost/config/compiler/visualc.hpp 2010-05-17 12:24:58 EDT (Mon, 17 May 2010)
@@ -100,6 +100,12 @@
 # define BOOST_NO_ADL_BARRIER
 #endif
 
+
+// TODO The following condition should probably be #if (_MSC_VER <= 1600).
+// However, I need to have a look at the regression page beforehand:
+// http://www.boost.org/development/tests/trunk/developer/config.html
+// (Niels Dekker, LKEB, May 17, 2010)
+#if (_MSC_VER < 1600)
 // MSVC has not yet completely implemented value-initialization, as
 // is reported:
 // "VC++ does not value-initialize members of derived classes without
@@ -111,6 +117,7 @@
 // See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues
 // (Niels Dekker, LKEB, May 2010)
 #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
+#endif
 
 #if _MSC_VER <= 1500 || !defined(BOOST_STRICT_CONFIG) // 1500 == VC++ 9.0
 # define BOOST_NO_INITIALIZER_LISTS


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