On winXP with Msys/mingw the fluid1 build fails (the build of the fltk3 fluid is fine however.)
This problem seems to be WinXX related, so not specifically a mingw feature I think. Here's the failure: === making fluid1 === : Compiling fluid.cxx... fluid.cxx: In function `void print_menu_cb(Fl_Widget*, void*)': fluid.cxx:969: error: cannot convert `Fl_Window*' to `const fltk3::Window*' for argument `1' to `HWND__* fl_xid_(const fltk3::Window*)' make[1]: *** [fluid.o] Error 1 make: *** [all] Error 1 Specifically, what we are choking on is the line... dialog.hwndOwner = fl_xid(main_window); Here we are trying to implicitly cast Fl_Window *main_window to a fltk3::Window* and that's failing (though of course is fine under fltk3.) Greping through the code, I was surprised to discover that this appears to be the only place we actually use fl_xid() in our own sources. So, anyway, I guess we need to wrapper fl_xid(), or cast this away or something... But I don't know what. Now - going off at a tangent - how does fluid printing under OSX work? (Does fluid printing under OSX work?) as I can't see the code for that - there's ifdef WIN32 code, and alternate code that uses print_panel.cxx which looks like it would be for X11, but I don't see where OSX is handled. Or am I missing the point and print_panel.cxx does also handle OSX? And - going off at a tangent to the tangent - I notice that the $ID$ tag on print_panel.cxx is not filled in so the tag attributes or something on the file are maybe not set right? (NOTE: This is true of the fltk-1.3 baseline now I check it, too, so is not a fltk3 issue per se.) SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
