lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #6792] Create ASSERTs for DEBUG compile


From: Kieran Mansley
Subject: [lwip-devel] [task #6792] Create ASSERTs for DEBUG compile
Date: Mon, 23 Apr 2007 11:54:33 +0000
User-agent: Opera/8.02 (X11; Linux i686; U; en)

Follow-up Comment #1, task #6792 (project lwip):

Asserts are a very useful tool, and this is definitely good.  One thing I
would request is that whenever you add an assert you think about if you also
need to add something to cope if the assert doesn't fire (i.e. on a not-DEBUG
build).  Too often people add asserts and forget that they won't always be
there.  Sometimes (if they are asserting against programmer error or API
abuse) that's OK, but other times dealing with it gracefully in a release
build is possible too.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?6792>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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