lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Misalignment problems on PowerPC (little endian mode)


From: Jonathan Larmour
Subject: Re: [lwip-users] Misalignment problems on PowerPC (little endian mode)
Date: Mon, 26 May 2008 02:18:27 +0100
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc3.4.legacy (X11/20060515)

Rishi Khan wrote:
Simon,
I don't know if this is an issue, but gcc spits out many warnings like:
../../../../../lwip/src/include/ipv4/lwip/ip.h:136: warning: 'packed' attribute ignored for field of type 'struct ip_addr'

I don't see that with GCC. What are your packing defines in cc.h ? Mine are:

#define PACK_STRUCT_FIELD(_x_) _x_ __attribute__((packed))
#define PACK_STRUCT_STRUCT __attribute__((packed))
#define PACK_STRUCT_BEGIN
#define PACK_STRUCT_END

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.
------["The best things in life aren't things."]------      Opinions==mine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]