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

MSBuild parser doesn't match errors from clang when -fdiagnostics-format=msvc is used

    • 5.0.0 (analysis-model and warnings-ng)

      I think this is because the error message doesn't contain a category number:

      MSBuild: <filename>(29,53): error X3004: undeclared identifier...
      vs
      Clang MSVC: <filename>(334,3): error : use of undeclared identifier...

      The latter is accepted by VS2015, and this is an easier fix for us than switching to clang's own output format.

          [JENKINS-38685] MSBuild parser doesn't match errors from clang when -fdiagnostics-format=msvc is used

          Nick Ridgway created issue -

          Ulli Hafner added a comment -

          There is an CLANG parser available, did you try that one?

          Ulli Hafner added a comment - There is an CLANG parser available, did you try that one?

          Nick Ridgway added a comment -

          The CLANG parser doesn't successfully parse errors in MSVC format. Changing the diagnostics-format we use would require big changes elsewhere.

          Nick Ridgway added a comment - The CLANG parser doesn't successfully parse errors in MSVC format. Changing the diagnostics-format we use would require big changes elsewhere.
          Ulli Hafner made changes -
          Assignee Original: Ulli Hafner [ drulli ]
          Ulli Hafner made changes -
          Component/s New: analysis-model [ 23523 ]
          Component/s New: warnings-ng-plugin [ 24526 ]
          Component/s Original: warnings-plugin [ 15513 ]
          Labels New: help-wanted newbie-friendly
          Ulli Hafner made changes -
          Epic Link New: JENKINS-56456 [ 198054 ]
          Tobias Schaffner made changes -
          Assignee New: Tobias Schaffner [ tschaffn ]
          Ulli Hafner made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Ulli Hafner made changes -
          Rank New: Ranked lower
          Ulli Hafner made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Fixed but Unreleased [ 10203 ]

            tschaffn Tobias Schaffner
            nridgway Nick Ridgway
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: