This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/34680] Unconditional use of dynamic_cast in locale_facets.tcc breaks compilation with -fno-rtti
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2008 05:40:31 -0000
- Subject: [Bug libstdc++/34680] Unconditional use of dynamic_cast in locale_facets.tcc breaks compilation with -fno-rtti
- References: <bug-34680-15584@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from bkoz at gcc dot gnu dot org 2008-01-05 05:40 -------
Just as an aside, the GCC manual for -fno-rtti seems to be incorrect:
http://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#C_002b_002b-Dialect-Options
The `dynamic_cast' operator can still be used for casts that do not require
runtime type information, i.e. casts to void * or to unambiguous base classes.
Did this behavior change recently? Hmmm.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34680