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++/12570] G++ fails to accept a legal struct declaration in a namespace


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;


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