Most likely, but without a project where it fails for you, I can not test.
Reproduction is easy though:
- Download something from a source control which uses a makefile.
- Create an empty project somewhere else. Not under the source control root directory, becuase you do not want to confuse it (frequent use case in practice!)
- In the project properties window, select you want to use a custom makefile.
- Set execution directory respectively.
- Make it and see the warnings.
The makefile does not necessarily invoke CC from the directory you called the makefile (aka makefile may call cd):
Example:
I have a makefile at
<vcs root>/build_scripts and I set the working dir path for it.
So CC may say warnings about the
blahblah/foo.c which is at
<vcs root>/sources/blahblah/foo.c and the makefile is at
<vcs root>/build_scripts/makefile.
So the makefile does a cd to the
<vcs root>/sources/ directory and start compilation from there.
The problem is, that C::B tries to find out where are the source files, and wants to be clever by thinking it's at
<vcs root>/build_scripts/blahblah/foo.c which is incorrect.
So I would like to see and option where I can set explicitly
<vcs root>/sources as a search path for the IDE. So when
blahblah/foo.c warning comes up the IDE can search it at
<vcs root>/sources/blahblah/foo.c. The option should be able to list multiple search directories (for more exotic makefiles...)