Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken
Home

[Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: himasaram@xxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Oct 2005 19:37:45 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14476 >

Daniel Markstedt wrote:

> climisc.c:295: warning: passing arg 3 of `my_snprintf' makes pointer
> from integer without a cast

That's because gettext headers aren't properly included.  This is surely 
a bug but if linking works and it runs then it is harmless.

However, it should obviously be fixed.  Question 1: where is gettext() 
defined?  Try running "man -a gettext" and see if tells you anything to 
#include.  Then try "grep gettext /usr/include/*.h".  The look at 
config.h and see what the "HAVE_LIBINTL_H" and "HAVE_LOCALE_H" lines say.

-jason





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