CppCheck plugin cannot handle empty files

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Critical
    • Component/s: 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?

            Assignee:
            Gregory Boissinot
            Reporter:
            Sagar Khushalani
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: