• 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: gcc 4.0, a framework, and dynamic_cast problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc 4.0, a framework, and dynamic_cast problems


  • Subject: Re: gcc 4.0, a framework, and dynamic_cast problems
  • From: Steve Baxter <email@hidden>
  • Date: Mon, 24 Apr 2006 11:44:56 +0100

There has been some discussion about this - try searching for "RTTI and exceptions between plugins (solution)" in the archives.

On 18 Apr 2006, at 10:33, Thomas Engelmeier wrote:


On 17.04.2006, at 02:57, Anton Leuski wrote:

1. is this a bug? it looks like one to me, because everything works correctly under gcc-3.3.
2. is this is a known problem? Is there a solution?

It is probably another annoying problem variant of the way GCC composes it's typeids.
In contrary to almost any other compiler it is not an (eventually hashed) ASCII string with the object name, but an unique object per binary (i.e. one in your bundle / framework and on in the main app)


=> depending on the context the inlined version uses a different typeid than the non-inlined.

The way to solve it is to use global "first come, first serve" symbol resolution for loaded libraries / bundles, e.g. RTLOAD_GLOBAL for dlcompat loaded dylibs.

Regards,
Tom_E
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40improvision.com


This email sent to email@hidden

Stephen Baxter Software Development Manager Improvision email@hidden +44-2476-692229


_______________________________________________ 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: 
 >gcc 4.0, a framework, and dynamic_cast problems (From: Anton Leuski <email@hidden>)
 >Re: gcc 4.0, a framework, and dynamic_cast problems (From: Thomas Engelmeier <email@hidden>)

  • Prev by Date: Re: Database Development
  • Next by Date: Re: Database Development
  • Previous by thread: Re: gcc 4.0, a framework, and dynamic_cast problems
  • Next by thread: gcc vs. stdc++ dylib usage
  • Index(es):
    • Date
    • Thread