Mark Wielaard <[email protected]> writes:

> Hi Sam,
>
> On Wed, Feb 04, 2026 at 04:50:38PM +0000, Sam James wrote:
>> Mark Wielaard <[email protected]> writes:
>> 
>> > clang 21 doesn't like ommitting a parameter name when not in C23 mode.
>> 
>> One of the things you and I discussed a little while ago ;)
>> 
>> You can use -Wmissing-parameter-name to catch this in GCC, btw.
>
> Thanks, I forgot about that. The attached patch contains a configure
> check to make sure -Wmissing-parameter-name is available. Adding it
> did catch the same issue with gcc.

LGTM. There is -Wdeprecated-non-prototype and also -Wfree-labels for
some other C23ish issues.

Reviewed-by: Sam James <[email protected]>

>
>
> [2. text/plain; 
> 0001-configure-Add-Wmissing-parameter-name-if-available.patch]...

Attachment: signature.asc
Description: PGP signature

Reply via email to