aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <paolo@gcc.gnu.org>2008-01-07 20:54:49 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2008-01-07 20:54:49 +0000
commitf1e37c749655bffdeda3f905f983571b15417a03 (patch)
tree37b4042bfef45fc847f02cc52a7458380f0c0ff2
parent6b76185174e884eec9a030ad12d0498398441dc7 (diff)
downloadgcc-f1e37c749655bffdeda3f905f983571b15417a03.zip
gcc-f1e37c749655bffdeda3f905f983571b15417a03.tar.gz
gcc-f1e37c749655bffdeda3f905f983571b15417a03.tar.bz2
re PR libstdc++/34680 (Unconditional use of dynamic_cast in locale_facets.tcc breaks compilation with -fno-rtti)
2008-01-06 Paolo Carlini <pcarlini@suse.de> PR libstdc++/34680 * doc/cpp.texi ([Common Predefined Macros]): Document. From-SVN: r131382
-rw-r--r--gcc/doc/cpp.texi9
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index d19ec29..464965c 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -2133,8 +2133,13 @@ enabled by default, but can be disabled with @option{-Wno-deprecated}.
@item __EXCEPTIONS
This macro is defined, with value 1, when compiling a C++ source file
-with exceptions enabled. If @option{-fno-exceptions} was used when
-compiling the file, then this macro will not be defined.
+with exceptions enabled. If @option{-fno-exceptions} is used when
+compiling the file, then this macro is not defined.
+
+@item __GXX_RTTI
+This macro is defined, with value 1, when compiling a C++ source file
+with runtime type identification enabled. If @option{-fno-rtti} is
+used when compiling the file, then this macro is not defined.
@item __USING_SJLJ_EXCEPTIONS__
This macro is defined, with value 1, if the compiler uses the old