Re: dynamic_cast failing weirdly
Re: dynamic_cast failing weirdly
- Subject: Re: dynamic_cast failing weirdly
- From: "E. Wing" <email@hidden>
- Date: Wed, 25 Jul 2007 13:35:54 -0700
I got bit by something that sounds like this about 2 years ago when
gcc 4.0 was new. I don't remember the situtation exactly, but I think
it involved dynamic_cast across dynamic libraries. Anyway, I
discovered that Xcode was automatically setting "-fvisibility=hidden"
as a default option. Since my code did not use the gcc 4 visibility
extensions, I think everything got marked as hidden and it manifested
itself as breaking everything depending on dynamic_cast and
exceptions.
You might want to check to see if this option is enabled in your Xcode
settings and if it is, try disabliing it. At the time, I think I filed
a bug report suggesting this should be off by default, but I don't
know if this change was made or not.
-Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden