diff --git a/include/boost/config/compiler/vacpp.hpp b/include/boost/config/compiler/vacpp.hpp index 01956d3a..36c8288f 100644 --- a/include/boost/config/compiler/vacpp.hpp +++ b/include/boost/config/compiler/vacpp.hpp @@ -30,6 +30,14 @@ # define BOOST_NO_INITIALIZER_LISTS #endif +#if (__IBMCPP__ <= 1010) +// XL C++ V10.1.0.0 may not always value-initialize a temporary object T(), +// when T is a non-POD aggregate class type. Michael Wong (IBM Canada Ltd) +// has confirmed this issue and gave it high priority. +// -- Niels Dekker (LKEB), 2010. +# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION +#endif + // // On AIX thread support seems to be indicated by _THREAD_SAFE: //