lkml.org 
[lkml]   [1997]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Off-topic
Date
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

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.032 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site