Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ico!ism780c!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: sizeof struct Keywords: sizeof struct Message-ID: <14529@haddock.ima.isc.com> Date: 6 Sep 89 20:19:26 GMT References: <29722@pbhya.PacBell.COM> <7622@cg-atla.UUCP> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Distribution: na Organization: Interactive Systems, Cambridge, MA 02138-5302 Lines: 8 >Some other processors require word alignment, or alignment on a boundary >equal to the size of the item stored there, or other such restrictions. In this particular case, the processor doesn't require any special alignment for the structure in question, but the implementation pads it anyway. (As is its right, silly though it may be.) It's not a bug, just a misfeature. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint