Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 15 Sep 2015 16:35:54 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] libintl.h: Add format argument attributes to
 gettext function prototypes

On Sun, Sep 13, 2015 at 06:29:04AM +0000, Khem Raj wrote:
> compiling glib-2.0 clang errors out with
> 
> error: format string is not a string literal
> 
> when these functions are used, it can be enforced that the format
> arguments to these gettext* functions  be string literals, so that the compiler knows that it
> always will be string literals
> 
> Signed-off-by: Khem Raj <raj.khem@...il.com>
> ---
>  include/libintl.h | 20 ++++++++++++++------
>  1 file changed, 14 insertions(+), 6 deletions(-)

Thanks! Committed with changes to log message only.

Rich

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ