Hi Joseph,

On Fri, Sep 26, 2025 at 06:13:11PM +0000, Joseph Myers wrote:
> On Fri, 26 Sep 2025, Alejandro Colomar wrote:
> 
> > Warn about this:
> > 
> >     void f(int x; int x; int x);
> > 
> > Add a new diagnostic, -Wmultiple-parameter-fwd-decl-lists, which
> > diagnoses uses of this obsolescent syntax.
> > 
> > Add this diagnostic in -Wextra.
> > 
> > Forward declarations of parameters are very rarely used.  And functions
> > that need two forward declaractions of parameters are also quite rare.
> > This combination results in this code almost not existing in any code
> > base, which makes adding this to -Wextra okay.  FWIW, I've tried finding
> > such code using a code search engine, and didn't find any cases (but the
> > regex for that isn't easy to writei, so I wouldn't trust it).
> 
> This patch version is OK.

Thanks!  Would you mind applying?  I don't have push rights.


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