Path: utzoo!attcan!uunet!husc6!bloom-beacon!gatech!purdue!decwrl!hplabs!hpda!hpcupt1!hpcuhb!hpcllla!hpcllz2!walter From: walter@hpcllz2.HP.COM (Walter Murray) Newsgroups: comp.std.c Subject: Question about unions Message-ID: <16490002@hpcllz2.HP.COM> Date: 25 May 88 18:56:00 GMT Organization: HP NSG/ISD Computer Language Lab Lines: 12 Section 3.5.2.1 of the January draft, after permitting holes in structure objects, goes on to say, "There may also be unnamed padding at the end of a structure, as necessary to achieve the appropriate alignment were the structure to be a member of an array." Is there any reason a similar statement is not made about unions? Section 3.3.3.4 (the sizeof operator) certainly implies that a union may have padding. Walter Murray