Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53685 - in branches/release: . boost/config
From: daniel_james_at_[hidden]
Date: 2009-06-06 09:48:57


Author: danieljames
Date: 2009-06-06 09:48:57 EDT (Sat, 06 Jun 2009)
New Revision: 53685
URL: http://svn.boost.org/trac/boost/changeset/53685

Log:
Fix BOOST_NO_INITIALIZER_LISTS when the compiler supports them, but the standard library doesn't.

Merged revisions 53524,53526 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r53524 | danieljames | 2009-06-01 07:50:25 +0100 (Mon, 01 Jun 2009) | 1 line
  
  Define BOOST_NO_INITIALIZER_LISTS if library support isn't available.
........
  r53526 | danieljames | 2009-06-01 07:52:36 +0100 (Mon, 01 Jun 2009) | 1 line
  
  Fix typo.
........

Properties modified:
   branches/release/ (props changed)
Text files modified:
   branches/release/boost/config/suffix.hpp | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: branches/release/boost/config/suffix.hpp
==============================================================================
--- branches/release/boost/config/suffix.hpp (original)
+++ branches/release/boost/config/suffix.hpp 2009-06-06 09:48:57 EDT (Sat, 06 Jun 2009)
@@ -306,6 +306,14 @@
 # define BOOST_HASH_MAP_HEADER <hash_map>
 #endif
 
+//
+// Set BOOST_NO_INITIALIZER_LISTS if there is no library support.
+//
+
+#if defined(BOOST_NO_0X_HDR_INITIALIZER_LIST) && !defined(BOOST_NO_INITIALIZER_LISTS)
+# define BOOST_NO_INITIALIZER_LISTS
+#endif
+
 // BOOST_HAS_ABI_HEADERS
 // This macro gets set if we have headers that fix the ABI,
 // and prevent ODR violations when linking to external libraries:


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