From 1061e15f3e4a2d096188d48cbfa36eb65ab2c84d Mon Sep 17 00:00:00 2001 From: Niels Dekker Date: Fri, 14 May 2010 21:51:14 +0000 Subject: [PATCH] Added BOOST_NO_COMPLETE_VALUE_INITIALIZATION to clang (trunk), see #4080. [SVN r61971] --- include/boost/config/compiler/clang.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/config/compiler/clang.hpp b/include/boost/config/compiler/clang.hpp index cdbba676..c37ad622 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -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