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

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

References: 
 >enabling @try/@catch (From: Donald Hall <email@hidden>)

  • Prev by Date: enabling @try/@catch
  • Next by Date: Re: Setting line height exactly - fails for certain unicode chars
  • Previous by thread: enabling @try/@catch
  • Next by thread: How to find the position of an NSCell?
  • Index(es):
    • Date
    • Thread