From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: byte compiler warnings when bootstrapping Date: Mon, 22 Oct 2007 22:25:23 +0200 Message-ID: References: <200710210738.l9L7cIGs012673@oogie-boogie.ics.uci.edu> <471B20F6.7010304@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1193084753 15287 80.91.229.12 (22 Oct 2007 20:25:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2007 20:25:53 +0000 (UTC) Cc: rudalics@gmx.at, dann@ics.uci.edu, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 22 22:25:54 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 1Ik3qN-00033u-Mi for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2007 22:25:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ik3qF-0004QT-P4 for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2007 16:25:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ik3qB-0004Ph-Ob for emacs-devel@gnu.org; Mon, 22 Oct 2007 16:25:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ik3q9-0004PU-Kz for emacs-devel@gnu.org; Mon, 22 Oct 2007 16:25:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ik3q9-0004PR-EM for emacs-devel@gnu.org; Mon, 22 Oct 2007 16:25:33 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ik3q1-000253-3z; Mon, 22 Oct 2007 16:25:25 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-163-251.inter.net.il [80.230.163.251]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id DXT41755 (AUTH halo1); Mon, 22 Oct 2007 22:25:22 +0200 (IST) In-reply-to: (message from Richard Stallman on Mon, 22 Oct 2007 05:00:18 -0400) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (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:81477 Archived-At: > From: Richard Stallman > Date: Mon, 22 Oct 2007 05:00:18 -0400 > Cc: dann@ics.uci.edu, emacs-devel@gnu.org > > Perhaps we should add a construct > > (treat-as-defined FILE foo bar) > > which would tell the compiler not to warn in this file > about calls to foo and bar -- and have no other effect. The name ``treat-as-defined'' is not telling enough what is its effect. How about a more general facility, like this: (bytecomp-no-warn 'undefined-function FILE FUNC1 FUNC2 ...)