Added BOOST_NO_COMPLETE_VALUE_INITIALIZATION to IBM XL C++ <= V10.1.0 (trunk), see #4080.

[SVN r61516]
This commit is contained in:
Niels Dekker
2010-04-23 22:01:56 +00:00
parent 99e762c031
commit 5230022c0e

View File

@ -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:
//