Re: [PATCH] gettext: more-consistent no-op macros
Bruno Haible via Gnulib discussion list <[email protected]>
| Newsgroups | gmane.comp.lib.gnulib.bugs |
|---|---|
| Message-ID | <2578367.FgkmLspkOT@cagnes> |
Hi Paul,
Did you check this change with
/* A test case:
================================ foo.c ================================
#include <stdio.h>
#include "gettext.h"
void foo (int n)
{
printf (gettext ("foo %d"), n);
printf (dgettext ("toto", "foo %d"), n);
printf (dcgettext ("toto", "foo %d", LC_MESSAGES), n);
printf (ngettext ("foo %d", "bar %d", n), n);
printf (dngettext ("toto", "foo %d", "bar %d", n), n);
printf (dcngettext ("toto", "foo %d", "bar %d", n, LC_MESSAGES), n);
}
=======================================================================
$CC -Wformat=2 -S foo.c
*/
or do I need to do that?
Bruno