From: "Tim 'Zastai' Van Holder" Newsgroups: comp.os.msdos.djgpp References: <396E19EC DOT 28107 DOT 5D732F AT localhost> Subject: Re: ANNOUNCE: DJGPP port of GNU gettext-0.10.35 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Sun, 16 Jul 2000 14:13:42 GMT NNTP-Posting-Host: 213.224.63.5 X-Trace: afrodite.telenet-ops.be 963756822 213.224.63.5 (Sun, 16 Jul 2000 16:13:42 MET DST) NNTP-Posting-Date: Sun, 16 Jul 2000 16:13:42 MET DST Organization: Pandora - Met vlotte tred op Internet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com wrote in message news:396E19EC DOT 28107 DOT 5D732F AT localhost... > It's not fixed completely. > > I'm getting errors from following example: > ------------------------------------------------- > #include > #include > ------------------------------------------------- > 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 Looks like he's made the unfortunate mistake of doing '#define gettext gettext__', which un-fixes the nameclash he fixed by renaming libintl's gettext to gettext__. My previous port didn't do this; instead it defined the commonly used _(foo) macro to use gettext__. While not defining gettext requires patching existing GNU sources before they work with the port, the existence of the _() macro minimized this work. -- Hi, I'm a signature virus. plz set me as your signature and help me spread :)