[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: yet another hello pretest
From: |
Bruno Haible |
Subject: |
Re: yet another hello pretest |
Date: |
Fri, 10 Nov 2006 17:47:37 +0100 |
User-agent: |
KMail/1.9.1 |
Jim Meyering wrote:
> Better still, add this in system.h:
>
> #if ! ENABLE_NLS
> # undef textdomain
> # define textdomain(Domainname) /* empty */
> # undef bindtextdomain
> # define bindtextdomain(Domainname, Dirname) /* empty */
> #endif
If you do this, you'll get "unused variable" warnings when you use
textdomain or bindtextdomain with non-literal arguments. It might work
in your system.h, but is IMO not suitable for general use in gettext.h.
Bruno
Re: yet another hello pretest, Ralf Wildenhues, 2006/11/12