|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61971 - trunk/boost/config/compiler
From: nielsdekker_at_[hidden]
Date: 2010-05-14 17:51:15
Author: niels_dekker
Date: 2010-05-14 17:51:14 EDT (Fri, 14 May 2010)
New Revision: 61971
URL: http://svn.boost.org/trac/boost/changeset/61971
Log:
Added BOOST_NO_COMPLETE_VALUE_INITIALIZATION to clang (trunk), see #4080.
Text files modified:
trunk/boost/config/compiler/clang.hpp | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
Modified: trunk/boost/config/compiler/clang.hpp
==============================================================================
--- trunk/boost/config/compiler/clang.hpp (original)
+++ trunk/boost/config/compiler/clang.hpp 2010-05-14 17:51:14 EDT (Fri, 14 May 2010)
@@ -59,6 +59,13 @@
// them is wrong.
#define BOOST_NO_EXTERN_TEMPLATE
+// Clang version 2.0 (trunk 103769) does not yet properly
+// value-initialize objects of a pointer-to-member type,
+// as was reported by Christopher Jefferson in May 2010, Bug 7139,
+// "ptr to member not zeroed", http://llvm.org/bugs/show_bug.cgi?id=7139
+// (Niels Dekker, LKEB, May 2010)
+#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
+
#ifndef BOOST_COMPILER
# define BOOST_COMPILER "Clang version " __clang_version__
#endif
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