-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check if --cppcheck-build-dir exists #5254
Conversation
6f2d157
to
ce881fe
Compare
On which platform does this happen? It works fine on Windows. |
I am running cppcheck on Debian 12. |
Upon further review, the directory has to be created beforehand on Windows as well. |
Please add a Also this should be implemented via a function in the |
|
6765276
to
50d1c87
Compare
efa8e0f
to
492791c
Compare
@firewave , done from my side. Not sure what to do with the failing checks. I've already tried to rerun them, but they again failed. |
Turns out we already had the functionality implemented in the |
Cppcheck does not report that cppcheck build dir does not exist and also does not report any write issues to the non-existent directory.
This means that cppcheck build dir is actually not used.
We should either create the directory or fail.