• 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: New .cpp not picking up .pch includes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: New .cpp not picking up .pch includes


  • Subject: RE: New .cpp not picking up .pch includes
  • From: "Greg Norz" <email@hidden>
  • Date: Wed, 1 Feb 2006 10:06:34 -0600
  • Thread-topic: New .cpp not picking up .pch includes

| I recently added new .cpp file to my project. After moving
| some working code into the new file, I started to get
| complaints about certain APIs not being declared (WebKit in
| this particular case). My prefix file has the requisite files
| included (<WebKit/CarbonUtils.h> and <WebKit/HIWebView.h>),
| but they just will not be picked up by the compiler. If I
| explicitly include these files in the offending .cpp file,
| everything is fine. The file that this code moved from was
| successfully relying on the prefix file for these incudes.
|
| Any idea why the new .cpp file doesn't want to see the
| includes in the prefix?

Nevermind on this. I just started catching that added files can be
selected on a per-target basis!

greg norz
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Invoking the name mangler to create an Exported Symbols File?
  • Next by Date: Problem with dependency checking in Run Script phase -- again
  • Previous by thread: New .cpp not picking up .pch includes
  • Next by thread: Invoking the name mangler to create an Exported Symbols File?
  • Index(es):
    • Date
    • Thread