Re: Feh. Obj-C syntax question
Re: Feh. Obj-C syntax question
- Subject: Re: Feh. Obj-C syntax question
- From: Hank Heijink <email@hidden>
- Date: Wed, 7 Nov 2007 17:05:28 -0500
Did you enable objective-C-exceptions? I believe (1) that it's needed
and (2) that it's not on by default. Check in the project info
(Project > Edit Project Settings). It's in the gcc 4.0 - Language
section.
On Nov 7, 2007, at 4:53 PM, Rick Mann wrote:
So, I'm dipping my toes into the Cocoa, and so far I'm not liking
the experience. I'm trying to follow the app tutorial, and in so
doing use the @property feature of Obj-C 2.0.
However, as soon as I add "@property(readwrite) " in front of a
member variable declaration, i get a cryptic error message:
error: syntax error before 'AT_NAME' token
And it's located on the #import line of the implementation file.
Any clues? Google didn't turn up much. If I don't use @property, the
code compiles without complaint.
--
Rick
_______________________________________________
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
Hank Heijink
email@hidden
_______________________________________________
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