On 2009-06-17, imm <[email protected]> wrote: > 2009/6/17 Jane <[email protected]> > >> any comments on this? it's not really a solution to change >> the header on my system as it won't compile anywhere else. >> i distribute binaries but anyway. >> >> maybe i my explaination wasn't clear. let me try >> again: >> >> setting the textcolor of a Spinner in fluid causes a >> compiler error with gcc 4.3.3: >> >> ui.C:4836: error: invalid conversion from `int' to >> `Fl_Color' >> ui.C:4836: error: initializing argument 1 of `void >> Fl_Spinner::textcolor(Fl_Color)' >> > > Jan, I have an ubuntu 9.04 box set-up at home now, but I'm away right now... > Should be home Saturday, I'll give it a spin then. > I think that's the same compiler version you are having problems with?
yay, i get the same error with gcc 4.4.0 > > I take it that a simple cast isn't going to be enough to fix it? a cast will fix it, but do you want your users to edit the code generated by fluid? nah... ") > > In the meantime, can you post a minimal compilable example that manifests > the fault, that I can use for my testing? add a spinner in fluid, set the textcolor to any color but the default so that textcolor is called on it, export, compile. :} > > Cheers, cheers, JanE _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

