On Mon, Aug 15, 2011 at 07:18:18AM -0500, Hyrum K Wright wrote:
> Do we do this other places in our code, or does this introduce a new pattern?

We do this in lots of places.

> It *does* introduce new "format not a string literal, argument types
> not checked" warnings at compile-time.

Those warnings are normal. Of course the compiler cannot check argument
types for format strings allocated at runtime.
The format string is returned by gettext().

There are other ways of making sure format directives in translated
strings are valid, see http://svn.haxx.se/dev/archive-2011-08/0136.shtml

Reply via email to