|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61516 - trunk/boost/config/compiler
From: nielsdekker_at_[hidden]
Date: 2010-04-23 18:01:56
Author: niels_dekker
Date: 2010-04-23 18:01:56 EDT (Fri, 23 Apr 2010)
New Revision: 61516
URL: http://svn.boost.org/trac/boost/changeset/61516
Log:
Added BOOST_NO_COMPLETE_VALUE_INITIALIZATION to IBM XL C++ <= V10.1.0 (trunk), 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-04-23 18:01:56 EDT (Fri, 23 Apr 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