Re: wrong file #included
Re: wrong file #included
- Subject: Re: wrong file #included
- From: Marc Epard <email@hidden>
- Date: Fri, 12 May 2006 14:02:03 -0500
- Thread-topic: wrong file #included
on 5/12/06 1:28 PM, James W. Walker wrote:
> I have 2 versions of a file that I'll call foo.h, obviously in
> different directories. One of the files belongs to my project. The
> other one is not in the project and is not within any header search
> path. Yet, when compiling a source file that says #include "foo.h",
> Xcode insists on picking the wrong one, causing a compile error.
> What is it that I'm failing to understand about how Xcode finds files
> to include?
I'm not sure how to fix it, but I suspect this has to do with Xcode's
"header map" feature, which is supposed to speed up finding header files.
We ended up renaming files, but I'd be interested in other solutions, too.
-Marc
_______________________________________________
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