-
Improvement
-
Resolution: Fixed
-
Trivial
-
None
-
Jenkins 1.565.1
analysis-core 1.57
warnings 4.40
We have a compiler that outputs multi-line warnings, like below example:
- Compiling source file [sources/source.c]
In file included from sources/source.c:25:0:
includes/header.h:47:39: warning: [13492] redundant redeclaration of 'symbolXYZ' [-Wredundant-decls]
includes/anotherHeader.h:150:32: note: previous declaration of 'symbolXYZ' was here
We have implemented a parser for the warnings plugin that correctly retains the line breaks, but analysis-core plugin displays these messages without line breaks.
For debugging purposes the line breaks are very useful, thus the analysis-core plugin shall also display them.
The message is directly copied into the HTML document. All browsers ignore line breaks in rendering.