Please notice that I am not intending to consult anything about byte
alignment, I just want to point out that this fact makes users inconvenient
and confusing. We compile same code to work on different platforms and form
a network of heterogenous nodes ... other two platforms does not have this
type of problems.
Anyway, I know enough about this and quit the mailist right now.

On Feb 12, 2008 8:07 PM, Oleg Verych <[email protected]>
wrote:

> WenZhan Song @ Tue, 12 Feb 2008 19:19:13 -0800
> >
> > Thanks. In terms of expect, user normally expects it can read any
> variable
> > in a struct as normal. For instance, after user set testMsgPtr->k = 10,
> it
> > should be still 10 when we read it out. However, our test shows it does
> not
> > work like that.
>
> Please, stop this bull. If you need info, here it is:
>
> http://en.wikipedia.org/wiki/Data_structure_alignment
>
> Daniel Drake is author of the driver for _wireless_ chip[1]. After
> recognizing his ignorance, he wrote this[0]:
>
> [0] http://lwn.net/Articles/260456/
> [1] http://lxr.linux.no/linux/drivers/net/wireless/zd1211rw/
>
> Good luck.
> ________
> -o--=O`C
>  #oo'L O
> <___=E M
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>

Reply via email to