GNU bug report logs - #58109
simple-format vs (ice-9 format) bug in 3.0.7?

Previous Next

Package: guile;

Reported by: Christopher Lam <christopher.lck <at> gmail.com>

Date: Tue, 27 Sep 2022 10:24:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 58109 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Jean Abou Samra <jean <at> abou-samra.fr>
Cc: christopher.lck <at> gmail.com, 58109 <at> debbugs.gnu.org, guile-devel <at> gnu.org
Subject: Re: bug#58109: simple-format vs (ice-9 format) bug in 3.0.7?
Date: Sat, 01 Oct 2022 15:40:18 +0200
Hi,

Jean Abou Samra <jean <at> abou-samra.fr> skribis:

> Uh, at the end of module/ice-9/format.scm, there is
>
> ;; Thanks to Shuji Narazaki
> (module-set! the-root-module 'format format)
>
> which dates back to
>
> commit 14469b7c69feb0f2c5b8a093f19fe2a548b31c5b
> Author: Greg J. Badros <gjb <at> cs.washington.edu>
> Date:   Thu Jan 20 20:58:30 2000 +0000

[...]

> This probably predates #:replace and could be removed now, right?

Yes, it could be removed, but probably not before the 4.0 series.

The ‘-Wformat’ warning introduced sometime in the 2.0 or 2.2 series
prepared for that removal by warning about simple-format/format
mismatches, but there’s probably still code out there that assumes
‘format’ is the full-blown ‘format’, even when (ice-9 format) is not
explicitly imported.

Thanks,
Ludo’.




This bug report was last modified 2 years and 224 days ago.

Previous Next


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