[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 14:21:00 GMT 2006



------- Comment #13 from benjamin at smedbergs dot us  2006-08-11 14:21 -------
ok, leaving aside the pedantic issue of whether this is a "regression" or not,
can we get it fixed? I just posted a patch to gcc-patches which allows
dynamic_cast in cases where RTTI is not required, and adds a note to the
documentation.


-- 


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



More information about the Gcc-bugs mailing list