lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] '__packed' problem with ADS 1.2


From: 梦 程
Subject: [lwip-users] '__packed' problem with ADS 1.2
Date: Fri, 2 Sep 2005 09:25:02 +0800 (CST)

Hi
When I compile the LwIP 1.1 with the ADS 1.2, the compiler show some error :
 
'=' implicit cast of pointer loses '__packed' qualifier
 
it maked by code like : seg->p->payload = seg->tcphdr;
 
this is my define about pack:
#define PACK_STRUCT_FIELD(x) x//; #pragma STRUCT_ALIGN(x,1)
#define PACK_STRUCT_STRUCT
#define PACK_STRUCT_BEGIN __packed
#define PACK_STRUCT_END
 
any body an solution?
 
 thx
 ChengMeng



DO YOU YAHOO!?
雅虎免费G邮箱-No.1的防毒防垃圾超大邮箱
reply via email to

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