unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: mhw@netris.org
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] utils: Allow wrap-program to be called multiple times.
Date: Sun, 14 Sep 2014 16:27:08 +0200	[thread overview]
Message-ID: <877g16b7lv.fsf@gnu.org> (raw)
In-Reply-To: <87lhpmyhh2.fsf@netris.org> (mhw@netris.org's message of "Sun, 14 Sep 2014 00:05:29 -0400")

mhw@netris.org skribis:

> When compiling core-updates, I now see the following warning:
>
> LC_ALL=C							\
> ./pre-inst-env					\
> /home/mhw/.guix-profile/bin/guild compile -L "." -L "."	\
>   -Wformat -Wunbound-variable -Warity-mismatch			\
>   --target="i686-pc-linux-gnu"						\
>   -o "guix/build/utils.go" "guix/build/utils.scm"
> guix/build/utils.scm:718:4: warning: "~a/.~a-wrap-~2'0d": unsupported format option ~2, use (ice-9 format) instead
> wrote `guix/build/utils.go'

Oops, this needs to be fixed, indeed.

> Have you verified that this call to 'format' works as expected in all
> the relevant cases?

It could be that it works in practice, because (ice-9 format) does this
crazy thing:

  (module-set! the-root-module 'format format)

(-Wformat is purposefully stricter, because this crazy thing should
vanish eventually.)

Thanks,
Ludo’.

  reply	other threads:[~2014-09-14 14:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-09 22:56 [PATCH] utils: Allow wrap-program to be called multiple times Eric Bavier
2014-09-10 13:40 ` Ludovic Courtès
2014-09-10 19:16   ` Eric Bavier
2014-09-11 13:10 ` Ludovic Courtès
2014-09-13  6:12   ` Eric Bavier
2014-09-13 12:20     ` Ludovic Courtès
2014-09-14  4:05     ` mhw
2014-09-14 14:27       ` Ludovic Courtès [this message]
2014-09-14 15:16         ` Eric Bavier
2014-09-14 15:58         ` Mark H Weaver

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://guix.gnu.org/

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

  git send-email \
    --in-reply-to=877g16b7lv.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=mhw@netris.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).