• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Writing Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Cocoa Design Patterns Book and Online Resources?
  • Next by Date: Undefined symbols in C++ project
  • Previous by thread: Cocoa Design Patterns Book and Online Resources?
  • Next by thread: Undefined symbols in C++ project
  • Index(es):
    • Date
    • Thread