|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63249 - trunk/boost/config/compiler
From: nielsdekker_at_[hidden]
Date: 2010-06-22 17:49:45
Author: niels_dekker
Date: 2010-06-22 17:49:44 EDT (Tue, 22 Jun 2010)
New Revision: 63249
URL: http://svn.boost.org/trac/boost/changeset/63249
Log:
Removed BOOST_NO_COMPLETE_VALUE_INITIALIZATION from Apple build of GCC (trunk), based on test results and feedback from Chris Jefferson. see #4080.
Text files modified:
trunk/boost/config/compiler/gcc.hpp | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
Modified: trunk/boost/config/compiler/gcc.hpp
==============================================================================
--- trunk/boost/config/compiler/gcc.hpp (original)
+++ trunk/boost/config/compiler/gcc.hpp 2010-06-22 17:49:44 EDT (Tue, 22 Jun 2010)
@@ -80,7 +80,12 @@
// reported by Michael Elizabeth Chastain in 2007,
// http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33916 (fixed for GCC 4.2.4)
// See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues
-#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
+// Note that these issues also appear to be fixed in Apple's g++, according to
+// test results from the minion-clang/darwin-4.2.1 toolset, GNU 4.2.1 Apple
+// build 5659, ran by Christopher Jefferson. (Niels Dekker, LKEB, June 2010.)
+# if !defined(__APPLE_CC__) || (__APPLE_CC__ < 5659)
+# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
+# endif
#endif
#if !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS)
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