From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vadiraj Subject: Re: Any pointer to Byte Alignment & Structure Padding? Date: Fri, 5 Aug 2005 22:21:51 +0530 Message-ID: <6eee1c40508050951408b34cb@mail.gmail.com> References: <014001c5968e$4e30ca70$9900a8c0@ispl091> <6eee1c40508010514517b5b90@mail.gmail.com> <6eee1c405080105164cfbbaaa@mail.gmail.com> <673ac06405080402432d0feda3@mail.gmail.com> <6eee1c40508040823165f1df7@mail.gmail.com> <6a00c8d5050804092872284155@mail.gmail.com> Reply-To: Vadiraj Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <6a00c8d5050804092872284155@mail.gmail.com> Content-Disposition: inline Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: Steve Graegert Cc: linux-c-programming On 8/4/05, Steve Graegert wrote: > On 8/4/05, Vadiraj wrote: > > On 8/4/05, Prabhat Hegde wrote: > > [snip] > > > Arranging the structure as mentioned above will definitely remove > > portablility issue > > as for both 4 byte or 8 byte aligned compilers the size will be 16 bytes. > > What about endianess? Portability with respect to alignment. -- cheers, Vadi