Re: Compiler Error (expected expression before 'NSArray')
Re: Compiler Error (expected expression before 'NSArray')
- Subject: Re: Compiler Error (expected expression before 'NSArray')
- From: Marco S Hyman <email@hidden>
- Date: Mon, 15 Feb 2010 12:57:32 -0800
On Feb 15, 2010, at 12:23 PM, Jeremy French wrote:
> Where do I find documentation for the C99 syntax?
http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1256.pdf
But this really doesn't have anything to do with C99.
Inline variable definition is C++ syntax, not C.
In C variables need to be declared at global scope or
at the beginning of a compound statement. The body
of a function is a compound statement.
That goes back at least as far as my 20 something year old K&R.
/\/\arc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden