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;) { }