[Bug libstdc++/34680] [4.3 Regression] Unconditional use of dynamic_cast in locale_facets.tcc breaks compilation with -fno-rtti

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jan 5 14:08:00 GMT 2008



------- Comment #11 from pinskia at gcc dot gnu dot org  2008-01-05 12:08 -------
(In reply to comment #6)
> Or, we could change mainline cc1plus to silently convert dynamic_cast to
> static_cast when -fno-rtti. I would actually prefer this solution. 

No because this was just fixed to be an error for 4.2.0, see PR 10891.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34680



More information about the Gcc-bugs mailing list