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. -- Joseph S. Myers [email protected]
