Re: Writing Files
Re: Writing Files
- Subject: Re: Writing Files
- From: Patrick Gundlach <email@hidden>
- Date: Tue, 01 Jul 2003 11:50:09 +0200
- Organization: privat
"Alastair J.Houghton" <email@hidden> writes:
Hi,
>
> Not true! You can put declarations anywhere with gcc 3.1. That
>
> wouldn't be
>
> a "parse error" anyway.
>
>
As I recall, GCC 2.x *does* produce parse errors in these sorts of
right: see
void somefunkyfunction (void) {
int k;
k=1;
int giveserror;
}
pg@burger:~/prog/objc/defafter$ gcc2 -c defafter.m
defafter.m: In function `somefunkyfunction':
defafter.m:4: parse error before `int'
pg@burger:~/prog/objc/defafter$ gcc -c defafter.m
(last one works fine.)
Patrick
--
Silent is the goldfish in its bowl
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.