diff --git a/extras/cppcheck/cppcheck.sh b/extras/cppcheck/cppcheck.sh index fe48a40c..08e9a01e 100755 --- a/extras/cppcheck/cppcheck.sh +++ b/extras/cppcheck/cppcheck.sh @@ -2,7 +2,14 @@ file=cppcheck.txt cppcheck --version -cppcheck src --enable=all --force --inline-suppr --suppress=ConfigurationNotChecked --suppress=unusedFunction --quiet >> $file 2>&1 +cppcheck src --enable=all \ + --force \ + --inline-suppr \ + --suppress=ConfigurationNotChecked \ + --suppress=unusedFunction \ + --suppress=missingIncludeSystem \ + --suppress=missingInclude \ + --quiet >> $file 2>&1 echo "Cppcheck finished with exit code $?" error=$(grep ": error:" $file | wc -l)