[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Struct packing/alignment problems
From: |
d99tibr |
Subject: |
Re: [lwip-users] Struct packing/alignment problems |
Date: |
Mon, 26 Apr 2004 16:02:26 +0200 |
User-agent: |
Internet Messaging Program (IMP) 3.2.1 |
Quoting Leon Woestenberg <address@hidden>:
> Hello all,
>
> Timmy Brolin wrote:
> >
> > When the alignment problem is solved, we can get rid of all thoose ugly
> > PACK_STRUCT makros, because they are only needed for unaligned structs.
> >
> Is this true for all cases?
>
> I am not familiar with the most restrictive compiler alignment rules,
> but I remember there being a discussion on the lists earlier on why
> these PACKs had to be there for one or another.
>
> Maybe it was a bad way to fix stuff; if we fix it up neatly we need to
> make sure we have cornered all cases.
>
> Regards,
>
> Leon.
Once the structs are nicely aligned I can see no reason to use struct packing
compiler directives.
But of course, we can't be 100% certain until it have been tested.
Timmy
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
- RE: [lwip-users] Struct packing/alignment problems, (continued)
- RE: [lwip-users] Struct packing/alignment problems, Mountifield, Tony, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, Timmy Brolin, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, Jani Monoses, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, K.J. Mansley, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, d99tibr, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, K.J. Mansley, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, Timmy Brolin, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, Timmy Brolin, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, Atte Kojo, 2004/04/27
- Re: [lwip-users] Struct packing/alignment problems, Leon Woestenberg, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems,
d99tibr <=
- Re: [lwip-users] Struct packing/alignment problems, K.J. Mansley, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, Leon Woestenberg, 2004/04/26
- RE: [lwip-users] Struct packing/alignment problems, Chris Jones, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, Timmy Brolin, 2004/04/26
- RE: [lwip-users] Struct packing/alignment problems, Chris Jones, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, Timmy Brolin, 2004/04/26
- RE: [lwip-users] Struct packing/alignment problems, Chris Jones, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, Timmy Brolin, 2004/04/26
- Re: [lwip-users] Struct packing/alignment problems, K.J. Mansley, 2004/04/27
RE: [lwip-users] Struct packing/alignment problems, Mountifield, Tony, 2004/04/26