Re: Xcode Release vs Debug Differences: Problem with Exception Types
Re: Xcode Release vs Debug Differences: Problem with Exception Types
- Subject: Re: Xcode Release vs Debug Differences: Problem with Exception Types
- From: Jens Alfke <email@hidden>
- Date: Tue, 17 Jun 2008 12:33:39 -0700
Oh, right — I ran into this once, last year. In a nutshell, if a function in one binary (e.g. a framework) throws a custom exception, which is caught by code in another binary; then the global symbols associated with the exception class need to be exported from the framework. Otherwise the caller's C++ runtime can't figure out what the class of exception is, and won't properly invoke the right 'catch' block. (It thinks it's the nearest base class that it knows about, typically std::exception.)
—Jens |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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