• 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: Projects with multiple products.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Projects with multiple products.


  • Subject: Re: Projects with multiple products.
  • From: Bruno Gaufier <email@hidden>
  • Date: Sun, 7 Sep 2003 15:13:48 +0200

On Saturday, September 6, 2003, at 10:19 PM, Anders Totland wrote:

Hi y'all!

On building my project I frequently get errors and warnings en par with "NSButton does not respond to setState:" and "syntax error, found 'alloc'" in the kind of line: "myObject = [[[myClass alloc] init] retain];", same line further down triggers the error "syntax error, found 'retain'" What is going on? My code compiles and builds all right, and it all works, but still ("Build succeeded (34 warnings, 62 errors)")
Didn't you just forget to include the .h file where your class is defined (#import "myClass.h"). Gcc likes to give message like "xx does not respond to yyy" when it doesn't have all the details about a class.

--
Bruno Gaufier
----
email@hidden
email@hidden

http://perso.club-internet.fr/bgaufier/
_______________________________________________
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.

References: 
 >Projects with multiple products. (From: Cory Knapp <email@hidden>)

  • Prev by Date: Re: Rouge compile-time errors and warnings
  • Next by Date: Re: Rouge compile-time errors and warnings
  • Previous by thread: Projects with multiple products.
  • Next by thread: Re: Projects with multiple products.
  • Index(es):
    • Date
    • Thread