Dillo failed to compile with GCC 4.4.0
Hi, I'm trying to compile latest dillo hg snapshot with GCC 4.4.0 and got this error: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -MT tablecell.o -MD -MP -MF .deps/tablecell.Tpo -c -o tablecell.o tablecell.cc tablecell.cc: In member function ?virtual void dw::TableCell::wordWrap(int)?: tablecell.cc:55: error: invalid conversion from ?const char*? to ?char*? make[2]: *** [tablecell.o] B??d 1 make[2]: Opuszczenie katalogu `/home/adrian/src/dillo/dw' make[1]: *** [all-recursive] B??d 1 make[1]: Opuszczenie katalogu `/home/adrian/src/dillo' make: *** [all] B??d 2 System is Arch Linux with latest gcc package (gcc-4.4.0-2). Adrian Rutkowski
Tim wrote:
Hi, I'm trying to compile latest dillo hg snapshot with GCC 4.4.0 and got this error: [...]
There is already a patch. Unfortunately it has not been integrated into mainline yet. See thread ``[patch] GCC v4.4''.
I'll commit the tablecell line in a moment. Then someone can tell me exactly what error msg they get with form.cc and so on...
g++ -DHAVE_CONFIG_H -I. -I.. -DDILLORC_SYS='"/usr/local/etc/dillorc"' -I/usr/local/include -I.. -I/usr/include/libpng12 -I/usr/local/include -Wno-non-virtual-dtor -g -O2 -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -MT uicmd.o -MD -MP -MF .deps/uicmd.Tpo -c -o uicmd.o uicmd.cc uicmd.cc: In function ?char* UIcmd_make_save_filename(const char*)?: uicmd.cc:700: error: invalid conversion from ?const char*? to ?char*? make[3]: *** [uicmd.o] B??d 1 make[3]: Opuszczenie katalogu `/home/adrian/src/dillo/src' make[2]: *** [all-recursive] B??d 1 make[2]: Opuszczenie katalogu `/home/adrian/src/dillo/src' make[1]: *** [all-recursive] B??d 1 make[1]: Opuszczenie katalogu `/home/adrian/src/dillo' make: *** [all] B??d 2
On Fri, May 22, 2009 at 06:53:09PM +0200, Adrian Rutkowski wrote:
Hi, I'm trying to compile latest dillo hg snapshot with GCC 4.4.0 and got this error:
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -MT tablecell.o -MD -MP -MF .deps/tablecell.Tpo -c -o tablecell.o tablecell.cc tablecell.cc: In member function ???virtual void dw::TableCell::wordWrap(int)???: tablecell.cc:55: error: invalid conversion from ???const char*??? to ???char*??? make[2]: *** [tablecell.o] B????d 1 make[2]: Opuszczenie katalogu `/home/adrian/src/dillo/dw' make[1]: *** [all-recursive] B????d 1 make[1]: Opuszczenie katalogu `/home/adrian/src/dillo' make: *** [all] B????d 2
System is Arch Linux with latest gcc package (gcc-4.4.0-2).
Can you provide temporary access (account/passwd) to a machine with gcc-4.4.0-2? I'd gladly take a look into it (you can send me the account/passwd encrypted with dillo.org/authors/jcid.gpg). Unfortunately the proposed patch has severe flaws with memory handling. -- Cheers Jorge.-
participants (4)
-
corvid@lavabit.com
-
jcid@dillo.org
-
rutkowski.adrian1@gmail.com
-
tim.nieradzik@gmx.de