[Bug c++/28687] [4.2 regression] dynamic_cast<void*> disallowed too rigorously with -fno-rtti
benjamin at smedbergs dot us
gcc-bugzilla@gcc.gnu.org
Thu Aug 10 20:46:00 GMT 2006
------- Comment #3 from benjamin at smedbergs dot us 2006-08-10 20:46 -------
This cast in particular doesn't need RTTI, because the offset to the most
derived class is in the vtable. Mozilla uses this cast to determine the
concrete type for logging purposes, without needing or wanting RTTI
information.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28687
More information about the Gcc-bugs
mailing list