Closed dbedrenko closed 8 years ago
Hi. --suppress="*:<file_name_wildcard>"
should help.
As i understood from documentation, cppcheck doesn't count ifdefs found in --config-exclude
, but checks files anyway.
Fantastic! Thank you! I misread the manual. No more spam from auto-generated source files
I can't figure out how to exclude files or directories from the check (I have some source files I must not change, but create many cppcheck warnings).
cppcheck
has a switch--config-exclude
, but if I add--config-exclude=/absoulet/path/to/exclude_dir
to "custom parameters" in the Settings it doesn't have an effect: warnings from source files inexclude_dir
still show in QtCreator.PS: Big thanks for this plugin :) It allows me to catch problems early.