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

CppCheck plugin cannot handle empty files

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • cppcheck-plugin
    • None

      I am running cppcheck automatically on various modules of a project, and so the output xml files are in a folder something like "cppcheck-results/*.xml"

      Once in a while, one of these modules will have only header files, and so cppcheck's xml output is empty (the xml file is blank). However, the cppcheck plugin does not know how to handle an empty file, and errors out. Can we add something to ignore these files instead of causing an error?

            gbois Gregory Boissinot
            khushsk Sagar Khushalani
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: