On 12.08.2012, at 02:01, Patrick <[email protected]> wrote:

> Hi Everyone
> 
> I guess 1.0 does not get much use these days but the code base was only 
> 17K lines of code back then. I would like to build it but I am getting 
> errors.

You will hit problems. One reason for continuous development is to adapt to new 
compilers and libraries.


> filename_list.cxx: In function ‘int filename_list(const char*, dirent***)’:
> filename_list.cxx:56:74: error: invalid conversion from ‘int (*)(const 
> void*, const void*)’ to ‘int (*)(const dirent**, const dirent**)’ 
> [-fpermissive]
> /usr/include/dirent.h:256:12: error: initializing argument 4 of ‘int 
> scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const 
> dirent**, const dirent**))’ [-fpermissive]

This is a quite common issue. The function scandir is defined differently on 
different systems. FLTK 1.3 takes care of that for you.

 - Matthias

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

Reply via email to