Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Cppcheck unknown C/C++ standard #4359

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 10, 2024

  1. [fix] Cppcheck unknown C/C++ standard

    Cppcheck tool is failing from version 2.15 if "--std=" flag is given
    an unknown value. For example, "--std=c++0x" is not known, but
    "--std=c++11" is. Before cppcheck-2.15 the latest known standard
    version was silently used.
    
    In this patch the unknown standard versions are mapped to the known
    ones.
    bruntib committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    893ffd3 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. [fix] Arguments in --cppcheckargs are stronger

    When a C/C++ standard version is provided both in the original build
    command and the --cppcheckargs file, then only the one in --cppcheckargs
    should be used in the analyzer command.
    bruntib committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    ed42e73 View commit details
    Browse the repository at this point in the history