From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: bug#43678: 27.1; compiler warning if code forgets to require cl-lib Date: Mon, 28 Sep 2020 20:11:27 +0200 Message-ID: <10063.90714.979619.24434@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="767"; mail-complaints-to="usenet@ciao.gmane.io" To: 43678@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 28 20:12:30 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMxdW-000Aec-9w for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Sep 2020 20:12:30 +0200 Original-Received: from localhost ([::1]:48180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMxdV-0005Dt-Ch for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Sep 2020 14:12:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMxd5-0005CW-R6 for bug-gnu-emacs@gnu.org; Mon, 28 Sep 2020 14:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMxd4-0006RI-Na for bug-gnu-emacs@gnu.org; Mon, 28 Sep 2020 14:12:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kMxd4-0006e8-IC for bug-gnu-emacs@gnu.org; Mon, 28 Sep 2020 14:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Roland Winkler" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Sep 2020 18:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43678 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160131671825536 (code B ref -1); Mon, 28 Sep 2020 18:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Sep 2020 18:11:58 +0000 Original-Received: from localhost ([127.0.0.1]:53930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMxcz-0006do-TR for submit@debbugs.gnu.org; Mon, 28 Sep 2020 14:11:58 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMxcw-0006db-4y for submit@debbugs.gnu.org; Mon, 28 Sep 2020 14:11:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMxcu-000599-VS for bug-gnu-emacs@gnu.org; Mon, 28 Sep 2020 14:11:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49070) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMxcu-0006Qc-MI for bug-gnu-emacs@gnu.org; Mon, 28 Sep 2020 14:11:52 -0400 Original-Received: from wlanhome198228.uni-regensburg.de ([132.199.198.228]:38062 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1kMxct-0003HH-QT for bug-gnu-emacs@gnu.org; Mon, 28 Sep 2020 14:11:52 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189219 Archived-At: Until earlier today, several files in bbdb did not require cl-lib, when they should have done that. Nonetheless, bbdb compiled fine with emacs 25 and 26, but not anymore with emacs 27, see bug #30635. The goal when fixing #30635 was to issue a warning if a library uses cl-lib without requiring it. The problem with bbdb was, however, that instead the emacs 27 byte compiler threw a rather unhelpful error message about the cause of the problem. For bbdb-tex.el, it said In bbdb-TeX: bbdb-tex.el:414:25:Error: Forgot to expand macro cl-progv in ( ... I suggest that the byte compiler should issue a more helpful warning about the cause of the problem. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2020-08-31 built on regnitz Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Ubuntu 16.04.7 LTS