PDA

View Full Version : Includes with Xcode


Hasty
2006.08.29, 11:08 AM
So I noticed that with Xcode if you add an external framework to your Carbon Application that you don't have to include the header files in your C++ files. Is there a way to disable this? It's a nice feature, but I guess I'm just an odd ball and want to know the dependencies for each file by looking at the headers.

t.

OneSadCookie
2006.08.31, 11:45 PM
Xcode is not magic, and doesn't magically include headers for you (beyond the ones that come in the default PCH, just <Carbon/Carbon.h> I think).

Perhaps poor warning settings are masking the issue. Try cranking them up: http://tips.onesadcookie.net/tips/published/GCC+Warning+Flags

Hasty
2006.09.01, 12:03 PM
Got it. I figured out that the target settings for an example project I downloaded was set up in such a way to do what I was explaining above.