Anonymous Unions
Jonathan Larmour
jlarmour@cygnus.co.uk
Tue Dec 1 06:05:00 GMT 1998
Stan Katz wrote:
>
> Does gcc support the concept of anonymous unions.
IIRC, anonymous unions are not in the C standard, and are not planned for
the C9X standard. Therefore gcc is doing the right thing and not allowing it
in standard C code.
However gcc/g++ does allow it for C++ code, because it _is_ in the C++
standard.
Jifl
--
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK. Tel: +44 (1223) 728762
"Women marry hoping their husbands will change, men||Home e-mail: jifl @
marry hoping their wives never do. Both are rare." || jifvik.demon.co.uk
Help fight spam! http://spam.abuse.net/ These opinions are all my own fault
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.
More information about the crossgcc
mailing list