8 Nov
2024
8 Nov
'24
10:27 a.m.
On Fri, 8 Nov 2024 13:53:26 +1100
David Gibson
It turns out cppcheck has inbuilt knowledge of the C library, and isn't typically given the system headers. Avoiding doing so reduces the runtime to less than half of what it currently is.
For non-obvious reasons, this change also exposes some new warnings. Some are real, one is a cppcheck bug. Fix and/or workaround these then make the change to the cppcheck options.
This is based on my earlier series with clangd configuration and fixes.
Applied. -- Stefano