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

Warnings Compiler Plugin for IAR C/C++ does not report warnings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • warnings-plugin
    • None
    • Warnings plugin (v3.13) running on Hudson (v1.392)

      A build project runs the IAR command line executable (IARbuild.exe) for IAR 7.60 that logs warnings.
      Using the Post-build attribute "Scan for compiler warnings":

      • Scan console log = checked
      • Parsers = IAR C/C++ Compiler

      Using this parser, no Compilation warnings are generated.

      Typical IAR log output:
      ----------------------------------------
      c:\hudson\jobs\05 fw\workspace>"C:\Program Files (x86)\IAR Systems\IAR-IDE-EW8051_7_60_A\common\bin\IarBuild.exe" trunk/ide/iar/05_fw.ewp -build "Firmware - release" -log warnings

      IAR Command Line Build Utility V5.6.2.0
      Copyright (C) 2002-2010 IAR Systems AB.

      Building configuration: 05_fw - Firmware - release
      Updating build tree...

      1 file(s) deleted.
      Updating build tree...
      reservations.c board.c digio.c int.c led.c mcu.c mem.c
      cstartup.s51
      debug.s51
      Linking
      Warning[w18]: Segment XDATA_AN (seg part no 62, symbol "pDataBuffer" in module "reservations", address [f4e8-fd7f]) overlaps segment XDATA_AN (seg part no 64, symbol "sharedBufMemory" in module "reservations", address [f4e8-fd7f])

      Total number of errors: 0
      Total number of warnings: 1

      c:\hudson\jobs\SmartRF05 FW\workspace>exit 0
      [WARNINGS] Parsing warnings in console log...
      Archiving artifacts
      Finished: SUCCESS
      ----------------------------------------

            drulli Ulli Hafner
            aasmundbo Åsmund Bakke Bø
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: