From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Graegert Subject: Re: Any pointer to Byte Alignment & Structure Padding? Date: Thu, 4 Aug 2005 18:28:00 +0200 Message-ID: <6a00c8d5050804092872284155@mail.gmail.com> References: <014001c5968e$4e30ca70$9900a8c0@ispl091> <6eee1c40508010514517b5b90@mail.gmail.com> <6eee1c405080105164cfbbaaa@mail.gmail.com> <673ac06405080402432d0feda3@mail.gmail.com> <6eee1c40508040823165f1df7@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <6eee1c40508040823165f1df7@mail.gmail.com> Content-Disposition: inline Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: Vadiraj Cc: Prabhat Hegde , linux-c-programming 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? Regards \Steve -- Steve Graegert Software Consultancy {C/C++ && Java && .NET} Mobile: +49 (176) 21248869 Office: +49 (9131) 7126409