Thank you! That worked fine :)
I just noticed that the above mentioned command line options --include-file and --includes-file are not mentioned in the PDF manual. I used cppcheck --help to find out about their existence. I feel like they should be added to the manual. Thanks in advance!
Hello, ever since SuperTux switched over to using cppcheck 2.19, we're getting a bunch of unknown macro errors for SDL_VERSION_ATLEAST in our code. An example being: src/control/game_controller_manager.cpp:312:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [syntaxError] #if SDL_VERSION_ATLEAST(2, 0, 9) Now, we're trying to suppress them. Unfortunately, the syntaxError category is a little too broad, so I feel uncomfortable just adding...
The same is true for the functions srgb_to_linear_srgb linear_srgb_to_srgb linear_srgb_to_oklab
In the attached file, in line 119, the parameter c can be passed as const ref ColorOKLCh lab_to_lch(ColorOKLab& c) { return ColorOKLCh{c.L, sqrtf(c.a * c.a + c.b * c.b), atan2f(c.b, c.a)}; } cppcheck 2.5 somehow misses that.
I fixed this issue with https://github.com/SuperTux/sqrat/commit/c42e14a5f3f2136fc6366ed86d592b81f6683884 . If you want, you can push that upstream.
I fixed this issue with https://github.com/SuperTux/sqrat/commit/c42e14a5f3f2136fc6366ed86d592b81f6683884. If you want, you can push that upstream.
Crash in sqrat_importbin with OS X 10.13.2
Compiler warnings in SQRat code