thanks everyone, the error's have been cleared, i fixed all the typo errors. 
Now I am very new to Objective-C and GNUstep. How exactly to i get the program 
to run to see the output message? 
I was under the impression that when i typed 'make', it would run the program, 
but i get .... 


This is gnu-step-make 2.4.0.....yada yada yada 
Making all for tool prog1... 
compiling file prog1.m... 
Linking tool prog1... 


then a new line is made for me to enter a command. 
i tried the orignal gcc -o prog1 prog1.m but i get all the original errors. 


thanks again everyone, 
chris 

----- Original Message ----- 
From: "Lars Sonchocky-Helldorf" <[email protected]> 
To: "Nicola Pero" <[email protected]> 
Cc: [email protected], [email protected] 
Sent: Monday, November 29, 2010 1:20:31 PM 
Subject: Re: Foundation.h help 

And the other typo is that when defining it you wrote 'Pool' (upper 
case P) while when using it you wrote 'pool' (lower case p). Since C 
and so ObjC is case sensitive this difference matters and causes the 
messages about: 

prog1.m:8: error: 'pool' undeclared (first use in this function) 

cheers, 

Lars 

Am 29.11.2010 um 16:42 schrieb Nicola Pero: 

> 
>> NSAutoreleasePool * Pool = [NSAutoreleasePool alloc] init]; 
> 
> There's a typo ... that line should be 
> 
>> NSAutoreleasePool * Pool = [[NSAutoreleasePool alloc] init]; 
> 
> Thanks 
> 
> 
> _______________________________________________ 
> Discuss-gnustep mailing list 
> [email protected] 
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep 

_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to