Hello!
 
I am trying to compile fltk-1.1.10 on windows 7 64bit with gcc-4.5.1 from
mingw64. It gives me the following error:
 
=== making jpeg ===
...
Archiving ../lib/libfltk_jpeg.a...
=== making zlib ===
...
Archiving ../lib/libfltk_z.a...
=== making png ===
...
Archiving ../lib/libfltk_png.a...
=== making src ===
Compiling Fl.cxx...
In file included from ../FL/Fl_Group.H:32:0,
                 from ../FL/Fl_Window.H:31,
                 from Fl.cxx:34:
../FL/Fl_Widget.H: In member function 'long int Fl_Widget::argument() const':
../FL/Fl_Widget.H:158:39: error: cast from 'void*' to 'long int' loses precision
Fl.cxx: In static member function 'static int Fl::handle(int, Fl_Window*)':
Fl.cxx:719:46: warning: suggest parentheses around '&&' within '||'
make[1]: *** [Fl.o] Error 1
make: *** [all] Error 1
 
I tried to use mingw-gcc with the option CC="gcc -m32" to build a 32bit-binary,
but it gave me the same error. Using mingw32 with a gcc-3.4 compiler (on WIndows
XP SP3 32bit) worked fine, but I would like to build a 64bit version.
 
Has anybody come across this issue or does anybody have an idea how to fix it?
 
Regards,

Gabriel

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

Reply via email to