DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2011 Version: 1.3-current This is a repost of http://www.fltk.org/newsgroups.php?gfltk.bugs+v:6808 where I screwed up and sent to the mailing list rather than adding an STR. I noticed that if I set the window callback to onWindowClose_ and provided a static member function onWindowClose_ that called the [protected] member function onWindowClose, then doxygen generates entries for both. If I change this so that onWindowClose_ is a static function that calls the [public] onWindowClose member function, doxygen does not generate an entry for onWindowClose_. Great! Information hiding :-) So then I tried to migrate the other callbacks to the same scheme. I set the File/Quit menu item callback to onFileQuit_ and changed onFileQuit_ from being a static member function to a static function, and then I get the following message when I try to compile with g++: error: overloaded function with no contextual type information I can track this down to a spurious declaration in the header file: extern void onFileQuit_(Fl_Menu_*, void*); If I delete this line manually, I can compile and run. See the works.fl and fails.fl examples below. Link: http://www.fltk.org/str.php?L2011 Version: 1.3-current
works.fl
Description: Binary data
_______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
