-
-
Notifications
You must be signed in to change notification settings - Fork 494
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 for all things with cppcheck #2833
base: master
Are you sure you want to change the base?
Conversation
I don't know how to add the src directory as an include base for the cppcheck thing. |
[ci skip]
Well, this works, but... |
I don't know if we want all the reported errors in there. |
I feel like this adds way too many warnings. Maybe we should cut down the number of things it checks? |
It is possible to run cmake with -DCMAKE_EXPORT_COMPILE_COMMANDS=1 and pass the compile commands with --project=compile_commands.json to cppcheck. I don't know if using cppcheck this way is still fast.
I think it is important that the cppcheck linting passes in the master branch and can only fail in a Pull Request, telling the developer that further changes are needed. |
No description provided.