• 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
const Object cannot receive messages in 10.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

const Object cannot receive messages in 10.4


  • Subject: const Object cannot receive messages in 10.4
  • From: Andrew White <email@hidden>
  • Date: Thu, 11 Aug 2005 15:04:03 +1000


Since upgrading to 10.4, I've encountered an interesting quirk with my Cocoa code.


If I try to send a message to a variable defined as const Object *, I get a warning: "warning: invalid receiver type 'Object *'". I'm currently fixing this by removing a bunch of "const" qualifiers from my code, but am curious as to what is causing the error and what has changed.

Thanks

--
Andrew White

--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.
_______________________________________________
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: const Object cannot receive messages in 10.4
      • From: email@hidden
  • Prev by Date: Re: Distributed Objects between cats
  • Next by Date: Re: RESEND: How do enforce a scrollPageDown on a view?
  • Previous by thread: App Delegate and Responder Chain
  • Next by thread: Re: const Object cannot receive messages in 10.4
  • Index(es):
    • Date
    • Thread