[Boost-bugs] [Boost C++ Libraries] #1491: value_initialized leaves data uninitialized, when using GCC

Subject: [Boost-bugs] [Boost C++ Libraries] #1491: value_initialized leaves data uninitialized, when using GCC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-01 13:26:58


#1491: value_initialized leaves data uninitialized, when using GCC
------------------------------+---------------------------------------------
 Reporter: niels_dekker | Owner: niels_dekker
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.34.1 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 The data of an instance of boost::value_initialized<T> may not be
 initialized properly, when using GCC. Therefore some tests recently added
 to
 [http://svn.boost.org/trac/boost/browser/trunk/libs/utility/value_init_test.cpp
 trunk/libs/utility/value_init_test.cpp] are expected to fail on GCC test
 platforms. This is caused by some GCC compiler issues:

 GCC Bugzilla Bug 30111
 [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30111 Value-initialization of
 POD base class doesn't initialize members], reported by Jonathan Wakely

 GCC Bugzilla Bug 33916
 [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33916 Default constructor
 fails to initialize array members], reported by Michael Elizabeth Chastain

 Fernando Cacciola and I have already discussed this issue. I hope to have
 a workaround within a few weeks... Hopefully this workaround will be the
 same for GCC, Borland and MSVC. See also Ticket #1459 and #1217.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1491>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC