From 888fd57252d999b98906eff9ae4b4efac9d7bf1f Mon Sep 17 00:00:00 2001 From: Niels Dekker Date: Fri, 7 May 2010 20:05:46 +0000 Subject: [PATCH] Added BOOST_NO_COMPLETE_VALUE_INITIALIZATION to IBM XL C++ <= V11.0.1 (trunk), see #4080. [SVN r61848] --- include/boost/config/compiler/vacpp.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/config/compiler/vacpp.hpp b/include/boost/config/compiler/vacpp.hpp index 36c8288f..55b6a7cd 100644 --- a/include/boost/config/compiler/vacpp.hpp +++ b/include/boost/config/compiler/vacpp.hpp @@ -30,11 +30,11 @@ # 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. +#if (__IBMCPP__ <= 1101) +// XL C++ V11.0.1.0 and earlier versions 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), May 2010. # define BOOST_NO_COMPLETE_VALUE_INITIALIZATION #endif