https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63591
--- Comment #5 from Kjetil Matheussen ---
Sorry, complete example below. The problem with the code is:
1. Proto doesn't match function. There is an extra semicolon in the proto, but
not in the function itself.
2. Calling "afunction" may cause me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63591
--- Comment #3 from Kjetil Matheussen ---
I didn't know about this gnu extension. But regardless, shouldn't gcc complain
when the proto doesn't match the function itself?
Also, although I don't understand how this extension works from the
docume
: 4.8.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: k.s.matheussen at notam02 dot no
This code should, as far as I know, not be legal C code:
extern int afunction