Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61725 - trunk/boost/config/compiler
From: nielsdekker_at_[hidden]
Date: 2010-05-01 18:28:25


Author: niels_dekker
Date: 2010-05-01 18:28:24 EDT (Sat, 01 May 2010)
New Revision: 61725
URL: http://svn.boost.org/trac/boost/changeset/61725

Log:
Redid adding BOOST_NO_COMPLETE_VALUE_INITIALIZATION to IBM XL C++ <= V10.1.0 (trunk), as [61516]. The addition of heap objects to boost_no_complete_value_initialization::test() [61552] did not cause any extra failures. See #4080.
Text files modified:
   trunk/boost/config/compiler/vacpp.hpp | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: trunk/boost/config/compiler/vacpp.hpp
==============================================================================
--- trunk/boost/config/compiler/vacpp.hpp (original)
+++ trunk/boost/config/compiler/vacpp.hpp 2010-05-01 18:28:24 EDT (Sat, 01 May 2010)
@@ -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:
 //


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