Re: Projects with multiple products.
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.