I read the manual, and created a file called suppress-list.ini with some suppressions.
But, when I call CppCheckGui.exe --suppress-list=suppress-list.ini, I get the error message 'No suitable files found to analyze!'.
How can I set the suppressed list? (Why isn't this part of the settings anyway?!?!?!?)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
cppcheck gui does not understand all the cppcheck flags.
create a project in the cppcheck gui. in the project dialog goto tab "Warning options". There you have a "Suppressions" list box where you can add suppressions.
The quickest approach to add suppressions is to scan your project. Then right click on a warning that you don't like and in the popup menu click on "suppress with id". The suppression is added in the "Suppressions" list box so you can remove/edit it there.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I read the manual, and created a file called suppress-list.ini with some suppressions.
But, when I call CppCheckGui.exe --suppress-list=suppress-list.ini, I get the error message 'No suitable files found to analyze!'.
How can I set the suppressed list? (Why isn't this part of the settings anyway?!?!?!?)
cppcheck gui does not understand all the cppcheck flags.
create a project in the cppcheck gui. in the project dialog goto tab "Warning options". There you have a "Suppressions" list box where you can add suppressions.
The quickest approach to add suppressions is to scan your project. Then right click on a warning that you don't like and in the popup menu click on "suppress with id". The suppression is added in the "Suppressions" list box so you can remove/edit it there.