You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CodeChecker seems to ignore passing options to cppcheck the "old way".
I will find alot reports stating Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. despite adding this flag.
CodeChecker version
Kind | Version
Base package version | 6.25.0
Package build date | 2025-03-13T16:02
Git commit ID (hash) | 90df5ab
Git tag information | 6.25
Server supported Thrift API version | 6.61
Client Thrift API version | 6.61
[WARNING 2025-03-17 16:29] - "--cppcheckargs" is deprecated. Use "--analyzer-config cppcheck:cc-verbatim-args-file=" instead.
Expected behaviour
cppcheck should use the flags from the file
Desktop (please complete the following information)
OS: Linux
(podman container)
Additional context
Note that before version 6.25 the only way to add the --check-level=exhaustive flag is via --cppcheckarg, and I have existing projects (and their branches) depend on it.
With Version 6.25 its now deprecated and not working, means updating CodeChecker alone will end up with tons of new reports.
The text was updated successfully, but these errors were encountered:
Describe the bug
CodeChecker seems to ignore passing options to cppcheck the "old way".
I will find alot reports stating
Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
despite adding this flag.CodeChecker version
Kind | Version
Base package version | 6.25.0
Package build date | 2025-03-13T16:02
Git commit ID (hash) | 90df5ab
Git tag information | 6.25
Server supported Thrift API version | 6.61
Client Thrift API version | 6.61
To Reproduce
Steps to reproduce the behaviour:
CodeChecker analyze --report-hash context-free-v2 --analyzers cppcheck --cppcheckargs /tmp/cppcheckargs.txt -i "${BUILD_TEMPDIR}"/_file.list -o "${BUILD_TEMPDIR}"/_plists "$BUILDDIR"/compile_commands.json
[WARNING 2025-03-17 16:29] - "--cppcheckargs" is deprecated. Use "--analyzer-config cppcheck:cc-verbatim-args-file=" instead.
Expected behaviour
cppcheck should use the flags from the file
Desktop (please complete the following information)
(podman container)
Additional context
Note that before version 6.25 the only way to add the
--check-level=exhaustive
flag is via--cppcheckarg
, and I have existing projects (and their branches) depend on it.With Version 6.25 its now deprecated and not working, means updating CodeChecker alone will end up with tons of new reports.
The text was updated successfully, but these errors were encountered: