FLTK logo

STR #2223

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 2.0 | SVN ⇄ GIT ]

STR #2223

Application:FLTK Library
Duplicate Of:STR #2205
Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:2 - Specific to an operating system
Subsystem:Config Files
Summary:FLTK-2.0.x-r6829 fails to build
Version:2.0-current
Created By:adrian7778
Assigned To:AlbrechtS
Fix Version:2.0-current
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 adrian7778
08:25 Jul 18, 2009
Hey, while trying to compile fltk-2.0.x-r6829 i've got this error:

Compiling filename_list.cxx...
filename_list.cxx: In function ‘int fltk::filename_list(const char*, dirent64***, int (*)(const dirent64* const*, const dirent64* const*))’:
filename_list.cxx:66: error: invalid conversion from ‘int (*)(const void*, const void*)’ to ‘int (*)(const dirent64**, const dirent64**)’
filename_list.cxx:66: error:   initializing argument 4 of ‘int scandir64(const char*, dirent64***, int (*)(const dirent64*), int (*)(const dirent64**, const dirent64**))’
make[1]: *** [filename_list.o] Błąd 1
make: *** [all] Błąd 2

System is Arch Linux with newest gcc package (gcc-4.4.0-5.1), and fltk was configured as:
--disable-gl --disable-debug --disable-xft --disable-cairo --disable-xinerama --with-optim="-s -Os -march=pentium3"

With -O2 i got the same error.
 
 
#2 AlbrechtS
07:22 Jul 21, 2009
This is a known problem, please refer to STR #2205 [1] and try the patch posted there [2]. Please report results at [1].
Thanks.

Since this is a duplicate of #2205, I'm closing it now.

---------------------------------------------------------
[1] http://www.fltk.org/str.php?L2205
[2] http://www.fltk.org/strfiles/2205/scandir_posix.patch
 
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.