User forums > General (but related to Code::Blocks)
Multiline Build messages
(1/1)
zdena:
Hello,
my compiler (Arduino) makes warnings and errors in Build log in this way:
D:\KomplexCB\_Vysilani_100\Komplex00\Komplex00.ino:1030:31: warning: unused parameter 'timer' [-Wunused-parameter]
int JeLetniCas(const time_t * timer, int32_t * z) {
^
This is transfered to the Build messages as:
FileLineMessageD:\KomplexCB\_Vysilani_100\Komplex00\Komplex00.ino 1030 warning: unused parameter 'timer' [-Wunused-parameter]
Is there a way to get something like this?
FileLineMessageD:\KomplexCB\_Vysilani_100\Komplex00\Komplex00.ino 1030 warning: unused parameter 'timer' [-Wunused-parameter]int JeLetniCas(const time_t * timer, int32_t * z) { ^
oBFusCATed:
Not yet, as far as I know. But we'll have to do something about these. GCC 9 is even more bonkers about the messages.
zdena:
Thanks for info.
zdena:
Not perfect but fairly well works Output parsing regex:
--- Code: ---(^[ \t]+.+)
--- End code ---
The line with code and the line with the arrow are indented with spaces (usually) and the messages from builder (compiler) start immediately.
Navigation
[0] Message Index
Go to full version