[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
Fri Aug 11 10:19:00 GMT 2006
------- Comment #8 from benjamin at smedbergs dot us 2006-08-11 10:19 -------
The documentation is incorrect. RTTI is not required to find the most-derived
class pointer, because the vtable contains this information natively and does
not need to know anything about the type. I'm making my point from years of
working software, not some theoretical discussion.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28687
More information about the Gcc-bugs
mailing list