• 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: compiler warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >compiler warning (From: Pete Bates <email@hidden>)

  • Prev by Date: Re: Tiger Mail.app style toolbar item
  • Next by Date: Re: [OT] A bit confused on pointers...
  • Previous by thread: compiler warning
  • Next by thread: autosize an nsimageview programmatically
  • Index(es):
    • Date
    • Thread