From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Emacs Devel" <emacs-devel@gnu.org>
Subject: suppress_checking
Date: Mon, 22 Oct 2007 17:59:57 +0200 [thread overview]
Message-ID: <f7ccd24b0710220859t2bcf3aa1q259e34e5f8efef88@mail.gmail.com> (raw)
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
next reply other threads:[~2007-10-22 15:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-22 15:59 Juanma Barranquero [this message]
2007-10-23 10:38 ` suppress_checking Richard Stallman
2007-10-23 10:59 ` suppress_checking Juanma Barranquero
2007-10-24 2:49 ` suppress_checking Richard Stallman
2007-10-24 8:56 ` suppress_checking Juanma Barranquero
2007-10-29 17:51 ` suppress_checking Ken Raeburn
2007-10-29 18:16 ` suppress_checking Ken Raeburn
2007-10-29 22:49 ` suppress_checking Juanma Barranquero
2007-10-29 19:06 ` suppress_checking Stefan Monnier
2007-10-29 20:47 ` suppress_checking Ken Raeburn
2007-10-30 5:24 ` suppress_checking Richard Stallman
2007-11-01 3:25 ` suppress_checking Ken Raeburn
2007-11-01 19:04 ` suppress_checking Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0710220859t2bcf3aa1q259e34e5f8efef88@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.