daca@home: Set '--inline-suppr' flag.

This commit is contained in:
orbitcowboy 2022-06-21 16:18:12 +02:00
parent 78804ca18c
commit 6f303ce61c
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ import shlex
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/ # 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 # Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
# changes) # changes)
CLIENT_VERSION = "1.3.24" CLIENT_VERSION = "1.3.25"
# Timeout for analysis with Cppcheck in seconds # Timeout for analysis with Cppcheck in seconds
CPPCHECK_TIMEOUT = 30 * 60 CPPCHECK_TIMEOUT = 30 * 60
@ -336,7 +336,7 @@ def scan_package(work_path, cppcheck_path, jobs, libraries, capture_callstack=Tr
dir_to_scan = 'temp' dir_to_scan = 'temp'
# Reference for GNU C: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html # Reference for GNU C: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
options = libs + ' --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2' options = libs + ' --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2'
options += ' -D__GNUC__ --platform=unix64' options += ' -D__GNUC__ --platform=unix64'
options += ' -rp={}'.format(dir_to_scan) options += ' -rp={}'.format(dir_to_scan)
if sys.platform == 'win32': if sys.platform == 'win32':