problem with nameless structs and unions

Alexandre Oliva aoliva@redhat.com
Fri Mar 16 06:53:00 GMT 2001


On Mar 16, 2001, Tuukka Lehtonen <tvlehton@cc.hut.fi> wrote:

> GCC doesn't seem to support nameless structures inside unions for
> example..

Anonymous structures are not specified in any language standard.
Anonymous unions are.  GCC 2.95 supports only the latter.  IIRC,
anonymous structures are supported as an extension in development
snapshots.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-help mailing list