From: Paolo Carlini Date: Mon, 7 Jan 2008 20:54:49 +0000 (+0000) Subject: re PR libstdc++/34680 (Unconditional use of dynamic_cast in locale_facets.tcc breaks... X-Git-Tag: releases/gcc-4.3.0~707 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1e37c749655bffdeda3f905f983571b15417a03;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index d19ec29ff74d..464965c35c78 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