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

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

Re: compilation of gettext 0.16.1 fails on MinGW because of winnt.h


From: Bruno Haible
Subject: Re: compilation of gettext 0.16.1 fails on MinGW because of winnt.h
Date: Mon, 7 May 2007 11:42:57 +0200
User-agent: KMail/1.5.4

Vincent Torri wrote:
> When using MinGW, the compilation of gettext 0.16.1 fails in 
> gettext-runtime/intl :
> 
> D:/msys/1.0/home/vincent/src/gettext-0.16.1/gettext-runtime/intl/localename.c:
>  
> In function `_nl_locale_name_default':
> D:/msys/1.0/home/vincent/src/gettext-0.16.1/gettext-runtime/intl/localename.c:1145:
>  
> error: duplicate case value
...
> for example, in winnt.h:
> 
> #define SUBLANG_BENGALI_INDIA 0x01
> 
> and in localename.c:
> 
> # ifndef SUBLANG_BENGALI_INDIA
> # define SUBLANG_BENGALI_INDIA 0x00
> # endif
> # ifndef SUBLANG_BENGALI_BANGLADESH
> # define SUBLANG_BENGALI_BANGLADESH 0x01
> # endif
> 
> What is the best way to fix that problem ?

Thanks for reporting this. You can use the patch from [1].

Bruno


[1] http://lists.gnu.org/archive/html/bug-texinfo/2006-12/msg00023.html





reply via email to

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