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

IAR parser not finding warnings of IAR ARM compiler

    • warnings-ng 4.0.0, analysis-model-api 3.0.0

      Using the above compiler version, warnings are output in following way:

      "c:\external\specific\cpp\iar_cxxabi.cpp",432 Warning[Pe852]: expression must be a pointer to a complete object type

      "external/specific/wiced/WICED/security/BESL/host/WICED/wiced_p2p.c",81 Warning[Pe549]: variable "result" is used before its value is set

      "external/specific/wiced/WICED/platform/MCU/RTOS_STM32F4xx/platform_dct_external.c",412 Warning[Pe223]: function "memcpy" declared implicitly

      "source/dal/InterMcu/InterMcuTransport.cpp",633 Error[Pe018]: expected a ")"

      With a look to IarParser.java:22, it's clear that the regex does not match.

      With regard to warning-ng-plugin, paths without drive letter have to be recognized as well so that they can be resolved within jenkins workspace.

       

          [JENKINS-55750] IAR parser not finding warnings of IAR ARM compiler

          Torben Stößel created issue -
          Ulli Hafner made changes -
          Assignee Original: Ulli Hafner [ drulli ]
          Labels New: help-wanted newbie-friendly
          Torben Stößel made changes -
          Description Original: Using the above compiler version, warnings are output in following way:
          {quote}{{"c:\external\specific\cpp\iar_cxxabi.cpp",432 Warning[Pe852]: expression must be a pointer to a complete object type}}
          {quote}
          With a look to *IarParser.java:22*, it's clear that the regex does not match.

          With regard to warning-ng-plugin, paths without drive letter have to be recognized as well so that they can be resolved within jenkins workspace.
          New: Using the above compiler version, warnings are output in following way:
          {quote}{{"c:\external\specific\cpp\iar_cxxabi.cpp",432 Warning[Pe852]: expression must be a pointer to a complete object type}}

          "external/specific/wiced/WICED/security/BESL/host/WICED/wiced_p2p.c",81 Warning[Pe549]: variable "result" is used before its value is set

          {{"external/specific/wiced/WICED/platform/MCU/RTOS_STM32F4xx/platform_dct_external.c",412 Warning[Pe223]: function "memcpy" declared implicitly}}

          {{"source/dal/InterMcu/InterMcuTransport.cpp",633 Error[Pe018]: expected a ")"}}
          {quote}
          With a look to *IarParser.java:22*, it's clear that the regex does not match.

          With regard to warning-ng-plugin, paths without drive letter have to be recognized as well so that they can be resolved within jenkins workspace.

           
          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 ]
          Lorenz Aebi made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Ulli Hafner made changes -
          Released As New: warnings-ng 4.0.0, analysis-model-api 3.0.0
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]

            laebi Lorenz Aebi
            stoesselt Torben Stößel
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: