> filename_list.cxx: In function 'int fl_filename_list(const 
> char*, dirent***, int (*)(dirent**, dirent**))':
> filename_list.cxx:70: error: invalid conversion from 'int 
> (*)(const void*, const void*)' to 'int (*)(const dirent**, 
> const dirent**)'
> filename_list.cxx:70: error:   initializing argument 4 of 
> 'int scandir(const char*, dirent***, int (*)(const dirent*), 
> int (*)(const dirent**, const dirent**))'
> make[1]: *** [filename_list.o] Error 1
> make: *** [all] Error 1
> ---------------------------------------
> I am using gcc 4.4.3 under unbuntu linux,


This is (if I recall correctly) that the gcc/stdlib/binutils folk
changed the prototypes for the scandir and related dirent stuff, in an
attempt to make it more robust and (arguably) standards compliant.

This is fixed in fltk-1.1.10 and fltk-1.3, but fltk-1.1.9 is old and
pre-dates the changes.

You need to try again with fltk-1.1.10 and see if that works any better,
or revert your install to use an older g++.

I would strongly recommend using fltk-1.1.10 in this instance.






SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to