Hi Rainer,
On Mon, Mar 30, 2026 at 11:17:48AM +0100, Rainer Weikusat via Dng wrote:
> The advantage of omitting the name when the parameter isn't meant to be
> used is that it avoids a warning about an unused parameter. But I think
> this should support C99 and hence, will change it accordingly.
Why not stick with the new C standard as the baseline for a new project?
It's rare enough one gets a chance to do this and C23 has some solid
improvements!
gcc-14/13 in Excalibur support most of C23 and gcc-12/11 in Daedalus
support a subset including N2480 "unnamed parameters in function
definitions".
https://en.cppreference.com/w/c/23.html