[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] errors in memp.h
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] errors in memp.h |
Date: |
Thu, 26 Aug 2010 09:14:33 +0100 |
On Thu, 2010-08-26 at 10:06 +0700, PHAM ANH THIEN wrote:
> Hi all,
>
> For everyone looking for the solution of this issue.
>
> The way finding exactly the error is do preprocess for memp.c file,
> then look at typedef enum { ...} memp_pool_helper_t; preprocessor out
> file, you will see exactly what the error happen.
>
> For my case after i do this i see the error then i just comment
> out //#ifndef __LWIPPOOLS_H__
> //#define __LWIPPOOLS_H__ //#endif /* __LWIPPOOLS_H__ */ in file
> lwippools.h, the error does not happen anymore.
That sounds sensible. lwippools.h is part of the port rather than
something that comes with lwIP itself, so I would contact whoever made
your port and suggest they make this change.
Kieran