From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#21963: Spurious byte compile message: "Warning: the function `bar' might not be defined at runtime." Date: Fri, 20 Nov 2015 17:50:34 +0000 Message-ID: <20151120175034.GF10389@acm.fritz.box> References: <20151120104419.GA10389@acm.fritz.box> <83wptc6hqg.fsf@gnu.org> <20151120114050.GC10389@acm.fritz.box> <83poz4682a.fsf@gnu.org> <20151120152637.GD10389@acm.fritz.box> <83lh9s659a.fsf@gnu.org> <20151120161535.GE10389@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1448041769 10823 80.91.229.3 (20 Nov 2015 17:49:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2015 17:49:29 +0000 (UTC) Cc: 21963@debbugs.gnu.org To: John Wiegley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 20 18:49:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zzpo8-0005lu-D6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2015 18:49:12 +0100 Original-Received: from localhost ([::1]:48945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzpo7-0001NY-RR for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2015 12:49:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzpo1-0001M9-0N for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 12:49:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zzpny-0005Py-9g for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 12:49:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzpny-0005Pu-6R for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 12:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zzpnx-0007fO-MU for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 12:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Nov 2015 17:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21963 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21963-submit@debbugs.gnu.org id=B21963.144804173629458 (code B ref 21963); Fri, 20 Nov 2015 17:49:01 +0000 Original-Received: (at 21963) by debbugs.gnu.org; 20 Nov 2015 17:48:56 +0000 Original-Received: from localhost ([127.0.0.1]:46385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zzpns-0007f4-6B for submit@debbugs.gnu.org; Fri, 20 Nov 2015 12:48:56 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:57812) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzpnX-0007ed-9o for 21963@debbugs.gnu.org; Fri, 20 Nov 2015 12:48:54 -0500 Original-Received: (qmail 98466 invoked by uid 3782); 20 Nov 2015 17:48:33 -0000 Original-Received: from acm.muc.de (p548A4FBE.dip0.t-ipconnect.de [84.138.79.190]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 20 Nov 2015 18:48:32 +0100 Original-Received: (qmail 12271 invoked by uid 1000); 20 Nov 2015 17:50:34 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108989 Archived-At: Hello, John. On Fri, Nov 20, 2015 at 08:44:56AM -0800, John Wiegley wrote: > >>>>> Alan Mackenzie writes: > > While eval-when-compile'ing the first line, the byte compiler collects a > > list of symbols defined by it (in variable > > byte-compile-noruntime-functions). More or less. > > There is no mechanism for taking symbols off of that list when they > > subsequently become defined. > Not optimal, but I must ask: Should it be fixed? Or, for now, simply noted in > the elisp manual when discussing the merits of this warning? I think it should be fixed. It will eliminate warnings from CC Mode (at the very least). I am working on it as we speak. I expect to produce a patch for review soon. > John -- Alan Mackenzie (Nuremberg, Germany).