MacArthur, Ian (SELEX GALILEO, UK) wrote: > Looking at the 1.1.10 / 1.3.x versions, the only non-doc change seems to > be that the following lines are removed from the file... > > # ifdef WIN32 > # include <windows.h> > # endif // WIN32 > > # include <stdio.h> > # include "Fl_Export.H"
Mea culpa (partially). See STR #2173. Obviously removing <stdio.h> was not okay (my conclusion that it wouldn't be needed, because it is included in Fl_Preferences.cxx is okay for FLTK, but not for user code that includes only Fl_Preferences.H). > I guess that could be relevant, but I wonder, then, why #including > stdio.h did not just fix it? I can confirm the error with the simple test/hello.cxx by inserting #include <FL/Fl_Preferences.H> Adding #include <stdio.h> in front of it fixes it. I'll fix this by adding <stdio.h> again, but there must be another problem with Alvin's source code (maybe). -- okay, just saw Alvin's other reply -- Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

