-fdebug-types-section unidentifiable anonymous struct (PR debug/49750)

2011-09-28 Thread Jan Kratochvil
;X::t2", making the constructor name "X::t2::t2()"). With posted FSF GDB HEAD fix (fixing another unrelated issue): [patch] Fix printed anonymous struct name http://sourceware.org/ml/gdb-patches/2011-09/msg00483.html I think it would be enough to just put proper dec

Re: anonymous struct

2010-05-03 Thread Pedro Pedruzzi
On 03-05-2010 00:47 wuyin wrote: struct T{ int n; }; struct T1{ struct T; } t; t.n=1; Please support this grammar. I believe it _is_ currently supported with -fms-extensions. See: http://gcc.gnu.org/onlinedocs/gcc/Unnamed-Fields.html Regards, -- Pedro Pedruzzi

Re: anonymous struct

2010-05-03 Thread Michael Witten
On Sun, May 2, 2010 at 22:47, wuyin wrote: > Please support this grammar. > http://sourceforge.net/projects/coo/ My advice is to use a language with proper abstraction facilities, like C++.

Re: anonymous struct

2010-05-03 Thread wuyin
I find. -fms-extentions

anonymous struct

2010-05-02 Thread wuyin
struct T{ int n; }; struct T1{ struct T; } t; t.n=1; Please support this grammar. http://sourceforge.net/projects/coo/