[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] structure packing

From: David Gay
Subject: Re: [avr-gcc-list] structure packing
Date: Thu, 05 Jun 2003 13:44:53 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314

Ömer Sinan KAYA wrote:
sorry i mean 8 bits instead of 8 byte in my previous mail.Thanks for
the hint.

Then you should be using bit fields. No C compiler I'm aware of will align non-bitfield struct members on bit boundaries... (as a start, it would require either bit-addressable hardware or heroic pointer dereferencing code).

David Gay

reply via email to

[Prev in Thread] Current Thread [Next in Thread]