On Tue, Oct 02, 2007 at 02:27:06AM +0000, higuita wrote:
Hi jorge and Sebastian
Thanks for releasing this version!!
On Sun, 30 Sep 2007 20:09:25 -0400, wrote:
----- FLTK2 -----
builds fine, its really a great lib!!
---------- dw-0.0.43j ----------
err... failed to build:
make[1]: Entering directory `/home/higuita/dillo/dw-testbed-0.0.43j/lout' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"dw-testbed\" -DVERSION=\"0.0.43j\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_UIO_H=1 -I. -g -O2 -D_REENTRANT -D_THREAD_SAFE -Wall -MT object.o -MD -MP -MF .deps/object.Tpo -c -o object.o object.cc object.cc: In member function 'virtual int object::Pointer::hashValue()': object.cc:118: error: cast from 'void*' to 'int' loses precision object.cc: In member function 'virtual void object::Pointer::intoStringBuffer(misc::StringBuffer*)': object.cc:132: error: cast from 'void*' to 'int' loses precision make[1]: *** [object.o] Error 1 make[1]: Leaving directory `/home/higuita/dillo/dw-testbed-0.0.43j/lout' make: *** [all-recursive] Error 1
i'm using slamd64 (slackware clone in 64bit)... gcc (GCC) 4.1.2
---------- dillo f15j ----------
also fails, looks like its the same reason:
make[3]: Entering directory `/home/higuita/dillo/dillo-f15/src' g++ -DHAVE_CONFIG_H -I. -I.. -DDILLORC_SYS='"/usr/local/etc/dillorc"' -I/usr/local/include -I../../dw-testbed -I/usr/include/libpng12 -DPNG_NO_MMX_CODE -I/usr/local/include -I/usr/include/freetype2 -Wno-non-virtual-dtor -g -O2 -Wall -W -Wno-unused-parameter -MT ui.o -MD -MP -MF .deps/ui.Tpo -c -o ui.o ui.cc ui.cc: In function 'void b1_cb(fltk::Widget*, void*)': ui.cc:235: error: cast from 'void*' to 'int' loses precision make[3]: *** [ui.o] Error 1
so my test stuck :)
as i'm no programmer, any help is welcome...
thanks for dillo
Try: - int bn = (int)cb_data; + int bn = (long)cb_data; If this works OK, the same may be used for C++ in Dw (i.e. default to long). -- Cheers Jorge.-