• 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
WARNINGS from Compiler on "length" how to rid myself of them!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: WARNINGS from Compiler on "length" how to rid myself of them!
      • From: Andreas Mayer <email@hidden>
    • Re: WARNINGS from Compiler on "length" how to rid myself of them!
      • From: John Anderson <email@hidden>
  • Prev by Date: Is this a Bug With TabView control
  • Next by Date: Re: Drag and Drop Oddities
  • Previous by thread: Is this a Bug With TabView control
  • Next by thread: Re: WARNINGS from Compiler on "length" how to rid myself of them!
  • Index(es):
    • Date
    • Thread