unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Frank Terbeck <ft@bewatermyfriend.org>
Cc: 18299-done@debbugs.gnu.org
Subject: bug#18299: Analyzer issues warning with ~:p expansion of ‘format’
Date: Tue, 26 Aug 2014 23:42:22 +0200	[thread overview]
Message-ID: <87ppfndj29.fsf@gnu.org> (raw)
In-Reply-To: <87ha17gxdx.fsf@ft.bewatermyfriend.org> (Frank Terbeck's message of "Wed, 20 Aug 2014 14:26:34 +0200")

Frank Terbeck <ft@bewatermyfriend.org> skribis:

> I was trying this:
>
>   (use-modules (ice-9 format))
>   (format #t "~d block~:p~%" 1)   ;; and 0, and 2 etc...
>   
> This triggers a warning about the format-string argument count:
>
>   ;;; <stdin>:3:0: warning: "~d block~:p~%": wrong number of `format'
>       arguments: expected 2, got 1

I believe commit 8ac39b3 fixes it.  It will be in 2.0.12.

Thanks!

Ludo’.





      reply	other threads:[~2014-08-26 21:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-20 12:26 bug#18299: Analyzer issues warning with ~:p expansion of ‘format’ Frank Terbeck
2014-08-26 21:42 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppfndj29.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=18299-done@debbugs.gnu.org \
    --cc=ft@bewatermyfriend.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).