I would like to use Cppcheck for static code analysis of my C++ code. I learned that I can suppress some kind of warnings with --inline-suppr command.
However, I can’t find what “suppressed_error_id” I should put in the comment:
// cppcheck-suppress "suppressed_error_id"
According to the cppcheck help:
So run cppcheck against some code that contains the error with the
--xmlflag, and then look in the generated XML file to find its name.