This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28107] Incomplete type in struct added to global namespace
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2007 15:37:17 -0000
- Subject: [Bug c++/28107] Incomplete type in struct added to global namespace
- References: <bug-28107-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pcarlini at suse dot de 2007-08-17 15:37 -------
FWIW, Comeau gives very similar errors:
"ComeauTest.c", line 3: error: incomplete type is not allowed
union B b;
^
"ComeauTest.c", line 6: error: tag kind of class or struct is incompatible with
declaration of union "B" (declared at line 3)
struct B;
^
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28107