• 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
Objc - Exceptions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Objc - Exceptions


  • Subject: Objc - Exceptions
  • From: "Cocoa Puff" <email@hidden>
  • Date: Thu, 7 Sep 2006 06:49:35 -0700

Hello all,

I'm trying to use the Objc exceptions, and it does work. However, I
get the following warning when I build the application:

"warning: use '-fobjc-exceptions' to enable Objective-C exception syntax"

In the project settings, I found a compiler flag "Enable Objective-C
Exceptions", which I have turned on. I'm still getting the warning. I
have cleaned and rebuilt the project, but it hasn't helped. Here is
the description for the compiler flag I enabled:

"Enable Objective-C exception handling. [GCC_ENABLE_OBJC_EXCEPTIONS,
-fobjc-exceptions]

This setting enables @try/@catch/@throw syntax for handling exception
in Objective-C code. See
<file:///Developer/ADC Reference Library/documentation/Cocoa/Conceptual/ObjectiveC/LanguageOverview/chapter_3_section_9.html>
for more details."

I did some googling, but couldn't find anything. Any idea's?

Thanks in advance,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Objc - Exceptions
      • From: Sean Murphy <email@hidden>
  • Prev by Date: Re: Screen device name?
  • Next by Date: [Moderator] EOT (Re: PAD file generator)
  • Previous by thread: [Moderator] EOT (Re: Adding silence in audio file)
  • Next by thread: Re: Objc - Exceptions
  • Index(es):
    • Date
    • Thread