From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#47031: False positives for =?UTF-8?Q?=E2=80=98-Wunbound-variable=E2=80=99?= in 3.0.5 Date: Tue, 09 Mar 2021 23:18:19 +0100 Message-ID: <87im606kes.fsf@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39320"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: 47031@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Mar 09 23:19:07 2021 Return-path: Envelope-to: guile-bugs@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 1lJkh1-000A98-Fg for guile-bugs@m.gmane-mx.org; Tue, 09 Mar 2021 23:19:07 +0100 Original-Received: from localhost ([::1]:33752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJkh0-0005cW-I8 for guile-bugs@m.gmane-mx.org; Tue, 09 Mar 2021 17:19:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJkgw-0005ar-7A for bug-guile@gnu.org; Tue, 09 Mar 2021 17:19:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJkgv-0000lF-WB for bug-guile@gnu.org; Tue, 09 Mar 2021 17:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJkgv-00017u-Sq for bug-guile@gnu.org; Tue, 09 Mar 2021 17:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 09 Mar 2021 22:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47031 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16153283204296 (code B ref -1); Tue, 09 Mar 2021 22:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Mar 2021 22:18:40 +0000 Original-Received: from localhost ([127.0.0.1]:48186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJkgL-00016t-P5 for submit@debbugs.gnu.org; Tue, 09 Mar 2021 17:18:40 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:34386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJkgH-00016k-TM for submit@debbugs.gnu.org; Tue, 09 Mar 2021 17:18:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJkgH-0005BI-No for bug-guile@gnu.org; Tue, 09 Mar 2021 17:18:21 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48355) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJkgH-0000Rj-H3 for bug-guile@gnu.org; Tue, 09 Mar 2021 17:18:21 -0500 Original-Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=47868 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lJkgH-0007m6-2o for bug-guile@gnu.org; Tue, 09 Mar 2021 17:18:21 -0500 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 =?UTF-8?Q?Vent=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9990 Archived-At: The new =E2=80=98unbound-variable=E2=80=99 warning in 3.0.5 has false posit= ives, as in this example: --8<---------------cut here---------------start------------->8--- $ cat /tmp/unbound.scm (use-modules (srfi srfi-35)) (condition (&message (message "oh no!")) (&serious)) $ guild compile -Wunbound-variable /tmp/unbound.scm /tmp/unbound.scm:3:0: warning: possibly unbound variable `make-compound-con= dition' wrote `/home/ludo/.cache/guile/ccache/3.0-LE-8-4.4/tmp/unbound.scm.go' $ guild --version guild (GNU Guile) 3.0.5 Copyright (C) 2021 Free Software Foundation, Inc. License LGPLv3+: GNU LGPL 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. --8<---------------cut here---------------end--------------->8--- 3.0.4 and earlier versions are fine. Ludo=E2=80=99.