Re: Calling getter on const object
Re: Calling getter on const object
- Subject: Re: Calling getter on const object
- From: Kyle Sluder <email@hidden>
- Date: Mon, 8 Nov 2010 11:36:28 -0800
On Mon, Nov 8, 2010 at 10:53 AM, Jonny Taylor <email@hidden> wrote:
> // Both these have errors: "request for member 'frameNumber' in 'm', which is of non-class type 'objc_object* const'"
> // when compiled as ObjC++ (.mm file).
Aha, this is an important point. That's why I didn't immediately pick
up on the actual problem you were facing.
Clang parses this without error. It looks like GCC was just never
updated to handle properties in protocol definitions.
--Kyle Sluder
_______________________________________________
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