Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275802 - fltk 2.0_pre6786 gcc4.4
Summary: fltk 2.0_pre6786 gcc4.4
Status: RESOLVED DUPLICATE of bug 270487
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.4
  Show dependency tree
 
Reported: 2009-06-29 10:16 UTC by Christoph Brill (egore) (RESIGNED)
Modified: 2009-07-04 16:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fltk-2.0_pre6786-gcc44.patch (fltk-2.0_pre6786-gcc44.patch,695 bytes, patch)
2009-06-29 10:17 UTC, Christoph Brill (egore) (RESIGNED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Brill (egore) (RESIGNED) 2009-06-29 10:16:01 UTC
I tried to build fltk on amd64 and it failed with the following error.

filename_list.cxx: In function »int fltk::filename_list(const char*, dirent64***, int (*)(const dirent64* const*, const dirent64* const*))«:
filename_list.cxx:66: Fehler: ungültige Umwandlung von »int (*)(const void*, const void*)« in »int (*)(const dirent64**, const dirent64**)«
filename_list.cxx:66: Fehler:   Argument 4 von »int scandir64(const char*, dirent64***, int (*)(const dirent64*), int (*)(const dirent64**, const dirent64**))« wird initialisiert

The attached patch lets fltk build on gcc 4.4

Reproducible: Always

Steps to Reproduce:
Comment 1 Christoph Brill (egore) (RESIGNED) 2009-06-29 10:17:03 UTC
Created attachment 196049 [details, diff]
fltk-2.0_pre6786-gcc44.patch
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2009-07-04 16:52:58 UTC

*** This bug has been marked as a duplicate of bug 270487 ***