Objc - Exceptions
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