Re: abort or verify?
From: Benjamin Pflugmann <benjamin-svn-dev_at_pflugmann.de>
Date: 2004-11-11 17:00:58 CET
On Wed 2004-11-10 at 16:44:53 -0700, Justin Erenkrantz wrote:
That could be solved by changing the order:
#define VERIFY(x) do { if(!(x)) { assert(x); abort(); } while(0)
which only invokes the double penalty in the case where we are going
Another problem with either method, which already got mentioned, is
On Thu 2004-11-11 at 10:05:13 -0000, Ben Sewell wrote:
Jupp. We don't want to loop forever when (x == true), which is the
Bye,
Benjamin.
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.