• 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: Annoying 'parse error before' messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Annoying 'parse error before' messages


  • Subject: Re: Annoying 'parse error before' messages
  • From: m <email@hidden>
  • Date: Sat, 13 Jan 2007 13:46:01 -0800

Seems like something like this happened to me and it was caused by oddball (but invisible) characters getting into the file, usually as a result of copying code from a web page.

I fixed it by opening the suspect files in a text editor like TextMate and using its "Remove Unprintable Characters" command.

_murat

On Jan 13, 2007, at 12:28 PM, Adam Radestock wrote:

No, that's not it, but thanks for the tip anyway.
Whatever I do to the list of header files included, (I have taken out the Carbon/Carbon.h line, the QTKit/QTKit.h line and commented out others) I still get this same error... It's really frustrating!
If anyone would like to look over my entire project to try and work out what's wrong, just drop me an email and I'll send it over to you.
Thanks very much for all your help...


Adam

On 13 Jan 2007, at 8:15 pm, Marcel Weiher wrote:

Here is my Header file that the errors refer to:


#import <Cocoa/Cocoa.h> #import <Carbon/Carbon.h> #import <ApplicationServices/ApplicationServices.h> #import <Quartz/Quartz.h> #import <QTKit/QTKit.h> #import "RSVerticallyCenteredTextFieldCell.h" #import "MUPhotoView.h"

A quick note: you seem to be including a whole lot of headers here that are not actually needed by the code below. It's probably better to just include what you actually need in the header itself here, and the rest in the .m file(s). This will also reduce the chance of weird things happening.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Annoying 'parse error before' messages (From: Adam Radestock <email@hidden>)
 >Re: Annoying 'parse error before' messages (From: Marcel Weiher <email@hidden>)
 >Re: Annoying 'parse error before' messages (From: Adam Radestock <email@hidden>)

  • Prev by Date: Re: Problems with Webview in coredata framework app
  • Next by Date: Replacing NSTextView with custom view?
  • Previous by thread: Re: Annoying 'parse error before' messages
  • Next by thread: Re: Annoying 'parse error before' messages
  • Index(es):
    • Date
    • Thread