Re: enabling @try/@catch
Re: enabling @try/@catch
- Subject: Re: enabling @try/@catch
- From: David Dunham <email@hidden>
- Date: Thu, 5 Jul 2007 23:17:47 -0700
On 5 Jul 2007, at 22:26, 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, and in my Target
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?
Most likely you have a different setting in your one and only target,
which overrides the project.
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
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