From f1e37c749655bffdeda3f905f983571b15417a03 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Mon, 7 Jan 2008 20:54:49 +0000 Subject: [PATCH] re PR libstdc++/34680 (Unconditional use of dynamic_cast in locale_facets.tcc breaks compilation with -fno-rtti) 2008-01-06 Paolo Carlini PR libstdc++/34680 * doc/cpp.texi ([Common Predefined Macros]): Document. From-SVN: r131382 --- gcc/doc/cpp.texi | 9 +++++++-- 1 file 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 -- 2.7.4