Greg Ercolano wrote: >> But I'd agree that something _could_ be done now, and I suggest using a >> common >> header file (maybe in the src directory ?). This header should contain a >> prominent note that it is only intended for use in Fl_Browser.cxx and >> Fl_File_Browser.cxx. > > For the short term I'm going to put a comment in BOTH definitions of > the FL_BLINE structures warning of their interdependence, as I would > never have caught this had not SebHall mentioned it.
Checked in warning comments as r6853. Warnings should be sufficient to prevent mistakes until either a common .H file is created, or until Fl_File_Browser is modified to no longer do this. I did not investigate what it would take to fix Fl_File_Browser. I think that code's maintainer should look into it. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
