This is the mail archive of the gcc@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]

Re: TODO: egcs-g++


oliva@dcc.unicamp.br (Alexandre Oliva) writes:

> On Apr 10, 1999, Ildar Mulyukov <ildar@faki-campus.mipt.ru> wrote:
> 
> > But when I just started using egcs c++ I encountered 2 problems.
> 
> Nope, egcs did encounter 2 problems :-D
> 
> > struct _stru {
> >     int i;
> >     union {
> >         struct { int j0, j1; };
>                                 ^ some variable name is missing here
> >         int j[2];
> >     }
>        ^ struct and union declarations must be terminated with `;'
> > };
> 
> > The worst thing is that TinySoft's VisualC++ eats it ok :-)
> 
> Send them a bug report then :-)

Anonymous structures are a Microsoft extension. They are
also supported by the plan9 compiler I think.

-Andi

-- 
This is like TV. I don't like TV.


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