• 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: Precompiled headers failing to build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Precompiled headers failing to build


  • Subject: Re: Precompiled headers failing to build
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 17 Nov 2004 19:39:09 -0700


On Nov 17, 2004, at 5:37 PM, Jeremy Faller wrote:

/Users/jfaller/Desktop/MacFreq/Source/Signal.h:16: error: parse error before "NSBezierPath"
/Users/jfaller/Desktop/MacFreq/Source/Signal.h:17: error: cannot find interface declaration for `NSObject', superclass of `Signal'


I have reinstalled the development tools, but the problem persists. Has anyone seen this, and knows how to fix it?

You need to either switch to using a case-sensitive file system like UFS or HFSX, or change the file names of your class header and source. From the appearance of things, the PCH compiler is trying to compile signal.h, which is a standard system header, but it's finding your Signal.h header and mistaking that for signal.h. And HFS+ is a case-insensitive file system, which is why it found your header even though the case of the 's' is different.


I'd recommend just changing the file names; it's a lot easier...

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Precompiled headers failing to build (From: Jeremy Faller <email@hidden>)

  • Prev by Date: Re: Fastest way to push strings to the screen in an NSView?
  • Next by Date: Re: Fastest way to push strings to the screen in an NSView?
  • Previous by thread: Precompiled headers failing to build
  • Next by thread: Question about the NSPrintPanel
  • Index(es):
    • Date
    • Thread