Re: Counting header includes
Re: Counting header includes
- Subject: Re: Counting header includes
- From: Jeff Nordquist <email@hidden>
- Date: Fri, 14 Mar 2008 16:14:24 -0500
On Mar 14, 2008, at 12:03 PM, Philip Aker wrote:
He means 'cpp' the unix command that Xcode uses.
If you put '-H' in the 'Other C Flags' field then as the compile
happens all the header files read will be output to the build
results console.
From the cpp man page ('man cpp')
-H Print the name of each header file used, in addition to
other
normal activities. Each name is indented to show how deep
in the
#include stack it is. Precompiled header files are also
printed,
even if they are found to be invalid; an invalid
precompiled header
file is printed with ...x and a valid one with ...! .
Thanks Paul,
I actually didn't know about -H. I used something like: -dMMDI …
but I think your suggestion is a nicer solution (certainly easier to
remember :-).
Philip Aker
And it solved my problem very nicely. Thanks to both of you!
Jeff
_______________________________________________
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