------- Comment #5 from gdr at integrable-solutions dot net  2006-08-11 01:20 
-------
Subject: Re:   New: [4.2.0 regression] dynamic_cast<void*> disallowed too
rigorously with -fno-rtti

"benjamin at smedbergs dot us" <[EMAIL PROTECTED]> writes:

| Code compiled with -fno-rtti containing a dynamic_cast<void*> used to compile
| and work properly on types with a vtable (the base class can be determined
| entirely using the vtable without any RTTI information). 

RTTI is needed to have dynamic_cast works properly.  Period.

-- Gaby


-- 


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

Reply via email to