|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61652 - trunk/boost/config/compiler
From: nielsdekker_at_[hidden]
Date: 2010-04-28 13:54:04
Author: niels_dekker
Date: 2010-04-28 13:54:03 EDT (Wed, 28 Apr 2010)
New Revision: 61652
URL: http://svn.boost.org/trac/boost/changeset/61652
Log:
Added BOOST_NO_COMPLETE_VALUE_INITIALIZATION to Borland (trunk), see #4080
Text files modified:
trunk/boost/config/compiler/borland.hpp | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
Modified: trunk/boost/config/compiler/borland.hpp
==============================================================================
--- trunk/boost/config/compiler/borland.hpp (original)
+++ trunk/boost/config/compiler/borland.hpp 2010-04-28 13:54:03 EDT (Wed, 28 Apr 2010)
@@ -261,6 +261,13 @@
# define BOOST_NO_VOID_RETURNS
#endif
+// Borland did not implement value-initialization completely, as I reported
+// in 2007, Borland Report 51854, "Value-initialization: POD struct should be
+// zero-initialized", http://qc.embarcadero.com/wc/qcmain.aspx?rc=51854
+// See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues
+// (Niels Dekker, LKEB, April 2010)
+#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
+
#define BOOST_COMPILER "Borland C++ version " BOOST_STRINGIZE(__BORLANDC__)
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