discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Foundation.h help


From: Lars Sonchocky-Helldorf
Subject: Re: Foundation.h help
Date: Mon, 29 Nov 2010 22:20:31 +0100

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
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

[Prev in Thread] Current Thread [Next in Thread]