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

          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.

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

              Created:
              Updated:
              Resolved: