Subject: Re: bug#10846: warning: non-literal format string
From: [email-masked] (Ludovic Courtès)
To: Bruno Haible <[email-masked]>
Cc: [email-masked]
Date: Sun, 19 Feb 2012 23:57:49 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Bruno,

Bruno Haible <[email-masked]> skribis:

> Given that
>   - It is normal for a program to be internationalized,
>   - It is normal for an internationalized program to have its format strings
>     passed through the gettext function.
> such situations should not produce warnings with the default settings.

Thanks, fixed here:

  http://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=afc9803113de660a761f476b7957e92cc60bad19
  http://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=98385ed20abdc191a67daef8a00b1df0290a074a

> It's OK in my opinion to have this warning enabled through special options
> or settings, though.

The ‘format’ warning is in ‘%auto-compilation-options’, but it can be
turned off at the user’s option.

Thanks,
Ludo’.