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

New .cpp not picking up .pch includes


  • Subject: New .cpp not picking up .pch includes
  • From: "Greg Norz" <email@hidden>
  • Date: Tue, 31 Jan 2006 15:05:07 -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?

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: Re: Making XCode realize a file/resource has been updated
  • Next by Date: Re: crash in __static_initialization_and_destruction on 10.3.9 but not 10.4.4?
  • Previous by thread: Re: Linking against something in /Library/Frameworks
  • Next by thread: RE: New .cpp not picking up .pch includes
  • Index(es):
    • Date
    • Thread