[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with "#define printf libintl_printf" in "libintl.h"
From: |
Henry Nelson |
Subject: |
Re: problem with "#define printf libintl_printf" in "libintl.h" |
Date: |
Sat, 17 Jun 2006 07:23:24 +0900 |
User-agent: |
Mutt/1.5.11 |
On Fri, Jun 16, 2006 at 05:43:11PM +0200, Bruno Haible wrote:
> Henry Nelson wrote:
> > When I compile programs that will link to both libintl and libslang,
> > warnings occur like:
> > /usr/local/include/slang.h:899: warning: `libintl_printf' is an
> > unrecognized
> > format function type
[...]
> > If I also try to link with libiconv, then a fatal error will occur.
>
> More details, please?
Let me gather more information, and get back to you on this.
> > Would it be possible to not redefine printf in "libintl.h"?
>
> Depends on the system / OS and programming language (C or C++?) that
> you are using. On which system are you seeing the problems?
uname -sr => NetBSD 3.0.0_STABLE
gcc --version => gcc (GCC) 3.3.3 (NetBSD nb3 20040520)
The applications where this conflict applies (for me personally) are mutt
and lynx.
--
henry n.