"mtimm" <m.t...@wb.com.pl> wrote:
> It looks like it stucked inside memp_priv.h inside typedef
> memp_pool_helper_t declaration. It is something wrong with the syntax. I am
> not sure how memp_priv.h and memp_std.h work and it is hard for me to
> eliminate this issue.
> I would like to work with static allocation which is available by using
> pools. Do I need both (memp_priv.h and memp_std.h) files including in my
> project?

No. The error is in your lwippools.h: you need to remove the include guards.
This file gets included multiple times with different defines set.

See our example here:
http://git.savannah.nongnu.org/cgit/lwip.git/tree/contrib/examples/example_app/lwippools.h

Regards,
Simon

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to