[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bindtextdomain, textdomain, and gettext not getting called.
From: |
Bruno Haible |
Subject: |
Re: bindtextdomain, textdomain, and gettext not getting called. |
Date: |
Thu, 8 Nov 2007 03:13:08 +0100 |
User-agent: |
KMail/1.5.4 |
David Bruce wrote:
> When I build the program, gcc warns about "statements with no effect"
>
> ../../trunk/src/tuxmath.c: In function âmainâ:
> ../../trunk/src/tuxmath.c:43: warning: statement with no effect
> ../../trunk/src/tuxmath.c:44: warning: statement with no effect
> ../../trunk/src/tuxmath.c:45: warning: statement with no effect
> ...
> The gettext FAQ says:
> >If gettext/dgettext/dcgettext is not called at all, the possible cause might
> >be that some autoconf or Makefile macrology has turned off
> >internationalization entirely (like the --disable-nls configuration option
> >usually does).
The FAQ is pointing into the right direction. In gettext.h there is a
#if ENABLE_NLS
The gcc warnings indicate that ENABLE_NLS was not set.
Are you using the AM_GNU_GETTEXT macro, as described in the GNU gettext
manual, chapter "The Maintainer's View"? If so, what is the configure-time
output of this macro?
Bruno