Re: enabling @try/@catch
Re: enabling @try/@catch
- Subject: Re: enabling @try/@catch
- From: Chris Suter <email@hidden>
- Date: Wed, 4 Jul 2007 15:54:31 +1000
On 04/07/2007, at 3:42 PM, Donald Hall wrote:
I am trying to enable native Objective-C exceptions (i.e. try/
catch). I have ticked the checkbox next to "Enable Objective-C
Exceptions" in the Build panel of my Project Info. The Dalrymple/
Hillegass book seems to imply this is the only action required but
I still get the error:
AppController.m:27: fatal error: Use `-fobjc-exceptions' to enable
Objective-C exception syntax
when I try to introduce @try.
What more do I need to do?
Thanks,
Don
Check that it's not disabled in the target settings. Remember your
project settings can be overridden. Also check you've set it in all
configurations.
If you can't figure it out, take it to a different list, probably the
XCode list.
- Chris
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden