Closed ee7 closed 3 weeks ago
Ah, sure. Done (I think).
Clearly this isn't the most important PR, but I'm making it with a view towards enforcing in CI that a pinned modern versions of GCC and Clang don't produce some agreed subset of warnings. That OK?
Building the code with GCC 14.1 (the latest stable release, 2024-05-07) produced warnings of the form:
as that version introduced the
-Wcalloc-transposed-args
warning, and enables it when-Wextra
is used (as ourmeson.build
does).Resolve those warnings as suggested, so there are no warnings when running
./dev build
on x86_64 Linux with GCC 14 installed.The
-Wcalloc-transposed-args
option is documented as: