Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61744 - trunk/boost/config/compiler
From: nielsdekker_at_[hidden]
Date: 2010-05-03 13:43:56


Author: niels_dekker
Date: 2010-05-03 13:43:56 EDT (Mon, 03 May 2010)
New Revision: 61744
URL: http://svn.boost.org/trac/boost/changeset/61744

Log:
Added BOOST_NO_COMPLETE_VALUE_INITIALIZATION to Sun <= 5.10 (trunk), see #4080
Text files modified:
   trunk/boost/config/compiler/sunpro_cc.hpp | 10 ++++++++++
   1 files changed, 10 insertions(+), 0 deletions(-)

Modified: trunk/boost/config/compiler/sunpro_cc.hpp
==============================================================================
--- trunk/boost/config/compiler/sunpro_cc.hpp (original)
+++ trunk/boost/config/compiler/sunpro_cc.hpp 2010-05-03 13:43:56 EDT (Mon, 03 May 2010)
@@ -69,6 +69,16 @@
 # define BOOST_NO_IS_ABSTRACT
 # endif
 
+# if (__SUNPRO_CC <= 0x5100)
+ // Sun 5.10 may not correctly value-initialize objects of
+ // some user defined types, as was reported in April 2010
+ // (CR 6947016), and confirmed by Steve Clamage.
+ // (Niels Dekker, LKEB, May 2010).
+# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
+# endif
+
+
+
 //
 // Issues that effect all known versions:
 //


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