This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28107] Incomplete type in struct added to global namespace



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]