www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/13/16:33:33

From: pavenis AT lanet DOT lv
To: "Juan Manuel Guerrero" <ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De>,
djgpp AT delorie DOT com
Date: Thu, 13 Jul 2000 19:35:08 +0200
MIME-Version: 1.0
Subject: Re: ANNOUNCE: DJGPP port of GNU gettext-0.10.35
Message-ID: <396E19EC.28107.5D732F@localhost>
In-reply-to: <200007071849.OAA19380@delorie.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 7 Jul 2000, at 20:12, Juan Manuel Guerrero wrote:

> This is a port of GNU Gettext 0.10.35 to MSDOS/DJGPP.
> 
>      GNU Gettext provides a library and the tools needed to internationalize
>      your programs. Please refer to the info docs for further information about
>      NLS (national language support) and to the file ABOUT-NLS, located in the
>      top srcdir of gettext, to see which GNU packages offers NLS.
> 
>      You can download the binaries,docs and sources from SimtelNET and mirrors as:
>        ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/gtxt035b.zip
>        ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/gtxt035d.zip
>        ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/gtxt035s.zip
> 
>      The DJGPP specific changes are the followings:
>      1) The conflict existing between the gettext function from DJGPP's libc.a
>         defined in conio.h and the gettext function from libintl.a has been
>         removed. The gettext() stub in intl-comp.c has been defined out and
>         a macro, that will expand to gettext__, has been introduced in intlh_inst.in
>         (libintl.h when installed in $DJDIR/include).
>         The gettext function is now available as gettext or gettext__.

It's not fixed completely.

I'm getting errors from following example:
-------------------------------------------------
#include <libintl.h>
#include <conio.h>
-------------------------------------------------
In file included from intl.c:2:
d:/djgpp/include/conio.h:74: conflicting types for `gettext__'
d:/djgpp/include/libintl.h:52: previous declaration of `gettext__'
-------------------------------------------------

If  I swap #include statements then example compiles Ok.

Andris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019