Hy all,
My compiler is a GNU AMR GCC. In is build output, he send me back relative path from the working directory for error and warning. I have modified my parser rule to retrieve the file, line, message information. But when I click on the highlited error in the build log (or build message) nothing happen.
Is codeblock support relative path output debug? Is there a way to support it?
Thanks
for example here is on of my error :
"..\..\source\th_rf.c", line 487: Serious error: C2291E: <expression> expected but found '/'
with my parser rule : (")(.*)("),( line) ([0-9]+):( Error:[ \t].*)
I have
filename : ..\..\source\th_rf.c
line number : 487
Message : Serious error
with my parser rule : (")(.*)("),( line) ([0-9]+):( Error:[ \t].*)
What about : (")(.*)("),( line) ([0-9]+):( [Ee]rror:[ \t].*)
Jumping to relative filenames work for me.
Try this expression:
"(.*)", line ([0-9]+): (.*)
and set Message to 3, Filename to 1 and line to 2.
That works for me with your error line:Regular expression analyzed as follows:
Type: Error message
Filename: ../../source/th_rf.c
Line number: 487
Message: Serious error: C2291E: <expression> expected but found '/'