• 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: "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.

References: 
 >RE: Writing Files (From: "Jonathan E. Jackel" <email@hidden>)

  • Prev by Date: Re: Writing Files
  • Next by Date: Mysterious crash
  • Previous by thread: RE: Writing Files
  • Next by thread: Re: Writing Files
  • Index(es):
    • Date
    • Thread