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