bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] hash.c change to use abort rather than assert


From: Paul Eggert
Subject: Re: [Bug-gnulib] hash.c change to use abort rather than assert
Date: Sun, 24 Nov 2002 00:09:34 -0800 (PST)

> From: Jim Meyering <address@hidden>
> Date: Sat, 23 Nov 2002 10:42:57 +0100
> 
> I like the idea of being able to compile-out such code at the flip
> of a switch.  If we use the `if (! x) abort ();' approach, then we
> can't do that anymore.
> 
> Of course, there's a middle ground: use an assert-like macro
> that expands to `if (! x) abort ();'.

Yes, that sounds reasonable to me.  I suppose it could depend on
NDEBUG as well.




reply via email to

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