Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site redwood.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!zehntel!hplabs!hpda!fortune!rhino!redwood!rpw3
From: rpw3@redwood.UUCP (Rob Warnock)
Newsgroups: net.lang.c
Subject: Re: Standard for union initialization?
Message-ID: <127@redwood.UUCP>
Date: Wed, 16-Jan-85 22:27:24 EST
Article-I.D.: redwood.127
Posted: Wed Jan 16 22:27:24 1985
Date-Received: Mon, 21-Jan-85 03:35:15 EST
References: <6995@brl-tgr.ARPA> <7004@brl-tgr.ARPA> <6847@watdaisy.UUCP> <10884@watmath.UUCP> <553@plus5.UUCP>
Organization: [Consultant], Foster City, CA
Lines: 13

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