Re: Off-topic
Snow Cat (snowcat@netgate.net)
Mon, 10 Mar 1997 00:49:37 -0800 (PST)
Marc Lehmann once wrote:
>
>
> >This returns a length of 6 which is what I want. Bare bones, left to
> >gcc's whim, it would return a value of 8 as it quietly aligns the
> >longword on a longword boundary. This IS what most people want. However,
> >when you are dealing with a serial data-stream, you have to take what
> >you get. Of course, you could pretend that the serial data stream was
>
> Remember that your program gets totally unportable, it won't even
> run under linux on other architectures...
>
You mean GCC is not smart enough to handle misaligned references when it
sees a pointer to a packed structure? :)
--
_. _ .
(_ ,_ _ , . / ` _ _L | Email: Oleg Kibirev <snowcat@netgate.net>
._)| U(_)\/\/ \_,(_L/L | Visit http://math.math.CSUFresno.EDU/~oleg/math.html
------------------------' to get my programs + PGP public key