[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Gettext 0.16.1 doesn't crosscompile well with MinGW w32api-3.9
From: |
Dennis Schridde |
Subject: |
Gettext 0.16.1 doesn't crosscompile well with MinGW w32api-3.9 |
Date: |
Tue, 10 Apr 2007 20:40:21 +0200 |
User-agent: |
KMail/1.9.6 |
Hello!
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.)
--Dennis
gettext_w32api-3.9_sublang.patch
Description: Text Data
pgpV7pgQLsTaD.pgp
Description: PGP signature
- Gettext 0.16.1 doesn't crosscompile well with MinGW w32api-3.9,
Dennis Schridde <=