Gettext for Win32

From Carboogle

Contents

Get the library

Compiling under MinGW

Requirements

Compile gettext

Commands to use:

./configure
make
make install

When compiling gettext 0.16.1, an error occurs:

./localename.c:1145: error: duplicate case value
./localename.c:1144: error: previously used here
./localename.c:1359: error: duplicate case value
./localename.c:1358: error: previously used here
./localename.c:1367: error: duplicate case value
./localename.c:1366: error: previously used here

You just have to open the file localename.c and replace the constant names directly by their corresponding values (0x00, 0x01):

Example:

  1. case /*SUBLANG_BENGALI_INDIA*/0x00: return "bn_IN";
  2. case /*SUBLANG_BENGALI_BANGLADESH*/0x01: return "bn_BD";

Mycila.com

Mycila projects

Other projects

ports

articles

lessons