From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: suppressing byte-compiler warnings about undefined functions Date: Sun, 11 Nov 2007 18:54:30 -0500 Message-ID: References: <20071111084614.GB1038@muc.de> <200711111551.lABFpS6L011370@oogie-boogie.ics.uci.edu> <20071111161042.GA1653@muc.de> <200711111618.lABGIdfU011865@oogie-boogie.ics.uci.edu> <200711111832.lABIWLwf014068@oogie-boogie.ics.uci.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1194825469 28635 80.91.229.12 (11 Nov 2007 23:57:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2007 23:57:49 +0000 (UTC) Cc: acm@muc.de, emacs-devel@gnu.org, rgm@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 12 00:57:52 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 1IrMgW-00087y-N9 for ged-emacs-devel@m.gmane.org; Mon, 12 Nov 2007 00:57:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrMgK-00082t-RK for ged-emacs-devel@m.gmane.org; Sun, 11 Nov 2007 18:57:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IrMdQ-0003d8-Oy for emacs-devel@gnu.org; Sun, 11 Nov 2007 18:54:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IrMdP-0003Zr-00 for emacs-devel@gnu.org; Sun, 11 Nov 2007 18:54:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrMdO-0003WB-MK for emacs-devel@gnu.org; Sun, 11 Nov 2007 18:54:34 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IrMdL-0006B6-Mj for emacs-devel@gnu.org; Sun, 11 Nov 2007 18:54:31 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IrMdK-00015R-3X; Sun, 11 Nov 2007 18:54:30 -0500 In-reply-to: <200711111832.lABIWLwf014068@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Sun, 11 Nov 2007 10:32:21 -0800) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:82997 Archived-At: > But that is not different from plain defvar, it just seems to add > a layer of obfuscation... In fact most cc-bytecomp-defvars are not useful. I removed all of them and recompiled. Only filladapt-*, c-syntactic-* and c-preprocessor-face-name got warnings. The point is that (defvar foo) does the same job. It turns off warnings only in the file it appears in.