[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getting : error: 'autoreleasepool' undeclared (first use in this fun
From: |
David Chisnall |
Subject: |
Re: getting : error: 'autoreleasepool' undeclared (first use in this function) |
Date: |
Wed, 2 Jan 2013 21:44:26 +0000 |
On 2 Jan 2013, at 14:33, umen wrote:
> main.m:8:2: error: stray '@' in program
> main.m:8:3: error: 'autoreleasepool' undeclared (first use in this function)
> main.m:8:3: note: each undeclared identifier is reported only once for each
This is a GCC error. If you wish to use a vaguely recent dialect of
Objective-C then you must use Clang.
David
-- Sent from my Cray X1