Hi,
I'm trying to suppress (using an error supression file), all errors in files ending in suffix ".C"; I tried *:*/*.C*
but without success.
Similarly I'd like to suppress all files on a given group of paths containing */Macro/* with
*:*/Macro/*
but similarly without success, so I guess I misunderstood the format...
Last edit: penguish 2016-05-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've had the same problem with suppressing all errors for files with a given suffix, and ended up having to specify the rule for each directory. For example: *:src/Module1/*xx *:src/Module2/*xx
Last edit: Steven Cook 2016-05-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems it has already been fixed. It was definitely a problem a while ago when I created my suppressions list (possibly as long ago as cppcheck 1.53). The following now work for me with cppcheck 1.73:
*:*/Module/*xx
*:*xx
*:*/*.?xx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm trying to suppress (using an error supression file), all errors in files ending in suffix ".C"; I tried
*:*/*.C*
but without success.
Similarly I'd like to suppress all files on a given group of paths containing
*/Macro/*
withbut similarly without success, so I guess I misunderstood the format...
Last edit: penguish 2016-05-20
I've had the same problem with suppressing all errors for files with a given suffix, and ended up having to specify the rule for each directory. For example:
*:src/Module1/*xx
*:src/Module2/*xx
Last edit: Steven Cook 2016-05-25
Hi!
This sounds like a bug in Cppcheck. Could you please create a ticket (defect) in our bugdatabase so we don't forget this? http://trac.cppcheck.net
I am afraid it might take time to fix it.. so if you have time to investigate how it can be solved that would be much appreciated.
It seems it has already been fixed. It was definitely a problem a while ago when I created my suppressions list (possibly as long ago as cppcheck 1.53). The following now work for me with cppcheck 1.73: