Derek Atkins schrieb: > > Herbert Thoma <[EMAIL PROTECTED]> writes: > > > OK, I now know what happened: on 2002-12-23 -Werror was re-enabled. > > The "gettext redefined" is a warnig ... > > So something with NLS, gettext, intltool, whatever was changed > > while -Werror was disabled (which was quite a long time). > > Uggh -- that's not nice of them. Tracking this down might be a > hairy mess.
I didn't mean that something in NLS, gettext, intltool, whatever was changed. I believe that it is something with GnuCashs automake, autoconf or configure. I tried now with SuSE 8.0, too, and it shows the same problem. The problem is /opt/gnome/include/gnome-1.0/libgnome/gnome-i18n.h: <...> #include <libintl.h> #ifdef ENABLE_NLS # ifdef GNOME_EXPLICIT_TRANSLATION_DOMAIN # undef _ # define _(String) dgettext (GNOME_EXPLICIT_TRANSLATION_DOMAIN, String) # else # define _(String) gettext (String) # endif # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else /* Stubs that do something close enough. */ # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif <...> gettext is defined in libintl.h and if ENABLE_NLS is not defined then it gets redefined. Is gnome-i18n.h the same on your system or do you have something like -DENABLE_NLS in your $CFLAGS? Herbert. > > Herbert. > > -derek > -- > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory > Member, MIT Student Information Processing Board (SIPB) > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH > [EMAIL PROTECTED] PGP key available -- Herbert Thoma FhG-IIS A, Studio Department Am Weichselgarten 3, 91058 Erlangen, Germany Phone: +49-9131-776-323 Fax: +49-9131-776-399 email: [EMAIL PROTECTED] www: http://www.iis.fhg.de/ _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel
