Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58708 - trunk/boost/spirit/home/support/auto
From: hartmut.kaiser_at_[hidden]
Date: 2010-01-05 11:47:03


Author: hkaiser
Date: 2010-01-05 11:47:03 EST (Tue, 05 Jan 2010)
New Revision: 58708
URL: http://svn.boost.org/trac/boost/changeset/58708

Log:
Spirit: extended workaround for auto_ facilities to gcc 4.2
Text files modified:
   trunk/boost/spirit/home/support/auto/meta_create.hpp | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/boost/spirit/home/support/auto/meta_create.hpp
==============================================================================
--- trunk/boost/spirit/home/support/auto/meta_create.hpp (original)
+++ trunk/boost/spirit/home/support/auto/meta_create.hpp 2010-01-05 11:47:03 EST (Tue, 05 Jan 2010)
@@ -22,7 +22,7 @@
 #include <boost/fusion/include/fold.hpp>
 
 // needed for workaround below
-#if defined(__GNUC__) && ((__GNUC__ < 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ < 1))
+#if defined(__GNUC__) && ((__GNUC__ < 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ < 3))
 #include <boost/type_traits/is_same.hpp>
 #endif
 
@@ -64,9 +64,9 @@
             template <typename T>
             struct result;
 
-// this is a workaround for older versions of g++ (< V4.2) which apparently have
+// this is a workaround for older versions of g++ (< V4.3) which apparently have
 // problems with the following template specialization
-#if defined(__GNUC__) && ((__GNUC__ < 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ < 2))
+#if defined(__GNUC__) && ((__GNUC__ < 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ < 3))
             template <typename F, typename T1, typename T2>
             struct result<F(T1, T2)>
             {
@@ -113,9 +113,9 @@
             template <typename T>
             struct result;
 
-// this is a workaround for older versions of g++ (< V4.2) which apparently have
+// this is a workaround for older versions of g++ (< V4.3) which apparently have
 // problems with the following template specialization
-#if defined(__GNUC__) && ((__GNUC__ < 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ < 2))
+#if defined(__GNUC__) && ((__GNUC__ < 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ < 3))
             template <typename F, typename T1, typename T2>
             struct result<F(T1, T2)>
             {


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