This is new behaviour (built from source yesterday).
The .a1 files are being written (correctly) to the specified cppcheck-build-dir.
The .snalyzerinfo files are being written alongside the source file being analyzed.
With the exact same command line, these files used to also go into the specified cppcheck-build-dir.
This is new behaviour (built from source yesterday).
The .a1 files are being written (correctly) to the specified cppcheck-build-dir.
The .snalyzerinfo files are being written alongside the source file being analyzed.
With the exact same command line, these files used to also go into the specified cppcheck-build-dir.
This behaviour was introduced recently.
(roughly) my command line:
Last edit: Jim Kuhn 2022-08-24
The bug is on line 123 of lib/analyzerinfo.cpp
The test is inverted. It should be
==
Thanks for investigating, this seems to be the offending commit: https://github.com/danmar/cppcheck/commit/b387ae80f11e8645e38810b28209daef90e54503 Would you be able to prepare a PR?