On Sat, 6 Sep 2025, Alejandro Colomar wrote:

> While this syntax is not standard, there's a certain degree of consensus
> within the C Committee that, if this was ever standardized, there's a
> preference to have a single list of forward declarations of parameters.

I think that's exaggerating consensus.  The vote in Graz was between 
Martin's and Chris's approaches as a whole rather than specific details 
(the particular thing I had in mind as a key thing to prefer about Chris's 
approach then was that it avoids allowing forward declarations of 
non-parameters, rather than other things about where semicolons are used).

> +  if (current_scope->had_forward_parm_decls)
> +    {
> +      warning_at (input_location, OPT_Wmultiple_parameter_fwd_decl_lists,
> +               "More than one list of forward declarations of parameters are 
> an obsolescent feature");
> +    }

Diagnostics don't start with an uppercase letter (except when one is 
appropriate in the middle of a sentence), and don't use braces around a 
single statement like this.

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

Reply via email to