Standard for union initialization?

Rob Warnock rpw3 at redwood.UUCP
Thu Jan 17 13:27:24 AEST 1985


Notice that the "first element" rule makes it virtually impossible to
do things like initialize symbol tables at compile time, unless you
give up using unions. The whole point of unions is that they can vary,
but if I can only initialize one to the first "type", how do I initialize
an array of them, some of which are of various types?


Rob Warnock
Systems Architecture Consultant

UUCP:	{ihnp4,ucbvax!dual}!fortune!redwood!rpw3
DDD:	(415)572-2607
USPS:	510 Trinidad Lane, Foster City, CA  94404



More information about the Comp.lang.c mailing list