On 19.03.2010, at 10:31, MacArthur, Ian (SELEX GALILEO, UK) wrote: > Hmm, we get this build time warning on 32-bit systems now: > > Fl_Preferences.cxx: In member function `void* > Fl_Plugin_Manager::addPlugin(const char*, Fl_Plugin*)': > Fl_Preferences.cxx:1927: warning: cast from pointer to integer of > different size > > That's from Manolo's %p substitute code, I guess a 64-bit system would > through the equivalent warning at line 1929 instead... > > Looks like it will do the Right Thing at runtime of course, but do we > care about this warning? Can we do the equivalent check with ifdef's at > compile time as an alternative?
Yes, I am not very happy with the current code. Is there a C++ approved cross platform 64-bit safe method to convert a pointer into an ASCII string and back? > Also, I notice that any call to fluid now throws out a: > > Generating fast_slow.cxx and header from fast_slow.fl... > Fl_Plugin: creating a plugin manager for class "commandline" > Fl_Plugin: deleting a plugin manager Well, yes. The Fl_Plugin is now logging all activities, and Fluid already has a plugin interface for creating new command line modules. If you were to add the ide_*.cxx files to the liner line, you would see the ide management functions linking themselves into Fluid. - Matthias _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
