DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2205
Version: 2.0-current


The problem is not related to gcc, but to a change in glibc 2.10. 

See this bug report:
http://sourceware.org/ml/glibc-bugs/2009-01/msg00109.html

and the relevant commit to glibc:
http://sources.redhat.com/git/?p=glibc.git;a=commit;h=eee6b1432794967d4272394dfed1e2b5cca4be39

Basic fix is trivial, change
int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
to
int n = scandir(d, list, 0, (int(*)(const dirent **,const dirent
**))sort);


Link: http://www.fltk.org/str.php?L2205
Version: 2.0-current

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

Reply via email to