Including specific headers
Including specific headers
- Subject: Including specific headers
- From: Rick Mann <email@hidden>
- Date: Thu, 1 Jun 2006 11:49:02 -0700
Hi. I'm just starting to use XCode (having finally been forced to
abandon my beloved CodeWarrior by the Intel machines). I'm working on
a Carbon application.
As I understand it, pretty much all the headers are precompiled and
automatically included for all translation units. However, I really
like having the most specific header explicitly included in my files
(for the various symbols referenced in it). For example, if I
reference a CGRect, I want to include CGGeometry.h explicitly.
I tried this:
#include <CoreGraphics/CGGeometry.h>
but XCode complains that that file could not be found.
There are a lot of reasons for this that I'd rather not get into; I
just want to know how to do it.
Futhermore, is there a way to disable the precompiled header so that
I know when I fail to included a necessary header (without by chance,
disabling the ability to find a symbol in the headers via the
contextual menus)?
TIA,
--
Rick
_______________________________________________
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