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-26 10:16, Bruno Haible wrote:
> But that is not universally true. It depends on the context.
>
> In any case, static_cast<TYPE> works fine regardless of C++ version
> and C++ compiler.
Good to know, although this issue shouldn't matter for the gettext no-op macros, as gettext("foo") cannot be used in static initializers when ENABLE_NLS.