On Thu, 9 Nov 2006, Paul Eggert wrote:

> Here is a proposed patch to gnulib/lib/gettext.h, which works for me:
> 
> 2006-11-09  Paul Eggert  <[EMAIL PROTECTED]>
> 
>       * lib/gettext.h (dgettext, dcgettext, ngettext) [! ENABLE_NLS]:
>       (dngettext, dcngettext, bindtextdomain) [! ENABLE_NLS]:
>       (bind_textdomain_codeset) [! ENABLE_NLS]:
>       Evaluate all the arguments.  That way, callers get compatible
>       behavior if the arguments have side effects.  Also, it avoids
>       some GCC diagnostics in some cases; Joel E. Denny reported problems when
>       Bison was configured with --enable-gcc-warnigs.

For what it's worth, it works for me too.


Reply via email to