This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/63543] incomplete type error should suppress duplicates
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Oct 2014 10:00:41 +0000
- Subject: [Bug c/63543] incomplete type error should suppress duplicates
- Auto-submitted: auto-generated
- References: <bug-63543-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63543
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #2 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
It would also be nice to mention the type.
test.c:6:12: error: incomplete definition of type 'struct undefined'
int x = f->a;
~^
test.c:2:8: note: forward declaration of 'struct undefined'
struct undefined;
^