[Bug c++/12570] G++ fails to accept a legal struct declaration in a namespace
wirawan0 at softhome dot net
gcc-bugzilla@gcc.gnu.org
Fri Oct 10 16:32:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12570
------- Additional Comments From wirawan0 at softhome dot net 2003-10-10 16:32 -------
TEMPORARY WORK-AROUND:
change the one line
typedef struct {real r,i;} complex;
to two lines:
struct complex { real r,i; }
typedef struct complex complex;
More information about the Gcc-bugs
mailing list