Re: multiple methods found warnings (errors)
Re: multiple methods found warnings (errors)
- Subject: Re: multiple methods found warnings (errors)
- From: "Shawn Erickson" <email@hidden>
- Date: Tue, 5 Sep 2006 09:06:44 -0700
On 9/5/06, Dave Budde <email@hidden> wrote:
I am working on a cocoa app and I am getting the following warning
messages that don't allow the program to run:
warning: also found '-(void)drawInRect... location: NSStringDrawinf.h
warning: also found '-(B OOL)drawInRect... location: NSImageRep.h
warning: multiple methods named "-drawInRect:' found
The only import I do (other than my own files ) is <Cocoa/Cocoa.h>.
How does this happen and how do i get rid of it?
Likely usage of drawInRect: in your code is causing this. Find its
usage and help the compiler understand if the object you are messaging
is expected to be a NSString or NSImageRep... you can do that by
casting, by setting the class type of the variable involved, etc.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden