Hi Joseph,

On Mon, Sep 08, 2025 at 09:21:20PM +0000, Joseph Myers wrote:
> 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).

Hmmm, okay.

> > +  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),

Ahh, okay; I based from one that started with 'ISO', so didn't realize
they start with lowercase.

> and don't use braces around a 
> single statement like this.

Okay.


Have a lovely night!
Alex

-- 
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).

Attachment: signature.asc
Description: PGP signature

Reply via email to