From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?ISO-8859-1?Q?J=E9r=E9my?= Korwin-Zmijowski Newsgroups: gmane.lisp.guile.user Subject: Re: guild raises warnings about unused variable from SRFI-64 Date: Wed, 31 Mar 2021 21:47:11 +0200 Message-ID: <2eee5e572809d6f4120babab348379ffa82eb495.camel@korwin-zmijowski.fr> References: <78e6172ccd8782287a01b3feb533d78747ab5fd5.camel@korwin-zmijowski.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17116"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.36.4-0ubuntu1 Cc: Guile User To: Aleix Conchillo =?ISO-8859-1?Q?Flaqu=E9?= Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Mar 31 21:48:02 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 1lRgos-0004Kr-7a for guile-user@m.gmane-mx.org; Wed, 31 Mar 2021 21:48:02 +0200 Original-Received: from localhost ([::1]:58474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRgor-0006KZ-1O for guile-user@m.gmane-mx.org; Wed, 31 Mar 2021 15:48:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRgoC-0006KJ-JL for guile-user@gnu.org; Wed, 31 Mar 2021 15:47:21 -0400 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:56695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRgoA-0001mj-HO for guile-user@gnu.org; Wed, 31 Mar 2021 15:47:20 -0400 X-Originating-IP: 91.169.127.99 Original-Received: from elite (91-169-127-99.subs.proxad.net [91.169.127.99]) (Authenticated sender: jeremy@korwin-zmijowski.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 12E08C0008; Wed, 31 Mar 2021 19:47:12 +0000 (UTC) In-Reply-To: Received-SPF: none client-ip=217.70.183.198; envelope-from=jeremy@korwin-zmijowski.fr; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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:17382 Archived-At: 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 ! Jérémy