With commit: cc24d6fc (Oliver Stöneberg 2021-12-19 12:36:11 +0100)
When a file is not found inside of complile_commands.json an error is returned.
I am working on a project where multiple intermediate files are created and deleted, which do not exist at the time cmake is run, even after make is run with different target.
This is making cppcheck impossible to use.
Hello,
With commit: cc24d6fc (Oliver Stöneberg 2021-12-19 12:36:11 +0100)
When a file is not found inside of complile_commands.json an error is returned.
I am working on a project where multiple intermediate files are created and deleted, which do not exist at the time cmake is run, even after make is run with different target.
This is making cppcheck impossible to use.
To workaround the problem I will modify locally the source at
https://github.com/danmar/cppcheck/blob/main/lib/importproject.cpp#L446 to suppress the problem for me.
Thanks,
Alfred
Last edit: alfred 2022-01-13