Re: A basic question question about volatile use
- From: santosh <santosh.k83@xxxxxxxxx>
- Date: Thu, 31 Jul 2008 12:50:47 +0530
Ark Khasin wrote:
Flash Gordon wrote:
Be aware that the compiler is allowed to put in padding. Since thisI was under the impression that if a struct contains only uint8_t and
is obviously for non-portable code it might be sufficient to just put
in a comment in the code stating that you are relying on the compiler
not putting in any padding.
arrays thereof, there is no padding. Is it wrong?
The [u]intN_t types are specified to contain any padding bits, but
padding between structure members of these types in still allowed.
<snip>
.
- Follow-Ups:
- Re: A basic question question about volatile use
- From: Ark Khasin
- Re: A basic question question about volatile use
- From: santosh
- Re: A basic question question about volatile use
- References:
- A basic question question about volatile use
- From: Ark Khasin
- Re: A basic question question about volatile use
- From: Flash Gordon
- Re: A basic question question about volatile use
- From: Ark Khasin
- A basic question question about volatile use
- Prev by Date: Re: Seg fault even though address space is accessible
- Next by Date: Re: A basic question question about volatile use
- Previous by thread: Re: A basic question question about volatile use
- Next by thread: Re: A basic question question about volatile use
- Index(es):
Relevant Pages
|