< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] assertions


On Fri, 2006-03-24 at 09:21 +0100, Sergio García Murillo wrote:
> How do i compile the library in linux to not stop when an assertion
> fails? 

It depends on your <assert.h>, but I think the usual convention is that
if NDEBUG is #define'd, then asserts do nothing.  But you probably do
not want to suppress asserts, as if one fails, you are guaranteed that
the program is not working correctly after that point.

Dale