Update of /cvsroot/boost/boost/boost/config/compiler
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17279

Modified Files:
        gcc.hpp 
Log Message:
Fix compiler information for C++0x

Index: gcc.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/config/compiler/gcc.hpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- gcc.hpp     8 May 2007 19:56:40 -0000       1.32
+++ gcc.hpp     9 Jul 2007 14:14:38 -0000       1.33
@@ -88,14 +88,11 @@
 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2)
 // C++0x features are only enabled when -std=c++0x or -std=gnu++0x are
 // passed on the command line, which in turn defines
-// __GXX_EXPERIMENTAL_CXX0X__. Note: __GXX_EXPERIMENTAL_CPP0X__ is
-// defined by some very early development versions of GCC 4.3; we will
-// remove this part of the check in the near future.
-#  if defined(__GXX_EXPERIMENTAL_CPP0X__) || 
defined(__GXX_EXPERIMENTAL_CXX0X__)
+// __GXX_EXPERIMENTAL_CXX0X__. 
+#  if defined(__GXX_EXPERIMENTAL_CXX0X__)
 #    define BOOST_HAS_STATIC_ASSERT
-#    ifndef __STRICT_ANSI__
-#      define BOOST_HAS_VARIADIC_TMPL
-#    endif
+#    define BOOST_HAS_VARIADIC_TMPL
+#    define BOOST_HAS_RVALUE_REFS
 #  endif
 #endif
 
@@ -109,16 +106,10 @@
 #  define BOOST_HAS_VARIADIC_TMPL
 #endif
 
-// Rvalue reference support
-#ifdef __RVALUE_REFS
-#  define BOOST_HAS_RVALUE_REFS
-#endif
-
 // ConceptGCC compiler:
 //   http://www.generic-programming.org/software/ConceptGCC/
 #ifdef __GXX_CONCEPTS__
 #  define BOOST_HAS_CONCEPTS
-#  define BOOST_HAS_RVALUE_REFS
 #  define BOOST_COMPILER "ConceptGCC version " __VERSION__
 #endif
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to