Will the dynamic_cast, throw, typeid shared library bug be fixed?

Jim Wilson wilson@specifixinc.com
Thu Oct 30 19:59:00 GMT 2003


Rice, Michael A. wrote:
> The FAQ 5.2 item "dynamic_cast, throw, typeid don't work with shared
> libraries" seems to indicate this is some sort of feature, not a bug, and
> will not be fixed.

The FAQ asks a question and then answers it.  So your answer is there in 
the FAQ.  These do work with shared libraries if you follow the 
recommendations in the FAQ.

> Is this problem going to be fixed?

Gcc behavior is the result of how the C++ language, C++ ABI, and ELF 
object file standards are defined.  So there appears to be nothing for 
us to fix.  We can only warn you about feature clashes, and that is what 
this FAQ entry does.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc-bugs mailing list