• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange dynamic_cast problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Strange dynamic_cast problem (From: Eric Gorr <email@hidden>)
 >Re: Strange dynamic_cast problem (From: "Chris Suter" <email@hidden>)
 >Re: Strange dynamic_cast problem (From: Eric Gorr <email@hidden>)

  • Prev by Date: Re: Strange dynamic_cast problem
  • Next by Date: Re: Strange dynamic_cast problem
  • Previous by thread: Re: Strange dynamic_cast problem
  • Next by thread: Re: Strange dynamic_cast problem
  • Index(es):
    • Date
    • Thread