[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Foundation.h help
From: |
Richard Frith-Macdonald |
Subject: |
Re: Foundation.h help |
Date: |
Mon, 29 Nov 2010 15:46:25 +0000 |
On 29 Nov 2010, at 06:07, cbw2005@comcast.net wrote:
> Using a programming book, one of the exercises has me try
>
> #import <Foundation/Foundation.h>
> int main(int argc, const char * argv[])
>
> {
> NSAutoreleasePool * Pool = [NSAutoreleasePool alloc] init];
Just a little point ... there's a type in the above line ... you are missing
one of the opening brackets.
I think other people have already addressed the more basic issue of building
with gnustep-make rather than using gcc directly.