Re: Xcode picking up wrong header files
Re: Xcode picking up wrong header files
- Subject: Re: Xcode picking up wrong header files
- From: Derrick Bass <email@hidden>
- Date: Sat, 9 Dec 2006 11:21:00 -0600
On Dec 9, 2006, at 2:33 AM, Chris Espinosa wrote:
It always helps to know which version of Xcode you're experiencing
this with.
Oh, of course. Sorry for forgetting that: 2.4.1 (IDE 762.0, Core
762.0, ToolSupport 764.0)
Are you using Recursive Search Paths in any target? The order of
searching paths recursively is usually pretty fragile. Referring
to two headers with the same name by different paths, and depending
on Recursive Search Paths to find them in a specific order, is
unreliable.
I don't think so, since I didn't even know of their existence until
now. I checked a few of the targets and they didn't use them.
You can always set USE_HEADERMAP = NO in a Custom Build Setting to
disable headermaps. There's a performance hit as gcc will have to
search for all headers every time, but the performance of a
successful build is infinitely faster than a failed one...
Great! I didn't know about that one. Now that I know what to search
for, I found a conversation from just a few weeks ago between you and
Andrew Cunningham on a very similar issue (and another conversation
about it only a few days before that).
I had to put a whole bunch more things on my header search path, but
USE_HEADERMAP=NO definitely worked. Now that I know what's happening,
I'll try to create a simple test case for a bug report.
Thanks for the help!
Derrick
_______________________________________________
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