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: byte compiler warnings when bootstrapping Date: Mon, 22 Oct 2007 05:00:18 -0400 Message-ID: References: <200710210738.l9L7cIGs012673@oogie-boogie.ics.uci.edu> <471B20F6.7010304@gmx.at> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1193043695 27576 80.91.229.12 (22 Oct 2007 09:01:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2007 09:01:35 +0000 (UTC) Cc: dann@ics.uci.edu, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 22 11:01:35 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 1IjtAE-0004Mn-Be for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2007 11:01:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjtA6-0000ij-LM for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2007 05:01:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ijt93-0008BM-KC for emacs-devel@gnu.org; Mon, 22 Oct 2007 05:00:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ijt91-00089X-P0 for emacs-devel@gnu.org; Mon, 22 Oct 2007 05:00:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ijt91-000897-CZ for emacs-devel@gnu.org; Mon, 22 Oct 2007 05:00:19 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ijt90-0005K2-RI for emacs-devel@gnu.org; Mon, 22 Oct 2007 05:00:18 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Ijt90-000050-0r; Mon, 22 Oct 2007 05:00:18 -0400 In-reply-to: <471B20F6.7010304@gmx.at> (message from martin rudalics on Sun, 21 Oct 2007 11:50:46 +0200) 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:81439 Archived-At: I would like to do something to silence the manu "function is not known to be defined" warnings that don't correspond to anything wrong. But loading another file just for that is too drastic for the purpose. 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. Some special program could scan the sources looking for all these statements, and then verify that FILE really does define foo and bar. This could be run during the build process, but not during ordinary byte compilation.