Re: Strange dynamic_cast problem
Re: Strange dynamic_cast problem
- Subject: Re: Strange dynamic_cast problem
- From: "Chris Suter" <email@hidden>
- Date: Tue, 4 Nov 2008 23:38:12 +1100
On Tue, Nov 4, 2008 at 11:10 PM, Eric Gorr <email@hidden> wrote:
> Well, if I comment out the destructors, the same behavior in all cases
> occurs. So, it seems that the cause is elsewhere, unless I have misinterpreted your
> comments.
Commenting out the whole thing won't work. If you comment out just the
definitions (leaving the declarations), it will work. See this:
<http://developer.apple.com/documentation/DeveloperTools/gcc-4.2.1/gcc/Vague-Linkage.html>
You can easily see the problem by running nm on your libraries. If you
see duplicates, you've got a problem.
--- Chris
_______________________________________________
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