• 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
enabling @try/@catch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

enabling @try/@catch


  • Subject: enabling @try/@catch
  • From: Donald Hall <email@hidden>
  • Date: Tue, 3 Jul 2007 23:42:23 -0600

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

--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________

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


  • Follow-Ups:
    • Re: enabling @try/@catch
      • From: Chris Suter <email@hidden>
  • Prev by Date: Re: Memory Management Question
  • Next by Date: Re: enabling @try/@catch
  • Previous by thread: [Moderator] Re: Git (and a rant on subversion)
  • Next by thread: Re: enabling @try/@catch
  • Index(es):
    • Date
    • Thread