From: Johan Knol <johan.knol@id...> - 2001-06-25 11:32:53
> char nice_warning;
> code code char *noname;
> Yes, the source is wrong, but the error message looks not sane:
> >error *** two or more storage classes in declaration for 'X;°¶_warning'
That could have crashed the compiler.
It is not alway easy to determine where a type or declaration specifier
belongs to. In this case the error is detected after the "*" but before
"noname" is parsed. So it now reports:
bug.c(12):error *** two or more storage classes in declaration for '*'
There are two more occations where it can occur, for "reentrant using 1" and
for a type_specifier_list. I couldn't reproduce the last. To stay on the
save side, they now report "using_reentrant" and "type_specifier_list", so
the compiler won't crash.