tim@cmu-cs-k.ARPA (Tim Maroney) (11/08/84)
In the interests of pluralism, here is another idea concerning union
initialization. Allow assignment expressions at the external level. The
RHS would have to be a compile-time constant, and the LHS an already
declared lvalue. Thus, you would have:
union {
float x;
int y;
} foo;
foo.x = 3;
Just a thought....
--
Tim Maroney, Carnegie-Mellon University Computation Center
ARPA: Tim.Maroney@CMU-CS-K
uucp: Try sending through a gateway such as DECWRL, UCB-VAX, SEISMO,
or HARVARD -- mailer conventions differ on syntax