Re: Writing Files
Re: Writing Files
- Subject: Re: Writing Files
- From: "Alastair J.Houghton" <email@hidden>
- Date: Mon, 30 Jun 2003 22:06:03 +0100
On Monday, June 30, 2003, at 07:17 pm, Jonathan E. Jackel wrote:
When I try to compile that bit of code, it tells be that there is a
parse error before the * of the line "NSSavePanel* sp = [NSSavePanel
savePanel];". Why might that be happenening? It looks good to me...
There is no declaration ( NSSavePanel* sp... ) allowed after calling
methods or functions ( pdf417init(&p); ). This is still not C++ ;-)
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
situations; if you've installed the new developer tools update, you
might want to check the release notes again... perhaps you're using GCC
2.95 unintentionally?
Kind regards,
Alastair.
_______________________________________________
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.