Consider this compiler output

      "D:\jenkins\workspace\path\To\some\SourdceFile.cpp", line 163: warning #548-D: transfer of control bypasses initialization of:
                  variable "someVariableName" (declared at line 191)
      

      The resulting warning in jenkins will be "transfer of control bypasses initialization of:" but it should be "transfer of control bypasses initialization of: variable "someVariableName" (declared at line 191)"

      Since i didn't get the issue tracker to display the text unformatted, i attached the raw compiler output as text file.

          [JENKINS-28416] TI Parser does not match multiline Warnings

          Ulli Hafner added a comment -

          Yes, this parser uses the LineParser as base class (see TiCcsParser.java). So it is not possible to look into multiple lines.

          Ulli Hafner added a comment - Yes, this parser uses the LineParser as base class (see TiCcsParser.java ). So it is not possible to look into multiple lines.

          I just had a look at the Doxygen Parser which does parsing of multiline messages. Is there a reason why the RegexpDocumentParser cannot be used for the TiCcsParser?

          Florian Reinhard added a comment - I just had a look at the Doxygen Parser which does parsing of multiline messages. Is there a reason why the RegexpDocumentParser cannot be used for the TiCcsParser?

          Ulli Hafner added a comment -

          The RegexpDocumentParser is discouraged since the performance is horrible. However, it is possible to use it in your use case, it just might be slow for large documents.

          Ulli Hafner added a comment - The RegexpDocumentParser is discouraged since the performance is horrible. However, it is possible to use it in your use case, it just might be slow for large documents.

          Ulli Hafner added a comment -

          I added a new base class for all parsers that provides support for looking at the following lines. Do you have a larger log that contains some more examples? I.e. consists every warning of two lines? Or more lines? How do we detect this situation?

          Ulli Hafner added a comment - I added a new base class for all parsers that provides support for looking at the following lines. Do you have a larger log that contains some more examples? I.e. consists every warning of two lines? Or more lines? How do we detect this situation?

          Ulli Hafner added a comment -

          Without a log file I can't help here.

          Ulli Hafner added a comment - Without a log file I can't help here.

            Unassigned Unassigned
            freinhard Florian Reinhard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: