[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] lib/gettext.h breaks --enable-gcc-warnings
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] lib/gettext.h breaks --enable-gcc-warnings |
Date: |
Fri, 10 Nov 2006 15:48:41 +0100 |
User-agent: |
KMail/1.9.1 |
Paul Eggert wrote:
> 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.
Thanks, applied in gnulib and GNU gettext.
Bruno