On Sat, 26 Apr 2025, Florian Weimer wrote:

> Builtins defined with BT_FN_INT_VAR etc. show as functions without
> a prototype and trigger the warning.
> 
> gcc/c/
> 
>       PR c/119950
>       * c-typeck.cc (convert_arguments): Check for built-in
>       function declaration before warning.
> 
> gcc/testsuite/
> 
>       * gcc.dg/Wdeprecated-non-prototype-5.c: New test.

OK.

-- 
Joseph S. Myers
josmy...@redhat.com

Reply via email to