Re: [PATCH] gettext: more-consistent no-op macros
Paul Eggert <[email protected]>
| Newsgroups | gmane.comp.lib.gnulib.bugs |
|---|---|
| Organization | UCLA Computer Science Department |
| Message-ID | <[email protected]> |
On 2026-08-24 13:16, Bruno Haible wrote:
> 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
> */
No, I didn't. Should this code be put into a Gnulib test case?