From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.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: Mon, 30 Sep 2019 18:22:27 +0000 Message-ID: <20190930182227.GA4761@ACM> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="93087"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: John Wiegley , 21963@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 30 20:23:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iF0KF-000O6X-EQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Sep 2019 20:23:11 +0200 Original-Received: from localhost ([::1]:55970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iF0KE-0000b4-80 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Sep 2019 14:23:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58136) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iF0K7-0000au-IF for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 14:23:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iF0K6-0007Bh-9u for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 14:23:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51666) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iF0K6-0007BT-6F for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 14:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iF0K5-00025w-Ur for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 14:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Sep 2019 18:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21963 X-GNU-PR-Package: emacs Original-Received: via spool by 21963-submit@debbugs.gnu.org id=B21963.15698677548012 (code B ref 21963); Mon, 30 Sep 2019 18:23:01 +0000 Original-Received: (at 21963) by debbugs.gnu.org; 30 Sep 2019 18:22:34 +0000 Original-Received: from localhost ([127.0.0.1]:60487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iF0Je-00025A-G1 for submit@debbugs.gnu.org; Mon, 30 Sep 2019 14:22:34 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:36428 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1iF0Jb-000250-Nf for 21963@debbugs.gnu.org; Mon, 30 Sep 2019 14:22:32 -0400 Original-Received: (qmail 48803 invoked by uid 3782); 30 Sep 2019 18:22:29 -0000 Original-Received: from acm.muc.de (p4FE15E39.dip0.t-ipconnect.de [79.225.94.57]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 30 Sep 2019 20:22:27 +0200 Original-Received: (qmail 4795 invoked by uid 1000); 30 Sep 2019 18:22:27 -0000 Content-Disposition: inline In-Reply-To: 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.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:167937 Archived-At: Hello, Stefan. On Sun, Sep 29, 2019 at 23:24:29 +0200, Stefan Kangas wrote: > Alan Mackenzie writes: > > 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. > Hi Alan, > That was four years ago. Did you finish the patch which would resolve > this issue? Yes, I did indeed; with this patch: acb96f2718ccb0d36af514ce63b5decf0f24a697 Squashed commit of the following: ..... Tue Nov 24 17:37:49 2015 +0000 Sorry I forgot to close the bug. > Best regards, > Stefan Kangas -- Alan Mackenzie (Nuremberg, Germany).