https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110374

            Bug ID: 110374
           Summary: slightly incorrect warning text "ISO C forbids forward
                    parameter declarations"
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vincent-gcc at vinc17 dot net
  Target Milestone: ---

With -pedantic, on

int f(int n; int n) { return n; }

I get:

tst.c:1:1: warning: ISO C forbids forward parameter declarations [-Wpedantic]
    1 | int f(int n; int n) { return n; }
      | ^~~

Instead of "forward parameter declarations", it should be "parameter forward
declarations", as https://gcc.gnu.org/onlinedocs/gcc/Variable-Length.html calls
it "parameter forward declaration".

Reply via email to