[EMAIL PROTECTED] 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 mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to