On Tue, 21 Oct 2008 19:39:51 +0200 Ben de Groot <yngwin@gentoo.org> wrote:
corvid wrote:
form.cc: In member function ?Dstr* DilloHtmlForm::encodeText(void*, Dstr**)?: form.cc:1261: error: invalid conversion from ?const char**? to ?char**? form.cc:1261: error: initializing argument 2 of ?size_t iconv(void*, char**, size_t*, char**, size_t*)?
Did you run configure yourself? What type does inbuf_t have in config.log?
yes, I ran configure first, with: ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-gif --disable-ipv6 --enable-jpeg --enable-png --enable-ssl --build=i686-pc-linux-gnu
% grep inbuf_t work/dillo-2.0/config.log #define inbuf_t const char
The iconv test is done with gcc in c-mode, form.cc in c++-mode. The first one might be less strict so the iconv test code in configure.in,configure does not produce errors. But -Wall should be added already to CFLAGS earlier.... Just some guesses. Greetings Andreas Kemnade