[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers
From: |
Jonathan Larmour |
Subject: |
Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers |
Date: |
Wed, 27 Aug 2008 19:28:45 +0100 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20070530) |
address@hidden wrote:
> Jonathan Larmour wrote:
>>
>> One workaround may be to dispense with the uses of sizeof for those DNS
>> records in that file, and replace them with e.g.
>> #define SIZEOF_DNS_ANSWER 10
>> and use that instead. The format and size is fixed after all.
>>
>>
> Wouldn't that be working around a bug in a compiler (that doesn't
> support structure packing) which we agreed not to do?
>From what he said, it does support structure packing, but still includes
padding for alignment at the end.
I agree that no structure packing at all would not be worth attempting to
support.
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------ Opinions==mine
- [lwip-users] Problem With dns.c Using 32-Bit Compilers, Nick Thomas, 2008/08/27
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Jonathan Larmour, 2008/08/27
- RE: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Nick Thomas, 2008/08/27
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Marek Matej, 2008/08/27
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Jonathan Larmour, 2008/08/27
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, address@hidden, 2008/08/27
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers,
Jonathan Larmour <=
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Alain M., 2008/08/27
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Simon Goldschmidt, 2008/08/28
- RE: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Bill Auerbach, 2008/08/28
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Alain M., 2008/08/28
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Michael Williamson, 2008/08/28
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, address@hidden, 2008/08/28
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Michael Williamson, 2008/08/28
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Alain M., 2008/08/28
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Jonathan Larmour, 2008/08/28
- Re: [lwip-users] Problem With dns.c Using 32-Bit Compilers, Alain M., 2008/08/28