const Object cannot receive messages in 10.4
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