I'm curious if there's any documentation re: return codes from cppcheck related to different error conditions. (Tried searching the forum but there's a lot of hits for "return" ;-)
The reason I ask is that we've run into a couple of cases where a misconfiguration has resulted in cppcheck not being able to find all the needed include files, which at least in our case, results in bad results.
I know there's a warning message, but it would be most helpful if we could also check return code and abort the run in that case. (We're doing a fair amount of re-formatting of cppcheck output, and the warning message tends to get lost because of that).
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi again!
I'm curious if there's any documentation re: return codes from cppcheck related to different error conditions. (Tried searching the forum but there's a lot of hits for "return" ;-)
The reason I ask is that we've run into a couple of cases where a misconfiguration has resulted in cppcheck not being able to find all the needed include files, which at least in our case, results in bad results.
I know there's a warning message, but it would be most helpful if we could also check return code and abort the run in that case. (We're doing a fair amount of re-formatting of cppcheck output, and the warning message tends to get lost because of that).
Thanks!