codechecker icon indicating copy to clipboard operation
codechecker copied to clipboard

[fix] Cppcheck unknown C/C++ standard

Open bruntib opened this issue 4 months ago • 0 comments

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 avatar Oct 10 '24 11:10 bruntib