lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] Re: [PATCH] Fix compilation with MEM_USE_POOLS = 0


From: Samuel Thibault
Subject: [lwip-devel] Re: [PATCH] Fix compilation with MEM_USE_POOLS = 0
Date: Mon, 21 Apr 2008 11:52:35 +0100
User-agent: Mutt/1.5.12-2006-07-14

Jifl wrote:
> Samuel Thibault wrote:
> > Hello,
> >
> > The patch below fixes CVS' compilation with MEM_USE_POOLS set to 0.
> 
> Are you sure about this?

About the problem, of course, else I wouldn't have even thought about
doing that in the first place :)
About the fix, no, actually it should have been MEM_LIBC_MALLOC

> I can't see what the failing would be (although haven't tried
> it). What happened otherwise?

`mem_free was not declared'

The problem is that with MEM_LIBC_MALLOC set to 0, mem_free(x) is
declared as a macro, and mem_free (without argument) is not, so that the
tcpip code referring to the mem_free symbol can't compile as such.

Samuel




reply via email to

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