bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lib/gettext.h breaks --enable-gcc-warnings


From: Joel E. Denny
Subject: Re: lib/gettext.h breaks --enable-gcc-warnings
Date: Thu, 9 Nov 2006 21:42:03 -0500 (EST)

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  <address@hidden>
> 
>       * 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

[Prev in Thread] Current Thread [Next in Thread]