From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: suppress_checking Date: Mon, 22 Oct 2007 17:59:57 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1193068825 20976 80.91.229.12 (22 Oct 2007 16:00:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2007 16:00:25 +0000 (UTC) To: "Emacs Devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 22 18:00:24 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IjzhP-0006TH-Cb for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2007 18:00:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjzhH-0005kr-H2 for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2007 12:00:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IjzhB-0005im-W1 for emacs-devel@gnu.org; Mon, 22 Oct 2007 12:00:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ijzh9-0005gR-QO for emacs-devel@gnu.org; Mon, 22 Oct 2007 12:00:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ijzh9-0005gA-KA for emacs-devel@gnu.org; Mon, 22 Oct 2007 11:59:59 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ijzh8-0006KP-Ji for emacs-devel@gnu.org; Mon, 22 Oct 2007 11:59:59 -0400 Original-Received: by wa-out-1112.google.com with SMTP id k34so1424442wah for ; Mon, 22 Oct 2007 08:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=AFbn9hSPO9ZRw2fji9Yu4icXI+BAtT3MfY+Pt1G0sbM=; b=phY2yzIeztq3HLKFt5tXeu4D4STh//3whhjQ94C7tFboDZmeot9vuwqZK7S9w+NJja6AtIE3AYLX6SvnFmF4DZaN3kf7wxnWFr/9CTi7J3AbJxCCtk+aWDzjgRC4ZP8CUj+s4ZRP7URm1fGXF6ui4SqSSufi34sH7TAN6coZk/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=F5gKxROllMRErVSXwLSqGrEZJ59t3ZR0q0YEDssnn67eCPEyb1jRPR5K2r16bFAjNicDRzXwVBjOmpYYDGfVfAL0jmJw219PtInLmlibpGnieGZY4dfR0IwXZoeKLhMhWe1v9v4vh1e2a4iZ1UQo3dG4sUxrmtyLakufQS0uEv4= Original-Received: by 10.115.32.1 with SMTP id k1mr5632599waj.1193068797407; Mon, 22 Oct 2007 08:59:57 -0700 (PDT) Original-Received: by 10.115.72.13 with HTTP; Mon, 22 Oct 2007 08:59:57 -0700 (PDT) Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81467 Archived-At: 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