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

2013-09-05 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28107 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |RESOLVED

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

2013-09-05 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28107 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org --- Yes, this is invalid, a member definition such as union B b; does not declare a nested type, that would be: struct A { union B; B b; };

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

2013-05-13 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28107 --- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com --- Likewise does current ICC and OracleStudio and rather recent clang. I guess this could use some further triage.

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

2007-08-17 Thread pcarlini at suse dot de
--- 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

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

2006-06-20 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-20 19:39 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added