On 18 Jul 2009, at 2:38, James Hearon wrote:
>
> f11, gcc 4.4.0, glibc 2.1.0

Yup, the gcc-4.4.0 + glibc-2.10 is the "problem" combination for us.


> FLTK 1.1.0  src/filename_list.cxx

fltk-1.1.0? Really? That is *very* old.
Current from the 1.1.x series is 1.1.9, and the release of 1.1.10  
(which may be the final 1.1.x series version) might be quite close as  
it is almost bug free (apart from this particular bug...)

For my work I am using the fltk-1.3 development series. It is API  
compatible with the 1.1 series (although the underlying ABI is  
different).
The tips that Albrecht and I posted, and Albrecht's patch in STR  
#2222, were intended for the 1.3 series, and you should be able to  
get fltk-1.3.x-r6829.tar.bz2 from the download page, apply the patch,  
then configure/make as usual and "all will be well".

> around line 70, various ifdefs...
>
> the one it seemed to like was this one:
> int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent  
> **))sort);
>
> At least got it thru the compiler; but not sure yet it's actually  
> working.

Yup, that looks like the correct fix.

Run a few samples from the test folder, see how they go. Let us know.

Cheers,
-- 
Ian



_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to