Check for all things with cppcheck
I don't know how to add the src directory as an include base for the cppcheck thing.
Well, this works, but...
I don't know if we want all the reported errors in there.
https://pastebin.com/2a3SHYE9
I feel like this adds way too many warnings. Maybe we should cut down the number of things it checks?
I don't know how to add the src directory as an include base for the cppcheck thing.
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 feel like this adds way too many warnings. Maybe we should cut down the number of things it checks?
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.