Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: 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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.