[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #6792] Create ASSERTs for DEBUG compile
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [task #6792] Create ASSERTs for DEBUG compile |
Date: |
Wed, 23 May 2007 16:07:46 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 |
Follow-up Comment #14, task #6792 (project lwip):
>Or with LWIP_ASSERT becoming just a warning in a release build.
If LWIP_ASSERT becomes a check in release, there still has to be error
handling code. So we can leave away the assert completely (to be faster) and
the user simply has to check the return values...
By now, I don't think that it's necessary to have release-asserts, since we
decided to write the code in a way that errors are handled by returning error
values.
Only the decision is not that easy. I think that e.g. NULL-pointer checks
should be checked in a release build also.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?6792>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #6792] Create ASSERTs for DEBUG compile, Simon Goldschmidt, 2007/05/14
- [lwip-devel] [task #6792] Create ASSERTs for DEBUG compile, Kieran Mansley, 2007/05/23
- [lwip-devel] [task #6792] Create ASSERTs for DEBUG compile, Jonathan Larmour, 2007/05/23
- [lwip-devel] [task #6792] Create ASSERTs for DEBUG compile, Simon Goldschmidt, 2007/05/23
- [lwip-devel] [task #6792] Create ASSERTs for DEBUG compile, Kieran Mansley, 2007/05/23
- [lwip-devel] [task #6792] Create ASSERTs for DEBUG compile,
Simon Goldschmidt <=
- [lwip-devel] [task #6792] Create ASSERTs for DEBUG compile, Jonathan Larmour, 2007/05/23
- [lwip-devel] [task #6792] Create ASSERTs for DEBUG compile, Simon Goldschmidt, 2007/05/23
- [lwip-devel] [task #6792] Create ASSERTs for DEBUG compile, Simon Goldschmidt, 2007/05/24
- [lwip-devel] [task #6792] Create ASSERTs for DEBUG compile, Simon Goldschmidt, 2007/05/24