Regular expressions for errors and warnings.
Posted: Tue Feb 03, 2009 5:18 pm
Hi,
I am having a devil of a time trying to configure error and warning parsers for the compiler I am using. Here are the error/warning formats:
============ Example of compilier error ==============================
Compiling io_analogs.c because it has changed
"src\io_analogs.c", line 167: error #77-D: this declaration has no storage
class or type specifier
xxxx;
^
Build target failed; continuing with remaining targets.
Error: build failed
==================================================================
============ Example of compilier warning ============================
Compiling io_analogs.c because it has changed
"src\io_analogs.c", line 668: warning #177-D: variable "a" was declared but
never referenced
uint8_t a;
^
==================================================================
Anyone out there that is a regular expression wizard? Thanks in advance.
I am having a devil of a time trying to configure error and warning parsers for the compiler I am using. Here are the error/warning formats:
============ Example of compilier error ==============================
Compiling io_analogs.c because it has changed
"src\io_analogs.c", line 167: error #77-D: this declaration has no storage
class or type specifier
xxxx;
^
Build target failed; continuing with remaining targets.
Error: build failed
==================================================================
============ Example of compilier warning ============================
Compiling io_analogs.c because it has changed
"src\io_analogs.c", line 668: warning #177-D: variable "a" was declared but
never referenced
uint8_t a;
^
==================================================================
Anyone out there that is a regular expression wizard? Thanks in advance.