2 Oct
2007
2 Oct
'07
10:45 p.m.
On Tue, Oct 02, 2007 at 10:23:19PM +0000, higuita wrote:
On Tue, 2 Oct 2007 16:42:16 -0400, wrote:
-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
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).
Thanks, it works!! it allowed the build to continue it gave several errors like this and i fix then the same way.
I can extract a patch and send it if you want.
Yes, please send your patch to check suspicious parts. -- Cheers Jorge.-