bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in windows??


From: Bruno Haible
Subject: Re: bug in windows??
Date: Sun, 1 Feb 2009 12:23:04 +0100
User-agent: KMail/1.9.9

Hello,

liutaoxwl wrote:
> When I used gettext in windows like this:
> 
> #include <locale.h>
> #include "libintl.h"
> #define _(string) gettext(string)
> #pragma comment(lib, "../libintl.lib")
> fprintf (stdout, _("hello world!\n"));
> I get a error when run at fprintf.

You are not saying what kind of error you are getting. No diagnose without
detailing the symptoms.

> When I include gettext.h but not libintl.h, there has no error, but it do
> nothing.

See the gettext FAQ:
http://www.gnu.org/software/gettext/FAQ.html#integrating_noop
http://www.gnu.org/software/gettext/FAQ.html#windows_howto
http://www.gnu.org/software/gettext/FAQ.html#windows_setenv

Bruno




reply via email to

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