Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17075

Warnings Plugin "Wind River Diab Compiler (C/C++)"-parser is missing support for fatal errors



    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • warnings-plugin
    • Jenkins LTS 1.480.3
      Static Analysis Utilities 1.49
      Warnings Plug-in 4.23


      Given an existing job with a "Wind River Diab Compiler (C/C++)"-parser and the "Run always" option enabled,
      when the build produces a fatal warning,
      then I want it included in the results from the plugin.

      Below is an example of the output of a division by zero warning with the different supported severity levels.
      (based of Wind Rivier Diab Combiler User's Guide, B.3.6 "-e, Change diagnostic severity level")

      i, Information, equivalent to ignore.
      w, Warning.
      "main.c", line 5: warning (dcc:1025): division by zero
      e, Error (continue compilation).
      "main.c", line 5: error (dcc:1025): division by zero
      f, Fatal error (terminate immediately).
      "main.c", line 5: fatal error (dcc:1025): division by zero

      Also, if it can have a positive effect on the performance - some of the \s* in the parser's regex could be removed/changed to a fixed space based off the format examples above.



          stela Stefan Landström created issue -
          drulli Ulli Hafner made changes -
          Field Original Value New Value
          Labels DEVTOOLS
          schlangguru Sebastian Seidl made changes -
          Assignee Ulli Hafner [ drulli ] Sebastian Seidl [ schlangguru ]
          drulli Ulli Hafner made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          stela Stefan Landström made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 147906 ] JNJira + In-Review [ 206474 ]


            schlangguru Sebastian Seidl
            stela Stefan Landström
            0 Vote for this issue
            3 Start watching this issue