|
From: | PHAM ANH THIEN |
Subject: | Re: [lwip-users] errors in memp.h |
Date: | Thu, 26 Aug 2010 10:06:14 +0700 |
Hi Thien,
Sorry, I did not fix this compiling issue in lwIP source code. I am not working on this project any more so far.
Bill Yang
Software Engineer
direct: +1 801.433.6354
email: address@hidden
ParvusRUGGED SOLUTIONS for REAL WORLD APPLICATIONS
USA – 3222 S. Washington St. | Salt Lake City, Utah 84115 | Tel. +1 801.483.1533 | Fax +1 801.483.1523 |
www.parvus.comA Member of EUROTECH GROUP
From: PHAM ANH THIEN [mailto:address@hidden]
Sent: Tuesday, August 24, 2010 2:59 AM
To: Bill Yang
Subject: Re: [lwip-users] errors in memp.h
hi Bill Yang,
Now i am facing this problem like you, have you overcome it, could you please to share with me?
thanks
ThienOn Wed, Mar 3, 2010 at 12:52 AM, Bill Yang <address@hidden> wrote:
Hi,
Can any one figure out the errors “\lwip-1.3.0\src\include\lwip/memp.h(60): error: #29: expected an _expression_” at the line after #include "lwip/memp_std.h" in memp.h file? This error comes when I defined MEM_USE_POOLS 1 and added a head file “lwippools.h” to compile.
#if MEM_USE_POOLS
/* Use a helper type to get the start and end of the user "memory pools" for mem_malloc */
typedef enum {
/* Get the first (via:
MEMP_POOL_HELPER_START = ((u8_t) 1*MEMP_POOL_A + 0*MEMP_POOL_B + 0*MEMP_POOL_C + 0)*/
MEMP_POOL_HELPER_FIRST = ((u8_t)
#define LWIP_MEMPOOL(name,num,size,desc)
#define LWIP_MALLOC_MEMPOOL_START 1
#define LWIP_MALLOC_MEMPOOL(num, size) * MEMP_POOL_##size + 0
#define LWIP_MALLOC_MEMPOOL_END
#include "lwip/memp_std.h"
) ,
/* Get the last (via:
MEMP_POOL_HELPER_END = ((u8_t) 0 + MEMP_POOL_A*0 + MEMP_POOL_B*0 + MEMP_POOL_C*1) */
MEMP_POOL_HELPER_LAST = ((u8_t)
#define LWIP_MEMPOOL(name,num,size,desc)
#define LWIP_MALLOC_MEMPOOL_START
#define LWIP_MALLOC_MEMPOOL(num, size) 0 + MEMP_POOL_##size *
#define LWIP_MALLOC_MEMPOOL_END 1
#include "lwip/memp_std.h"
)
} memp_pool_helper_t;
Thanks,
Bill Yang
Software Engineer
direct: +1 801.433.6354
email: address@hidden
ParvusRUGGED SOLUTIONS for REAL WORLD APPLICATIONS
USA – 3222 S. Washington St. | Salt Lake City, Utah 84115 | Tel. +1 801.483.1533 | Fax +1 801.483.1523 |
www.parvus.comA Member of EUROTECH GROUP
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |