[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
suppress_checking
From: |
Juanma Barranquero |
Subject: |
suppress_checking |
Date: |
Mon, 22 Oct 2007 17:59:57 +0200 |
Is there any point to the variable suppress_checking, or is it leftover code?
It is defined (and initialized to 0 by default, but not otherwise
modified in any way) in alloc.c, and the only use is in lisp.h:
/* Extra internal type checking? */
extern int suppress_checking;
extern void die P_((const char *, const char *, int)) NO_RETURN;
#ifdef ENABLE_CHECKING
#define CHECK(check,msg) (((check) || suppress_checking \
? (void) 0 \
: die ((msg), __FILE__, __LINE__)), \
0)
#else
/* Produce same side effects and result, but don't complain. */
#define CHECK(check,msg) ((check),0)
#endif
Now, I suppose it could perhaps be useful while debugging, but if
that's the intended use, it's undocumented and quite a bit obscure...
Juanma
- suppress_checking,
Juanma Barranquero <=
- Re: suppress_checking, Richard Stallman, 2007/10/23
- Re: suppress_checking, Juanma Barranquero, 2007/10/23
- Re: suppress_checking, Richard Stallman, 2007/10/23
- Re: suppress_checking, Juanma Barranquero, 2007/10/24
- Re: suppress_checking, Ken Raeburn, 2007/10/29
- Re: suppress_checking, Ken Raeburn, 2007/10/29
- Re: suppress_checking, Juanma Barranquero, 2007/10/29
- Re: suppress_checking, Stefan Monnier, 2007/10/29
- Re: suppress_checking, Ken Raeburn, 2007/10/29
- Re: suppress_checking, Richard Stallman, 2007/10/30