enabling @try/@catch
enabling @try/@catch
- Subject: enabling @try/@catch
- From: Donald Hall <email@hidden>
- Date: Thu, 5 Jul 2007 23:26:13 -0600
Title: enabling @try/@catch
I am
reposting this to the more appropriate Xcode list after doing some
more experimenting.
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? I have cleaned the one and only target. Note that
I am creating a universal binary with the minimum system on PPC at
10.3. It compiles and runs fine without the use of @try.
Is there some way to manually set this switch (i.e.
`-fobjc-exceptions' )?
Thanks,
Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
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