Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!brl-tgr!tgr!MLY.G.SHADES%MIT-OZ@MIT-MC.ARPA From: MLY.G.SHADES%MIT-OZ@MIT-MC.ARPA Newsgroups: net.lang.c Subject: Standard for union initialization? Message-ID: <7647@brl-tgr.ARPA> Date: Wed, 23-Jan-85 02:05:44 EST Article-I.D.: brl-tgr.7647 Posted: Wed Jan 23 02:05:44 1985 Date-Received: Thu, 24-Jan-85 19:20:11 EST Sender: news@brl-tgr.ARPA Organization: Ballistic Research Lab Lines: 18 in response to Dick Grune's message on union init it seems rather messy to me as the number of commas must be precise. for example: union { char ec; int i; float sreal; char *str; } ini_union = { ,3.14 } here you would want to init the float but the int would be inited instead with 3 under some compiler without warning. shades@mit-oz.arpa p.s. and what about commented in/out variables?