diff --git a/tools/donate-cpu-server.py b/tools/donate-cpu-server.py index 96971a007..296281434 100755 --- a/tools/donate-cpu-server.py +++ b/tools/donate-cpu-server.py @@ -25,7 +25,7 @@ import html as html_lib # Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/ # Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic # changes) -SERVER_VERSION = "1.3.26" +SERVER_VERSION = "1.3.27" OLD_VERSION = '2.9' @@ -81,6 +81,22 @@ def overviewReport() -> str: html += 'checkLibraryFunction report
\n' html += 'checkLibraryNoReturn report
\n' html += 'checkLibraryUseIgnore report
\n' + # TODO: how to get these messages? + #html += 'checkLibraryCheckType report
\n' + html += '
\n' + html += 'Debug warnings:
\n' + html += 'debug
\n' + html += 'varid0
\n' + html += 'valueType
\n' + html += 'noparamend
\n' + html += 'simplifyTypedef
\n' + html += 'simplifyUsingUnmatchedBodyEnd
\n' + html += 'simplifyUsing
\n' + #html += 'autoNoType
\n' + #html += 'valueFlowBailout
\n' + #html += 'bailoutUninitVar
\n' + #html += 'symbolDatabaseWarning
\n' + #html += 'valueFlowBailoutIncompleteVar
\n' html += '
\n' html += 'Important errors:
\n' html += 'cppcheckError
\n' diff --git a/tools/donate_cpu_lib.py b/tools/donate_cpu_lib.py index 0231a6239..713dcf0ff 100644 --- a/tools/donate_cpu_lib.py +++ b/tools/donate_cpu_lib.py @@ -406,7 +406,8 @@ def scan_package(cppcheck_path, source_path, jobs, libraries, capture_callstack= dir_to_scan = source_path # Reference for GNU C: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html - options = libs + ' --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2' + options = libs + ' --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --suppress=unmatchedSuppression --template=daca2' + options += ' --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=valueFlowBailoutIncompleteVar' options += ' -D__GNUC__ --platform=unix64' options_rp = options + ' -rp={}'.format(dir_to_scan) if __make_cmd == 'msbuild.exe':