GNU bug report logs - #74348
Wrongly issued warning regarding format arguments for "~65c"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Tomas Volf <~@wolfsden.cz>; dated Wed, 13 Nov 2024 18:43:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Nov 2024 18:42:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 13 13:42:03 2024
Received: from localhost ([127.0.0.1]:43616 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tBIJX-00054v-4j
	for submit <at> debbugs.gnu.org; Wed, 13 Nov 2024 13:42:03 -0500
Received: from lists.gnu.org ([209.51.188.17]:38430)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <~@wolfsden.cz>) id 1tBIJV-00054a-8x
 for submit <at> debbugs.gnu.org; Wed, 13 Nov 2024 13:42:01 -0500
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 <~@wolfsden.cz>) id 1tBIJO-0004rX-Sy
 for bug-guile@HIDDEN; Wed, 13 Nov 2024 13:41:56 -0500
Received: from wolfsden.cz ([37.205.8.62])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tBIJL-0004Yf-EY
 for bug-guile@HIDDEN; Wed, 13 Nov 2024 13:41:54 -0500
Received: by wolfsden.cz (Postfix, from userid 104)
 id 1659733EA4F; Wed, 13 Nov 2024 18:41:49 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1731523309; bh=ZDvjN8IdRmLVXZ3urjJ41WIliUu7LegqFk4TX0eZOY4=;
 h=From:To:Subject:Date;
 b=r3vqY1qUzpsG29LxwMQtgiGhNcUWxcNh7UH3CscFZG8SOx8eok0mCGp6FhHLwZDho
 Od+7nAkZbWX532YSbhPhT/+o50KPOd1Z6uf6PM46pikFK0FWKHoD18CqkExVnVaG9G
 Ze4D5TGQvGoQi35DI/1VpP/i8E4LQSyFm1G/k0NQngba+bBOex97vj5UTShECfpnF9
 vKmTSsBTJ/OzgjLzMVdT9r1CSXScCPOQKXFUQLJnWTp2LaX1DKJbtWxWNXcUCPcrUo
 0dY5JTxENyjrix4A0b1pzLYmpbP12W/0B5tmrz8v3szE5pw6gnDAA+AEkQMDCoqy7/
 cvH0aUvYcPy8io/DbT4mRnbtACMWKSOIUQ4rrgpoHSazpXPPz21AHaHY4fe56NAByx
 L4DZ+q7lys45Vfyfz6fhR/NkLp3tSC62EUu7cFrisFDFJCKcANhVlFsNENhqWSdpPr
 9WN2LOjdDYF+VC3hr/Qkedhlw7mGU5/PFD/zM2AdUiDV0dIaevwc143xihenTOPNNU
 n9EZLfptj28wxRP50fBdO32+coIcRhKKOcqap2C2LNaQdGjEAYW+8ih3h2ewffggcf
 hHVKwJ+7aAa6wOuhouoY4Qs2PYPvdU3crbFNjCvTrnZcLy3G4nl6HUm7+ZTWhLiQNF
 bqMK8qhg7rY1HGX4VfB9OLF8=
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED
 autolearn=ham autolearn_force=no version=3.4.6
Received: from localhost (unknown [146.70.134.136])
 by wolfsden.cz (Postfix) with ESMTPSA id 9453C33E9A2
 for <bug-guile@HIDDEN>; Wed, 13 Nov 2024 18:41:48 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1731523308; bh=ZDvjN8IdRmLVXZ3urjJ41WIliUu7LegqFk4TX0eZOY4=;
 h=From:To:Subject:Date;
 b=QSQkyv3j1rlQvlyHZtxZhWsjZMC+gqAjbjxVurRf9GgAxd14csnJJjiwdicu/xQh1
 6lGw7RlOlDq/FGLnw2TcyXE1AJmKZ/3VA6H8I4WOBrUZNj6XKBlhTP6UuyMn66HUsC
 Tzbx1JXXdj9L4D/HkiibPQ/G3PdiWQiXi+z4aic/Xke7NCcBHK/Jv4tJ9etV444L+1
 BT8ddAOyP1/f5C/SZZ0ZhJFJBYp3lr/Hl3vYkca0Mlcunb/LrmQFdmVpohPaUvamYr
 gVYujhKPfhUdj8CgW7E1tQld5ZTZGItpJtLsyUbXTAsA0J6rrGuaQhpkvLLOBf7itY
 d0Gj3VlP5a7iYpFZoV1KjJxRw6Y6RAOb9wGEQM/kUXsvBHg1oyh/lESV5HCm61eRdt
 yq0kU6jKueTyAaI4tg/sYFV7LsdDe85v3/uq+3EnWbNt8U6KnHSeecC30rgMGXcj6t
 NCCaf2cksD8wzAKkW4ItlltvkGEe/nw8LhhKo+4cxXy3m0fbFDYQEErZjP+4Kr3ELj
 C6OmVmBJ+C6DBmOqF5tI6yQfofVyqN1DwYyl9qzBs1iEo1J/xNInlMggylSkByae1/
 5xZ0dcSSn0a1J/gLdGsKOJGB9YoAXiRtWlYWVts2HM07M90qucoL53H2Wc3eI3d5b9
 Jf4ADCP4ysdYdUiQRTBS+k+o=
From: Tomas Volf <~@wolfsden.cz>
To: bug-guile@HIDDEN
Subject: Wrongly issued warning regarding format arguments for "~65c"
Mail-Followup-To: bug-guile@HIDDEN
Date: Wed, 13 Nov 2024 19:41:47 +0100
Message-ID: <87msi33ris.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz;
 helo=wolfsden.cz
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,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello,

when I try to run the following (taken from the documentation):

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> ,use (ice-9 format)
scheme@(guile-user)> (format #f "~65c")
;;; <stdin>:29:0: warning: "~65c": wrong number of `format' arguments: expected 1, got 0
$7 = "A"
--8<---------------cut here---------------end--------------->8---

So, it does indeed return "A", however is also prints a warning.  The
warning should not be printed.

Quoting Matt Wette from the guile-user mailing list:

> This looks like a bug in the compiler to me.
> For example, check the `format-analysis' procedure in
> language/tree-il/analyze.scm

So I am reporting it to the bug tracker.

Have a nice day,
Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.




Acknowledgement sent to Tomas Volf <~@wolfsden.cz>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#74348; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.