Dillo failed to compile with GCC 4.4.0
On Fri, May 22, 2009 at 05:34:20PM +0000, corvid wrote:
Does this compile cleanly for you:
diff -r 717e6ced084f src/uicmd.cc --- a/src/uicmd.cc Fri May 22 17:16:18 2009 +0000 +++ b/src/uicmd.cc Fri May 22 17:32:05 2009 +0000 @@ -694,8 +694,8 @@ static char *UIcmd_make_save_filename(co static char *UIcmd_make_save_filename(const char *pathstr) { size_t MaxLen = 64; - char *FileName, *name, *newname, *o, *n; - const char *dir = a_UIcmd_get_save_dir(); + char *FileName, *newname, *o, *n; + const char *name, *dir = a_UIcmd_get_save_dir();
if ((name = strrchr(pathstr, '/'))) { if (strlen(++name) > MaxLen) {
Yes that fixed it, now it stops here: 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 html.o -MD -MP -MF .deps/html.Tpo -c -o html.o html.cc html.cc: In function ?void Html_tag_open_meta(DilloHtml*, const char*, int)?: html.cc:2812: error: invalid conversion from ?const char*? to ?char*? make[1]: *** [html.o] B??d 1 make[1]: Opuszczenie katalogu `/home/adrian/src/dillo/src' make: *** [all-recursive] B??d 1
participants (1)
-
rutkowski.adrian1@gmail.com