leemoa / cppcheclipse

Automatically exported from code.google.com/p/cppcheclipse
0 stars 0 forks source link

Support of --supressions #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
cppcheck has the capability to suppress messages.

All contents of a file given as an argument of --supressions xxx.txt are 
suppressed on output.

For better handling of the warnings and errors it would be fine to have this 
feature, to suppress e.g. the missingInclude messages.

Suggestion:

- add switch and a text field for adding a suppression file name to the command 
line.

or

- add a list of all available IDs (like in problems) and build a temporary 
suppression file on the fly from the selected items and add it to the command 
line.

for reference see http://cppcheck.sourceforge.net/manual.pdf Chapter 6.

Original issue reported on code.google.com by wohau...@gmx.de on 25 Mar 2011 at 4:31

GoogleCodeExporter commented 9 years ago
That's already possible: Use the problems view to suppress specific warnings, 
use the suppressions view to manage whole file suppressions or line 
suppressions (to set the line suppression just use quick-fix on an error 
message from cppcheck.)

Original comment by konra...@gmx.de on 2 Apr 2011 at 9:11