When compiling with /MP, Visual Studio extends warnings with a note

          (compiling source file F:\ull\path.cpp)

      which is parsed as part of the directory, so warnings are shown with a directory name that looks like

         ] (compiling source file F:\ull\path.cpp)F:\ull\path\to\directory

      This also breaks collapsing identical warnings in headers.

        1. dir.png
          60 kB
          Simon Richter

          [JENKINS-56450] MSBuild parser fails when compiling with /MP

          Simon Richter created issue -
          Ulli Hafner made changes -
          Epic Link New: JENKINS-56456 [ 198054 ]
          Ulli Hafner made changes -
          Assignee Original: Ulli Hafner [ drulli ]
          Labels New: help-wanted newbie-friendly
          Lorenz Aebi made changes -
          Assignee New: Lorenz Aebi [ laebi ]
          Lorenz Aebi made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Lorenz Aebi made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Ulli Hafner made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Marne made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Marne made changes -
          Comment [ We are seeing this issue while using
          * Analysis Model API in Version 10.21.0
          * Warnings Next Generation in Version 9.22.0

          That is the same issue in the same file is reported multiple times. Each time with another file in the "compiling source file" annotation.

          Example log output (in German):

          {noformat}
          175>c:\jenkins\workspace\develop\file.h(76): warning C4100: "Id": Unreferenzierter formaler Parameter (Quelldatei wird kompiliert main.cpp) [C:\Jenkins\workspace\develop\project.vcxproj]
          {noformat}
          ]
          Ulli Hafner made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Closed [ 6 ]

            laebi Lorenz Aebi
            simonrichter Simon Richter
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: