On 25 Aug 2007, at 21:37, eklavyaa wrote:

> Has anyone tried compiling Fltk 1.1.7 using gcc 4.1.2 on openSuSE  
> 10.2?
>
> I stuck with the default configuration (./configure, without any  
> options). When I run make, it halts with
>
> cursor.cxx: In function ‘void choice_cb(Fl_Widget*, void*)’:
> cursor.cxx:42: error: cast from ‘void*’ to ‘int’ loses precision
>
>
> I guess this is a 64 bit compatibility issue, so I changed the gcc  
> and g++ flags by adding -m32

If you want 64 bit operation on linux, you really need to be using  
the weekly snapshots of 1.1.8 from the web-site - 1.1.7 will not be  
fixed to support this now - although you can do it yourself, there  
are other pertinent enhancements in the 1.1.8 baseline that make it  
more useful to you.




_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to