• 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: Calling getter on const object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling getter on const object


  • Subject: Re: Calling getter on const object
  • From: Jonny Taylor <email@hidden>
  • Date: Mon, 8 Nov 2010 19:39:43 +0000

> 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.
Yes, sorry - I hadn't realised that bit was important at the time... though as I noted there is a different (and also, I believe, erroneous) error for a .m file_______________________________________________

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: 
 >Calling getter on const object (From: Jonny Taylor <email@hidden>)
 >Re: Calling getter on const object (From: David Duncan <email@hidden>)
 >Re: Calling getter on const object (From: Jonny Taylor <email@hidden>)
 >Re: Calling getter on const object (From: David Duncan <email@hidden>)
 >Re: Calling getter on const object (From: Jonny Taylor <email@hidden>)
 >Re: Calling getter on const object (From: David Duncan <email@hidden>)
 >Re: Calling getter on const object (From: Jonny Taylor <email@hidden>)
 >Re: Calling getter on const object (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Calling getter on const object
  • Next by Date: Re: Launchd and terminal process launch - is there any difference from that process' viewpoint?
  • Previous by thread: Re: Calling getter on const object
  • Next by thread: Re: Calling getter on const object
  • Index(es):
    • Date
    • Thread