Missing ; should be easily identified
J. Grant
jg-lists@jguk.org
Tue Apr 1 00:45:00 GMT 2003
Hello,
I think this missing ; should be easily identified, could a suggestion
of a missing ; be added to this error message?
e.g. "mips-dis.c:222: parse error before '}' token, perhaps missing ; on
this line or before."
The context of the source code could be used to identify if it was
something else I expect, as arrays initalised would end differently etc.
Perhaps this has already be considered and ruled out? I would be
interested to hear if this could be implemented.
Please include my email address in replies.
Regards
JG
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd
-I./../include -I./../bfd -I./../intl -I../intl -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -g -O2 -c mips-dis.c -o mips-dis.o
mips-dis.c: In function `decomp_print_list_items':
mips-dis.c:222: parse error before '}' token
mips-dis.c:230: warning: function declaration isn't a prototype
mips-dis.c:488: warning: function declaration isn't a prototype
More information about the Gcc-bugs
mailing list