lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #6933] Review usage of ASSERT and error handling with


From: Frédéric Bernon
Subject: [lwip-devel] [task #6933] Review usage of ASSERT and error handling with LWIP_NOASSERT
Date: Sun, 17 Jun 2007 14:39:48 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Follow-up Comment #13, task #6933 (project lwip):

>That way, one can easily change from ASSERT to ERROR without fearing to
forget to change the expression to the negative.

I feel better to say that "e" is an "error expression", and it avoid a "not"
instruction. But if you really prefer, change it. We can even say it's more
coherent to have the same semantics for ASSERT and ERROR. Of course, don't
forget to upgrade existing LWIP_ERROR.

Last, just to be sure, we are agree to say that all LWIP_ASSERT don't have to
be replaced by LWIP_ERROR, right?


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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