This patch is against Console-5.1.3.zip.
What it is about:
I build a C/C++ project with traditional "make".
The C/C++ compiler is called with relative paths.
So I get (for exmple) the following warning messages in the console output:
../../mod1/src/access/checkit.c:1381:23: warning: variable ‘excess’ set but not used
I use the following warning pattern to catch this:
Now I have got several copies of the C/C++ project on my PC, but of course I only have got one Error Pattern to catch the warnings for the builds in all the different project directories.
So I want to be able to somehow replace the "../../" with my Project Root path in the Error Pattern matcher.
The following patch allows this by including <p> in your Error Pattern "filename".
For example like this:
The <p> will be replaced by the Project Root path from the Project Viewer, when the project is build and the error and warning messages are collected in the Error List.
So for example the filename will be modified to:
because my Project Root is "/home/lundril/checkouts/copy_a".
This patch is intended as a basis for discussion.