Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48948 - branches/initializer-list/boost/config/compiler
From: daniel_james_at_[hidden]
Date: 2008-09-24 15:02:35


Author: danieljames
Date: 2008-09-24 15:02:34 EDT (Wed, 24 Sep 2008)
New Revision: 48948
URL: http://svn.boost.org/trac/boost/changeset/48948

Log:
Add the BOOST_NO_INITIALIZER_LISTS configuration to the compiler configuration files. Regs #2332

Text files modified:
   branches/initializer-list/boost/config/compiler/borland.hpp | 2 ++
   branches/initializer-list/boost/config/compiler/common_edg.hpp | 5 +++++
   branches/initializer-list/boost/config/compiler/digitalmars.hpp | 1 +
   branches/initializer-list/boost/config/compiler/gcc.hpp | 4 ++++
   branches/initializer-list/boost/config/compiler/metrowerks.hpp | 1 +
   branches/initializer-list/boost/config/compiler/mpw.hpp | 2 ++
   branches/initializer-list/boost/config/compiler/pgi.hpp | 1 +
   branches/initializer-list/boost/config/compiler/sgi_mipspro.hpp | 2 ++
   branches/initializer-list/boost/config/compiler/sunpro_cc.hpp | 1 +
   branches/initializer-list/boost/config/compiler/vacpp.hpp | 1 +
   branches/initializer-list/boost/config/compiler/visualc.hpp | 4 ++++
   11 files changed, 24 insertions(+), 0 deletions(-)

Modified: branches/initializer-list/boost/config/compiler/borland.hpp
==============================================================================
--- branches/initializer-list/boost/config/compiler/borland.hpp (original)
+++ branches/initializer-list/boost/config/compiler/borland.hpp 2008-09-24 15:02:34 EDT (Wed, 24 Sep 2008)
@@ -156,6 +156,8 @@
 # define BOOST_HAS_STATIC_ASSERT
 //# define BOOST_HAS_VARIADIC_TMPL
 # #endif //__BORLANDC__ >= 0x610
+#else
+# define BOOST_NO_INITIALIZER_LISTS
 #endif
 
 #if __BORLANDC__ >= 0x590

Modified: branches/initializer-list/boost/config/compiler/common_edg.hpp
==============================================================================
--- branches/initializer-list/boost/config/compiler/common_edg.hpp (original)
+++ branches/initializer-list/boost/config/compiler/common_edg.hpp 2008-09-24 15:02:34 EDT (Wed, 24 Sep 2008)
@@ -43,6 +43,11 @@
 # define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
 #endif
 
+#if (__EDG_VERSION__ <= 310) || !defined(BOOST_STRICT_CONFIG)
+// No support for initializer lists
+# define BOOST_NO_INITIALIZER_LISTS
+#endif
+
 // See also kai.hpp which checks a Kai-specific symbol for EH
 # if !defined(__KCC) && !defined(__EXCEPTIONS)
 # define BOOST_NO_EXCEPTIONS

Modified: branches/initializer-list/boost/config/compiler/digitalmars.hpp
==============================================================================
--- branches/initializer-list/boost/config/compiler/digitalmars.hpp (original)
+++ branches/initializer-list/boost/config/compiler/digitalmars.hpp 2008-09-24 15:02:34 EDT (Wed, 24 Sep 2008)
@@ -26,6 +26,7 @@
 #define BOOST_NO_SFINAE
 #define BOOST_NO_USING_TEMPLATE
 #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
+#define BOOST_NO_INITIALIZER_LISTS
 #endif
 
 //

Modified: branches/initializer-list/boost/config/compiler/gcc.hpp
==============================================================================
--- branches/initializer-list/boost/config/compiler/gcc.hpp (original)
+++ branches/initializer-list/boost/config/compiler/gcc.hpp 2008-09-24 15:02:34 EDT (Wed, 24 Sep 2008)
@@ -116,6 +116,10 @@
 # endif
 #endif
 
+#if !defined(__GXX_EXPERIMENTAL_CXX0X__) || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)
+# define BOOST_NO_INITIALIZER_LISTS
+#endif
+
 //
 // Potential C++0x features
 //

Modified: branches/initializer-list/boost/config/compiler/metrowerks.hpp
==============================================================================
--- branches/initializer-list/boost/config/compiler/metrowerks.hpp (original)
+++ branches/initializer-list/boost/config/compiler/metrowerks.hpp 2008-09-24 15:02:34 EDT (Wed, 24 Sep 2008)
@@ -42,6 +42,7 @@
 # if(__MWERKS__ <= 0x3206) || !defined(BOOST_STRICT_CONFIG) // 9.5
 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
 # define BOOST_NO_IS_ABSTRACT
+# define BOOST_NO_INITIALIZER_LISTS
 # endif
 
 #if !__option(wchar_type)

Modified: branches/initializer-list/boost/config/compiler/mpw.hpp
==============================================================================
--- branches/initializer-list/boost/config/compiler/mpw.hpp (original)
+++ branches/initializer-list/boost/config/compiler/mpw.hpp 2008-09-24 15:02:34 EDT (Wed, 24 Sep 2008)
@@ -32,6 +32,8 @@
 # define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
 
 # define BOOST_NO_STD_ALLOCATOR /* actually a bug with const reference overloading */
+
+# define BOOST_NO_INITIALIZER_LISTS
 #endif
 
 //

Modified: branches/initializer-list/boost/config/compiler/pgi.hpp
==============================================================================
--- branches/initializer-list/boost/config/compiler/pgi.hpp (original)
+++ branches/initializer-list/boost/config/compiler/pgi.hpp 2008-09-24 15:02:34 EDT (Wed, 24 Sep 2008)
@@ -21,6 +21,7 @@
 #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
 #define BOOST_NO_SWPRINTF
+#define BOOST_NO_INITIALIZER_LISTS
 
 #else
 

Modified: branches/initializer-list/boost/config/compiler/sgi_mipspro.hpp
==============================================================================
--- branches/initializer-list/boost/config/compiler/sgi_mipspro.hpp (original)
+++ branches/initializer-list/boost/config/compiler/sgi_mipspro.hpp 2008-09-24 15:02:34 EDT (Wed, 24 Sep 2008)
@@ -21,6 +21,8 @@
 
 #undef BOOST_NO_SWPRINTF
 #undef BOOST_DEDUCED_TYPENAME
+
+#define BOOST_NO_INITIALIZER_LISTS
 //
 // version check:
 // probably nothing to do here?

Modified: branches/initializer-list/boost/config/compiler/sunpro_cc.hpp
==============================================================================
--- branches/initializer-list/boost/config/compiler/sunpro_cc.hpp (original)
+++ branches/initializer-list/boost/config/compiler/sunpro_cc.hpp 2008-09-24 15:02:34 EDT (Wed, 24 Sep 2008)
@@ -74,6 +74,7 @@
 //
 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
 #define BOOST_NO_ADL_BARRIER
+#define BOOST_NO_INITIALIZER_LISTS
 
 
 #define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)

Modified: branches/initializer-list/boost/config/compiler/vacpp.hpp
==============================================================================
--- branches/initializer-list/boost/config/compiler/vacpp.hpp (original)
+++ branches/initializer-list/boost/config/compiler/vacpp.hpp 2008-09-24 15:02:34 EDT (Wed, 24 Sep 2008)
@@ -27,6 +27,7 @@
 
 #if (__IBMCPP__ <= 600) || !defined(BOOST_STRICT_CONFIG)
 # define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS
+# define BOOST_NO_INITIALIZER_LISTS
 #endif
 
 //

Modified: branches/initializer-list/boost/config/compiler/visualc.hpp
==============================================================================
--- branches/initializer-list/boost/config/compiler/visualc.hpp (original)
+++ branches/initializer-list/boost/config/compiler/visualc.hpp 2008-09-24 15:02:34 EDT (Wed, 24 Sep 2008)
@@ -88,6 +88,10 @@
 # define BOOST_NO_ADL_BARRIER
 #endif
 
+#if _MSC_VER <= 1500 || !defined(BOOST_STRICT_CONFIG) // 1500 == VC++ 9.0
+# define BOOST_NO_INITIALIZER_LISTS
+#endif
+
 #ifndef _NATIVE_WCHAR_T_DEFINED
 # define BOOST_NO_INTRINSIC_WCHAR_T
 #endif


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