Re: Structure size directives
- From: those who know me have no need of my name <not-a-real-address@xxxxxxx>
- Date: 06 Dec 2007 11:20:48 GMT
in comp.lang.c i read:
Unaligned accesses to objects, should be banned. It has nothing to do
with portable C code, it might trigger a core dump on non-x86 CPU.
even on x86 systems with the right option enabled.
but i think jacob's point is that people want these "dense" struct's and
that there should be a way to get the compiler to emit the code necessary
to marshall the data. some systems would turn off or on some option while
the program is running, other systems would need the type of handling often
seen in c code for marshalling "plain" structs into and out of arrays of
unsigned char, etc...
--
a signature
.
- Follow-Ups:
- Re: Structure size directives
- From: Tor Rustad
- Re: Structure size directives
- From: CBFalconer
- Re: Structure size directives
- References:
- Structure size directives
- From: jacob navia
- Re: Structure size directives
- From: Tor Rustad
- Structure size directives
- Prev by Date: FFT on PIC16F877A?
- Next by Date: Re: Unexpected Results
- Previous by thread: Re: Structure size directives
- Next by thread: Re: Structure size directives
- Index(es):