From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.user Subject: Re: guild raises warnings about unused variable from SRFI-64 Date: Wed, 31 Mar 2021 23:13:24 -0700 Message-ID: References: <78e6172ccd8782287a01b3feb533d78747ab5fd5.camel@korwin-zmijowski.fr> <2eee5e572809d6f4120babab348379ffa82eb495.camel@korwin-zmijowski.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="7471"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User To: =?UTF-8?Q?J=C3=A9r=C3=A9my_Korwin=2DZmijowski?= Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Apr 01 08:13:51 2021 Return-path: Envelope-to: guile-user@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 1lRqaV-0001rR-9W for guile-user@m.gmane-mx.org; Thu, 01 Apr 2021 08:13:51 +0200 Original-Received: from localhost ([::1]:57200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRqaU-0000SS-88 for guile-user@m.gmane-mx.org; Thu, 01 Apr 2021 02:13:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRqaJ-0000SJ-Ag for guile-user@gnu.org; Thu, 01 Apr 2021 02:13:39 -0400 Original-Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:44986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRqaH-0000Ge-Re for guile-user@gnu.org; Thu, 01 Apr 2021 02:13:38 -0400 Original-Received: by mail-pf1-x42d.google.com with SMTP id m11so659385pfc.11 for ; Wed, 31 Mar 2021 23:13:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=EfYff7hDrAEE1q5M/OncSQqjg3Ro8GmQuqjC4Mb9WPI=; b=IQuoVsA6AMXOfo9xUAS4kVaW3TEhhllyT521A6PBT3BW3lOLWq9scoAiLJFHYYrE0Q RJqRCSU5tDvAkwOKJNkowdBpJlu+FmFsu5ZFY8OIlfWVS7Z0QPXwKoXNzV69f59nxPzV B/PNL03bEWb+VXUulI4ckj0RL7RI8MrNNMouy3GbEPBGs6vapZtMdwSA9qhQSPdNKupQ UZJQnnncMWiE11qIHVDlUeuOII5gHa+3gygn8nfvZAZefpkaI7GriJt5jcLkY0s9FyVu 4LkPMnULFnqurNRfSUmkdN6rf6o6APyD5upg0nerIsFbLStlqomIi08/0cmorii+izY1 HnGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=EfYff7hDrAEE1q5M/OncSQqjg3Ro8GmQuqjC4Mb9WPI=; b=spd0/R514shUedlmPebWkSUBZ5a4ojJbI96M7eTm0VCnUrxT1WdrAK3hPGaKnpsnuq wlydrOlaEuHQ2Z4ec8hNlF34zrEy6PcwKJb0y61rlqH9GTv0+DUwqS1V9SwUgrywTLg4 n8atbkgxu0UXRxQ+PvgjP+YO8f0IKAgHgZ1azWm1To6xsP4APpnDmUlnzXaZLj3RN9af cu2towGjq/HeK3K/BAIGWiibQVc7t3Bu/X1QFJdnIv3PiZoGmiQxcyDa6ejbH21rKDGa fsTGb0rlBwKUOMViRyq8Y/1mB1xyFErFwcMRREpXE2h7GHr01mOUuYpduhdq66y45oAG tCWA== X-Gm-Message-State: AOAM530jL7GnxMd8Lb1rFKpGhtmj1qbV/LX9ZVyV56tcdxrDC0QrOCOL ksQRHbczKfUHzAey9cVHf9JQ+3sCWu+gJjCSeJ2KTorQ X-Google-Smtp-Source: ABdhPJwWmE3XFbFUBryZncZ0KTFJahVVM6GBcFKVBWXADZBis/2mETcq9AV7HsckMkcXCE1I1wDKNdyPF9DYA68XxeM= X-Received: by 2002:a62:764c:0:b029:1ef:20d2:b44 with SMTP id r73-20020a62764c0000b02901ef20d20b44mr5976510pfc.45.1617257615770; Wed, 31 Mar 2021 23:13:35 -0700 (PDT) In-Reply-To: <2eee5e572809d6f4120babab348379ffa82eb495.camel@korwin-zmijowski.fr> Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=aconchillo@gmail.com; helo=mail-pf1-x42d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17384 Archived-At: On Wed, Mar 31, 2021 at 12:47 PM J=C3=A9r=C3=A9my Korwin-Zmijowski wrote: > > Hello Aleix ! > > > Can you provide a small example on how you get this? A small test > > that > > causes this and the guild command you use would be great. > > Here is a small one : > > (use-modules (srfi srfi-64)) > (test-begin "a-group") > (test-assert "a-test" #t) > (test-end) > > And the guild command (it requires a warning level of 3 to raise it) : > > $ guild compile -W3 t.scm > > With the output : > > t.scm:3:0: warning: unused variable `name' > wrote `/home/jeko/.cache/guile/ccache/3.0-LE-8-4.4/tmp/t.scm.go' > > Thank you for considering my message ! > I have submitted an srfi-64 patch to fix this. Aleix