This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[c++] ping: __GXX_EXPERIMENTAL_CPP0X__ to __GXX_EXPERIMENTAL_CXX0X__


Ooops. Just noticed this is not in mainline.

From:
http://gcc.gnu.org/ml/libstdc++/2006-11/msg00083.html

tested x86/linux

-benjamin

Index: doc/cpp.texi
===================================================================
--- doc/cpp.texi	(revision 120344)
+++ doc/cpp.texi	(working copy)
@@ -2094,7 +2094,7 @@
 mechanism based on @code{setjmp} and @code{longjmp} for exception
 handling.
 
-@item __GXX_EXPERIMENTAL_CPP0X__
+@item __GXX_EXPERIMENTAL_CXX0X__
 This macro is defined when compiling a C++ source file with the option
 @option{-std=c++0x} or @option{-std=gnu++0x}. It indicates that some
 features likely to be included in C++0x are available. Note that these
Index: c-cppbuiltin.c
===================================================================
--- c-cppbuiltin.c	(revision 120344)
+++ c-cppbuiltin.c	(working copy)
@@ -1,5 +1,5 @@
 /* Define builtin-in macros for the C family front ends.
-   Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -410,7 +410,7 @@
       if (warn_deprecated)
 	cpp_define (pfile, "__DEPRECATED");
       if (flag_cpp0x)
-        cpp_define (pfile, "__GXX_EXPERIMENTAL_CPP0X__");
+        cpp_define (pfile, "__GXX_EXPERIMENTAL_CXX0X__");
     }
   /* Note that we define this for C as well, so that we know if
      __attribute__((cleanup)) will interface with EH.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]