Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52423 - in branches/release: . boost/config/compiler
From: daniel_james_at_[hidden]
Date: 2009-04-16 13:34:47


Author: danieljames
Date: 2009-04-16 13:34:46 EDT (Thu, 16 Apr 2009)
New Revision: 52423
URL: http://svn.boost.org/trac/boost/changeset/52423

Log:
Merged revisions 52381 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r52381 | danieljames | 2009-04-14 10:03:13 +0100 (Tue, 14 Apr 2009) | 1 line
  
  Fix variadic template detection for mainline gcc. Fixes #2943
........

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

Modified: branches/release/boost/config/compiler/gcc.hpp
==============================================================================
--- branches/release/boost/config/compiler/gcc.hpp (original)
+++ branches/release/boost/config/compiler/gcc.hpp 2009-04-16 13:34:46 EDT (Thu, 16 Apr 2009)
@@ -125,10 +125,19 @@
 # define BOOST_HAS_DECLTYPE
 # define BOOST_HAS_RVALUE_REFS
 # define BOOST_HAS_STATIC_ASSERT
+# define BOOST_HAS_VARIADIC_TMPL
 #else
 # define BOOST_NO_DECLTYPE
 # define BOOST_NO_RVALUE_REFERENCES
 # define BOOST_NO_STATIC_ASSERT
+
+// Variadic templates compiler:
+// http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html
+# ifdef __VARIADIC_TEMPLATES
+# define BOOST_HAS_VARIADIC_TMPL
+# else
+# define BOOST_NO_VARIADIC_TEMPLATES
+# endif
 #endif
 
 #if !defined(__GXX_EXPERIMENTAL_CXX0X__) || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)
@@ -136,14 +145,6 @@
 # define BOOST_NO_AUTO_DECLARATIONS
 #endif
 
-// Variadic templates compiler:
-// http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html
-#ifdef __VARIADIC_TEMPLATES
-# define BOOST_HAS_VARIADIC_TMPL
-#else
-# define BOOST_NO_VARIADIC_TEMPLATES
-#endif
-
 // ConceptGCC compiler:
 // http://www.generic-programming.org/software/ConceptGCC/
 #ifdef __GXX_CONCEPTS__


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