From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Volf <~@wolfsden.cz> Newsgroups: gmane.lisp.guile.bugs Subject: bug#74348: Wrongly issued warning regarding format arguments for "~65c" Date: Wed, 13 Nov 2024 19:41:47 +0100 Message-ID: <87msi33ris.fsf@wolfsden.cz> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16365"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 74348@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Nov 13 19:43:30 2024 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 1tBIKv-00044N-27 for guile-bugs@m.gmane-mx.org; Wed, 13 Nov 2024 19:43:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBIKc-0005Mu-Sa; Wed, 13 Nov 2024 13:43: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 1tBIKV-0005MD-Ff for bug-guile@gnu.org; Wed, 13 Nov 2024 13:43:05 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBIKV-0004fw-6w for bug-guile@gnu.org; Wed, 13 Nov 2024 13:43:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=qnghbgdSVYOheuKPmbSeoBZDd+AHSABrYHP37KsvcW0=; b=HQYwZMxd70uxv5kHXi9Em3BkTqmsquiKAtaDVHlLT3EaWYRjOfR8n57YY/sh8eqJhf48kDUG7f5ayoUyIM79hSQfgYGlzvDCeDjS0XOKkTxrLGVobRO5FIdh1FIzChlpqUOPWhmHJJM/CN/irvffS2liY1RjAPxneqpO2WWnKYO2PvNeQ68CweZhWNdyUXJZe7Lt6UkxJXR+X8G3MKM2lRcDNx5g2xig6m/J+aRR/mQyJ3pxfSmOsnziCESjuPup8dMwVAOVO/k+LQ0y0WDJ7t8zNfyWfS4dB9O0NWw2NJ6/wM88nkDwj2xYLjV6wrKtYd3j+Ra/Kv8JTrUCC/K45w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBIKU-00056W-39 for bug-guile@gnu.org; Wed, 13 Nov 2024 13:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 13 Nov 2024 18:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74348 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173152332319529 (code B ref -1); Wed, 13 Nov 2024 18:43:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Nov 2024 18:42:03 +0000 Original-Received: from localhost ([127.0.0.1]:43616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBIJX-00054v-4j for submit@debbugs.gnu.org; Wed, 13 Nov 2024 13:42:03 -0500 Original-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@debbugs.gnu.org; Wed, 13 Nov 2024 13:42:01 -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 <~@wolfsden.cz>) id 1tBIJO-0004rX-Sy for bug-guile@gnu.org; Wed, 13 Nov 2024 13:41:56 -0500 Original-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@gnu.org; Wed, 13 Nov 2024 13:41:54 -0500 Original-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= Original-Received: from localhost (unknown [146.70.134.136]) by wolfsden.cz (Postfix) with ESMTPSA id 9453C33E9A2 for ; 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= Mail-Followup-To: bug-guile@gnu.org 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-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-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:11097 Archived-At: 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") ;;; :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.