[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Question about LWIP_ERROR macro
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Question about LWIP_ERROR macro |
Date: |
Tue, 10 May 2011 15:45:01 +0200 |
Enrico Murador - Research & Development - CET <address@hidden> wrote:
> (maybe LWIP_ERROR could be "fatal" only if LWIP_NOASSERT is undefined...)
If LWIP_NOASSERT is defined, all ASSERTs are skipped, whereas for LWIP_ERROR,
the error handler is executed. However, for very small applications (for
targets which are very limited), you can redefine LWIP_ERROR do just do nothing
if you are absolutely sure that the condition which is checked there cannot
happen. This is not really needed too often, I guess...
Simon
--
NEU: FreePhone - kostenlos mobil telefonieren und surfen!
Jetzt informieren: http://www.gmx.net/de/go/freephone