diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2007-01-05 21:24:16 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2007-01-05 21:24:16 +0000 |
commit | c573f4d5c6b1ac612911b8b5e77531a233d1cca1 (patch) | |
tree | 3fd1161c2d987c111b138af8e11e84d4a2d284ea | |
parent | 0f0707d106cdfe2904928adfdbd7faa6b369008c (diff) | |
download | gcc-c573f4d5c6b1ac612911b8b5e77531a233d1cca1.zip gcc-c573f4d5c6b1ac612911b8b5e77531a233d1cca1.tar.gz gcc-c573f4d5c6b1ac612911b8b5e77531a233d1cca1.tar.bz2 |
c-cppbuiltin.c (c_cpp_builtins): __GXX_EXPERIMENTAL_CPP0X__ to __GXX_EXPERIMENTAL_CXX0X__.
2007-01-05 Benjamin Kosnik <bkoz@redhat.com>
* c-cppbuiltin.c (c_cpp_builtins): __GXX_EXPERIMENTAL_CPP0X__ to
__GXX_EXPERIMENTAL_CXX0X__.
* doc/cpp.texi: Same.
From-SVN: r120502
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/c-cppbuiltin.c | 4 | ||||
-rw-r--r-- | gcc/doc/cpp.texi | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 45de0c4..f80eeb7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-01-05 Benjamin Kosnik <bkoz@redhat.com> + + * c-cppbuiltin.c (c_cpp_builtins): __GXX_EXPERIMENTAL_CPP0X__ to + __GXX_EXPERIMENTAL_CXX0X__. + * doc/cpp.texi: Same. + 2007-01-05 Richard Guenther <rguenther@suse.de> PR middle-end/27826 diff --git a/gcc/c-cppbuiltin.c b/gcc/c-cppbuiltin.c index dc0c343..4eca2d4 100644 --- a/gcc/c-cppbuiltin.c +++ b/gcc/c-cppbuiltin.c @@ -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 @@ c_cpp_builtins (cpp_reader *pfile) 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. */ diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index 5a75136..1b7b867 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -2094,7 +2094,7 @@ This macro is defined, with value 1, if the compiler uses the old 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 |