[Bug c/20385] Lame parse error message for undefined type
bonzini at gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 15 15:27:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20385
Paolo Bonzini <bonzini at gnu dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bonzini at gnu dot org
--- Comment #6 from Paolo Bonzini <bonzini at gnu dot org> 2010-11-15 15:16:44 UTC ---
Still doesn't get function parameters right, i.e.
int f(unknowntype a) { return 0; }
int g(unknowntype *a) { return 0; }
gives
f.c:1:19: error: expected ‘)’ before ‘a’
f.c:2:19: error: expected ‘)’ before ‘*’ token
Fixing it shouldn't be too hard, though.
More information about the Gcc-bugs
mailing list