Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!Teknowledge.COM!unix!hplabs!hp-ses!hpcuhb!hpda!hpcuhc!hpspcoi!mlau From: mlau@hpspcoi.HP.COM (Mel Lau) Newsgroups: comp.sys.ibm.pc Subject: Re: TC bug in sizeof()? Message-ID: <1640062@hpspcoi.HP.COM> Date: 16 Feb 90 17:52:03 GMT References: <1519@maytag.waterloo.edu> Organization: HP PCG, Sunnyvale CA Lines: 14 In MicroSoft C there is a pack option in the complier /Zp maybe there is one for your complier ?. Also you can play some tricks like declaring a array of chars and then casting as your struck type when accessing the struc members. char foo[10]; struct me *t; t = (struct me *) foo; etc.. Mel