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

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

Re: Gettext 0.16.1 doesn't crosscompile well with MinGW w32api-3.9


From: Bruno Haible
Subject: Re: Gettext 0.16.1 doesn't crosscompile well with MinGW w32api-3.9
Date: Tue, 10 Apr 2007 23:49:25 +0200
User-agent: KMail/1.5.4

Hello,

Dennis Schridde wrote:
> When crosscompiling for mingw32, I detected a problem in the SUBLANG_ 
> definitions of gettext 0.16.1.
> 
> Sometimes w32api only defines one of the SUBLANG_s gettext knows and, like 
> the 
> Windows headers always do, it starts with 0x01.
> Gettext defines the remaining SUBLANG_s, but it starts at 0x00.
> This leads to the problem of multiple SUBLANG_s ending up with the same 
> definition, which makes GCC stop compiling when it comes to the switch/case 
> section.
> 
> The attached patch fixes the compilation. It is not tested whether these are 
> the correct definitions. (I am missing a Bengali/Punjabi/Romanian 
> installation of Windows.)

Thanks for reporting this. Your patch is good; a more complete patch has
been posted in [1] and will be included in the next gettext version.

         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]