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?Ludovic_Court=C3=A8s?= Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH 0/3] Add '-Wunused-module' Date: Fri, 24 Feb 2023 17:00:56 +0100 Message-ID: <87wn47129z.fsf@gnu.org> References: <20230203181126.5ee4003c@tachikoma.lepiller.eu> <20230211233234.14425-1-ludo@gnu.org> <874jrq21k1.fsf@gnu.org> 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="35301"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: guile-devel@gnu.org To: Jan Nieuwenhuizen Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Fri Feb 24 17:01:30 2023 Return-path: Envelope-to: guile-devel@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 1pVaVm-000925-D8 for guile-devel@m.gmane-mx.org; Fri, 24 Feb 2023 17:01:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVaVT-0002Gq-4N; Fri, 24 Feb 2023 11:01:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVaVI-0002CS-Ky for guile-devel@gnu.org; Fri, 24 Feb 2023 11:01:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVaVH-0007oJ-VW; Fri, 24 Feb 2023 11:00:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=9+pKGxr3jXMwvZUIfBUzQ/R0abzjCAWJu71FBh3pZkk=; b=N/lYfZ8pgIVV4Bk4qQzC rO+9Mmqu6kydoMoA524bXeHZq8IS0lKUy7Y3xCAFhC/2T3+iij9vQFM71Ed+GAaCIrVZ77+1IjzEw kjhYOAxfeGXZIEn41W3OdPxJHRM6PIwz6inMdHLK3NY7m1URv/2wznre4EzvR6Gbq+ZnW+QmLnW2k +YcojOlo4ldu44flqGDkKaWNk498qIv72hvTzm9ybQ6J7KTXkUlFL7fyo0E4RlA/PGHhcK2x9x2+E a6EiditzZNqcDCYNh9Hazo/cFcRnpWMYKhDC1wYmiaVNtfmQ0aJxTw9lao8C4H/MuC3EXhMbQOOzv LAcSbhhlRvxIIA==; Original-Received: from [193.50.110.164] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVaVG-0004K5-Vp; Fri, 24 Feb 2023 11:00:59 -0500 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 6 =?utf-8?Q?Vent=C3=B4se?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de l'Asaret 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 In-Reply-To: <874jrq21k1.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Sun, 12 Feb 2023 19:14:54 +0100") X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:21737 Archived-At: Hello! Jan Nieuwenhuizen skribis: > It seems that only re-exporting a (non-macro) variable from an otherwise > un used module gives a false positive `unused module' warning; it > doesn't even say `possibly unused module'. Not a big problem, but can > anything be done about that? I fixed that and pushed the result to =E2=80=98main=E2=80=99: e2ed33ef0 Remove unnecessary module imports. 89c3bae3c Add -Wunused-module. 821e0f9cd Add 'record-case' to '.dir-locals.el'. Thanks again for your feedback! Ludo=E2=80=99.