Re: compiler warning
Re: compiler warning
- Subject: Re: compiler warning
- From: Cameron Hayne <email@hidden>
- Date: Fri, 30 Dec 2005 14:00:44 -0500
On 30-Dec-05, at 8:02 AM, Pete Bates wrote:
I'm getting this compiler warning: "Passing argument 1 of 'foo'
from distinct Objective-C type"
'foo' seems to work fine despite it's "distinct argument type."
What does this mean? I've tried looking for an explanation, but
haven't been able to find anything in the documentation, list
archives, or by "Googling. " Perhaps I'm not looking in the right
place.
It means that the type of the object pointer you are passing does not
match the type expected.
By the way, Googling for the phrase "from distinct Objective-C type"
does find some relevant entries from the archives.
--
Cameron Hayne
email@hidden
_______________________________________________
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