$catfoo.c#include<stdio.h>voidmain(void){}$cppcheck--enable=all foo.cnofile:0:0:information:Cppcheckcannotfindalltheincludefiles(use--check-config for details) [missingIncludeSystem]
this is a really confusing 'error' message - it says it "cannot find" the include file, and suggests that it is "missing" but this seems to be wrong - i gather that it really means that it did not check the file listed in #include. Could you make the error clearer by changing the text to say
nofile:0:0:information:Cppcheckdoesnotcheckincludedfilesbydefault(use--check-config for details) [skippedIncludeSystem]
(or even just changing the text before [missingIncludeSystem] would make life easier for the user)
is also quite confusing - it's clearly not the case that stdio was "not found"
Couldyou make this one say
/tmp/foo.c:1:0: information: Include file: <stdio.h> not checked.
Please note: Cppcheck does not need to check standard library headers to get proper results. [skippedIncludeSystem]</stdio.h>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
this is a really confusing 'error' message - it says it "cannot find" the include file, and suggests that it is "missing" but this seems to be wrong - i gather that it really means that it did not check the file listed in #include. Could you make the error clearer by changing the text to say
(or even just changing the text before [missingIncludeSystem] would make life easier for the user)
Similarly,
is also quite confusing - it's clearly not the case that stdio was "not found"
Couldyou make this one say
/tmp/foo.c:1:0: information: Include file: <stdio.h> not checked.
Please note: Cppcheck does not need to check standard library headers to get proper results. [skippedIncludeSystem]</stdio.h>
Yes, the wording and handling needs to be reworked a bit. It is just misleading and noisy right now. I have not looked into it so far.