another issue I observed is that i get a missing include message when I enable only "missingInclude" check, but it states the severity "information".
And I get the same message with the same severity when I only enable "information" check... (scanning the same code)
I think I don't understand the relation of enabled checks and resulting messages/severities. Does the information check bundle unused function check and missing includes check?
Another issue i observe is that setting the -j option to a value higher than 1 disables the information check too. At least I get no information messages anymore, and neither any missing includes messages. As to now I think the manual only states that the unused functions check gets disabled...
By the way: I think there are 6 severities, right? How many ID's are there, and how do they correlate with the severities?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello,
the help information of cppcheck 1.68 states that enabling style enables the following checks:
Enable all coding style checks. All messages
with the severities 'style', 'performance' and
'portability' are enabled.
I may be wrong, but if I put only --enable=style there are also warning messages appearing in the output. Maybe I get something wrong there...?
regards
frithjofh
hello again,
another issue I observed is that i get a missing include message when I enable only "missingInclude" check, but it states the severity "information".
And I get the same message with the same severity when I only enable "information" check... (scanning the same code)
I think I don't understand the relation of enabled checks and resulting messages/severities. Does the information check bundle unused function check and missing includes check?
Another issue i observe is that setting the -j option to a value higher than 1 disables the information check too. At least I get no information messages anymore, and neither any missing includes messages. As to now I think the manual only states that the unused functions check gets disabled...
By the way: I think there are 6 severities, right? How many ID's are there, and how do they correlate with the severities?
--errorlist gives you a list of all messages or checks.
oh, thanks, I overlooked that option... I will have a look at it, that should give an answer to one of my questions already. Thanks again.