XCode picks up headers from the wrong location
XCode picks up headers from the wrong location
- Subject: XCode picks up headers from the wrong location
- From: Gregor Jasny <email@hidden>
- Date: Mon, 29 Mar 2010 13:25:46 +0200
- Organization: VidSoft
Hi,
In my project XCode picks up headers that are not mentioned in the
HEADER_SEARCH_PATHS.
Imagine a project with the following two files
config/StdAfx.h
#error "I should not be included"
src/main.cpp
#include "StdAfx.h"
If I add those two files to the project groups and files, the compiler
picks up StdAfx.h and stops on the #error. This is very surprising for
me because I have not added the config path to the header search path.
If I remove the StdAfx.h file from the files tree, the compiler
complains about the missing include file as expected.
Is there a configuration option to disable this behavior?
Thanks,
Gregor
_______________________________________________
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