DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2308
Version: 1.3.0


hm. intptr_t works, but :

void cb_smth(Fl_Widget*,long);

Fl_Menu_Item itm[]={
...
{"abra",0,(Fl_Callback*)cb_smth,1},
...

cause an error in conversion from void (*)(Fl_Widget*,long int) to void
(*)(Fl_Widget*,void*)

it seems that we must use _int64 instead of long on WIN64 platforms
because sizeof(long)==4 but sizeof(void)==8.


Link: http://www.fltk.org/str.php?L2308
Version: 1.3.0

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

Reply via email to