News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Multiline Build messages

Started by zdena, December 18, 2019, 07:30:37 PM

Previous topic - Next topic

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:





FileLineMessage
D:\KomplexCB\_Vysilani_100\Komplex00\Komplex00.ino 1030 warning: unused parameter 'timer' [-Wunused-parameter]



Is there a way to get something like this?






FileLineMessage
D:\KomplexCB\_Vysilani_100\Komplex00\Komplex00.ino 1030 warning: unused parameter 'timer' [-Wunused-parameter]
int JeLetniCas(const time_t * timer, int32_t * z) {
                              ^

Windows 10 64b
Arduino 1.8.11 with (modified) Arduino Builder 1.5.1z through (modified) C::B 17.12 32b
Occasional C(C++) hobbyist almost only for Arduino.
Czechia - please pardon my English

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

zdena

Windows 10 64b
Arduino 1.8.11 with (modified) Arduino Builder 1.5.1z through (modified) C::B 17.12 32b
Occasional C(C++) hobbyist almost only for Arduino.
Czechia - please pardon my English

zdena

#3
Not perfect but fairly well works Output parsing regex: (^[ \t]+.+)

The line with code and the line with the arrow are indented with spaces (usually) and the messages from builder (compiler) start immediately.
Windows 10 64b
Arduino 1.8.11 with (modified) Arduino Builder 1.5.1z through (modified) C::B 17.12 32b
Occasional C(C++) hobbyist almost only for Arduino.
Czechia - please pardon my English