Error parsing for Custom Build project
Posted: Tue Jun 23, 2015 5:44 pm
I have a Custom Build project with a dummy compiler (cloned from gcc) I manually added with the following patterns:
My build output looks like this after running my external script (batch file) - this is a Greenhills compiler output:
The problem is my errors are not highlighted and I can't double click the error to take me to the specific line.
What should I do next?
Code: Select all
Compiler Errors Patterns:
\"(.+?)\", line (\d+): error #(.+?):(.*)
\"(.+?)\", line (\d+): fatal error #(.+?):(.*)
Compiler Warnings Patterns:
\"(.+?)\", line (\d+): warning #(.+?):(.*)
Code: Select all
------------------------------------------------------
-> M O D U L E : [30_Basis_SW/20_CplxDrv/60_SENT/src]
--------------------------------------------------------------
[SentDrv.c]
[33m
"../../../30_Basis_SW/20_CplxDrv/60_SENT/src/SentDrv.c", line 540: error #20: identifier "SentDrv_State_en" is undefined
return SentDrv_State_en;
^
"../../../30_Basis_SW/20_CplxDrv/60_SENT/src/SentDrv.c", line 545: error #20: identifier "SentDrv_State_en" is undefined
SentDrv_State_en = state;
^
"../../../30_Basis_SW/20_CplxDrv/60_SENT/src/SentDrv.c", line 104: warning #177-D: variable "SentDrvv_State_en" was declared but never referenced
static SentDrv_State_t SentDrvv_State_en = SENTDRV_UNINIT;
^
Makefile_Modules.mk:441: recipe for target `../../../10_Build/Results/Objects/SentDrv.o' failed
make: *** [../../../10_Build/Results/Objects/SentDrv.o] Error 1
===============================================================================
- . . . D O N E -
===============================================================================
0 errors, 0 warnings
What should I do next?