WARNINGS from Compiler on "length" how to rid myself of them!
WARNINGS from Compiler on "length" how to rid myself of them!
- Subject: WARNINGS from Compiler on "length" how to rid myself of them!
- From: Chris Roberts <email@hidden>
- Date: Tue, 11 Jun 2002 12:06:09 -0600
I get warnings using the following code:
if ([anObject length] >6){
.....
}
anObject is a NSString prototyped in the .h file.
The compiler still tells me that there is :
myController.m:561: warning: multiple declarations for method `length'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:53:
warning: using `-(int unsigned)length'
/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:42:
warning: also found `-(float)length'
How do I fix this ???
Chris Roberts
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.