On Thursday 10 June 2010, 14:42:47, yuanbin wrote:
> ----------------------------------
> initialization of the union:
> union {
> int i;
> float f;
> } t={1.5}; //t.f
> because of EXTENDS2 in coo.h, compiler needs
> to initialze last member of union.
As said, this is non-standard behaviour. If you want to initialize the last
member, use:
union {
int i;
float f;
} t = { .f=1.5 };
--Ivo
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel