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

[STR New]

Link: http://www.fltk.org/str.php?L2813
Version: 1.3-feature


Ian, Thanks for the reply. Yup, the definition of 'fl_intptr_h' is a
mystery. There are already cases of it being used (in non #ifdef-d
contexts!) throughout the code before my patch:

csaba-workpc:fltk-1.3.x-r9285-orig$ grep fl_intptr_t */*.[chH]*
FL/Fl_Menu_Item.H:  long argument() const {return
(long)(fl_intptr_t)user_data_;}
FL/Fl_Widget.H:  \todo  typedef's fl_intptr_t and fl_uintptr_t should be
documented.
FL/Fl_Widget.H:typedef intptr_t fl_intptr_t;
FL/Fl_Widget.H:typedef long fl_intptr_t;
FL/Fl_Widget.H:  long argument() const {return
(long)(fl_intptr_t)user_data_;}
fluid/Fl_Widget_Type.cxx:  int n = fl_intptr_t(i->user_data());
fluid/fluid.cxx:    _fpt = _fdopen(_open_osfhandle((fl_intptr_t)
h,_O_BINARY),mode);
src/fl_ask.cxx:  ret_val = (fl_intptr_t)val;
test/arc.cxx:  args[fl_intptr_t(v)] = s->value();
test/cursor.cxx:  cursor = (Fl_Cursor)(fl_intptr_t)v;
test/curve.cxx:  args[fl_intptr_t(v)] = s->value();
test/fractals.cxx:void setlevel(Fl_Widget*, void *value)
{setlevel(fl_intptr_t(value));}
test/fractals.cxx:void choosefract(Fl_Widget*, void *value)
{choosefract(fl_intptr_t(value));}
test/fractals.cxx:void handlemenu(Fl_Widget*, void *value)
{handlemenu(fl_intptr_t(value));}
test/input.cxx:  switch ((fl_intptr_t)v) {
test/scroll.cxx:  thescroll->type((uchar)((fl_intptr_t)v));
test/scroll.cxx:  thescroll->scrollbar.align((uchar)((fl_intptr_t)v));
test/table.cxx:    G_table->table_box((Fl_Boxtype)(fl_intptr_t)data);
test/table.cxx:    G_table->box((Fl_Boxtype)(fl_intptr_t)data);
test/table.cxx:   
G_table->type((Fl_Table_Row::TableRowSelectMode)(fl_intptr_t)data);
test/tree.cxx:          (long)(fl_intptr_t)tree->user_data(),

I was looking for its declaration for non _WIN64 targets and could not
find it either, but still got no compile errors. Weird. After the mingw64
build I actually configure-d my patched version for a native build (Linux
x86_64), no errors or warnings. Go figure...


Link: http://www.fltk.org/str.php?L2813
Version: 1.3-feature

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

Reply via email to