DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2540 Version: 1.1.10 this occurs only on the 64-bit target compiler. my situation is: 64-bit target, 32-bit host compiler, mingw-w64, personal build sezero. windows xp pro sp3 32-bit OS. /prj/fltk/fltk-1.1.10/FL/Fl_Widget.H:158: error: cast from 'void*' to 'long int' loses precision show stopper for 64-bit gcc compiler environment, because 64-bit pointers can't be forced into a long type no matter what you try (there's no way to do it, i've tried). what you do is put in detection for 64-bit windows compilation with the following: #if defined(_WIN64) ...put 64-bit code here #else ...put 32-bit code here #endif Link: http://www.fltk.org/str.php?L2540 Version: 1.1.10
errgw
Description: Binary data
_______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
