[Bug c/101212] New: forward declaration of parameter

muecker at gwdg dot de gcc-bugzilla@gcc.gnu.org
Fri Jun 25 16:24:29 GMT 2021


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

            Bug ID: 101212
           Summary: forward declaration of parameter
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: muecker at gwdg dot de
  Target Milestone: ---

In the following function definition GCC does not warn about the forward
declaration of 'x' which then is not a parameter.

void foo(int x;)
{

}


More information about the Gcc-bugs mailing list