Mail Archives: djgpp/2000/07/13/16:33:33
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 -