[Bug c/44854] Improve diagnostic for missing member name or ';' in a struct
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 27 01:14:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44854
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-09-27
CC| |egallager at gcc dot gnu.org
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=44515
Ever confirmed|0 |1
--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
Current gcc now says:
$ /usr/local/bin/gcc -c 44854.c
44854.c:1:18: warning: declaration does not declare anything
struct foo { int };
^
44854.c:1:18: warning: no semicolon at end of struct or union
$
This is better than before, but I guess it could still be improved though. So,
confirmed. Related to bug 44515.
More information about the Gcc-bugs
mailing list