|
From: | Robert Brown |
Subject: | RE: [lwip-users] '__packed' problem with ADS 1.2 |
Date: | Thu, 1 Sep 2005 21:32:52 -0400 |
-----Original Message-----
From: address@hidden [mailto:address@hiddenOn Behalf Of 梦 程
Sent: September 1, 2005 9:25 PM
To: address@hidden
Subject: [lwip-users] '__packed' problem with ADS 1.2HiWhen I compile the LwIP 1.1 with the ADS 1.2, the compiler show some error :'=' implicit cast of pointer loses '__packed' qualifierit 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_ENDany body an solution?thxChengMeng
DO YOU YAHOO!?
雅虎免费G邮箱-No.1的防毒防垃圾超大邮箱
[Prev in Thread] | Current Thread | [Next in Thread] |