filebrowser-0.2.0 compilation error [fixed]

  • Hi,


    if you get the following error while compiling filebrowser-0.2.0:


    g++ -fPIC -O2 -Wall -Woverloaded-virtual -c -DFILEBROWSER_PLUGIN_BUILD -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"filebrowser"' -I../../../include -I../../../../DVB/include filebrowser.c
    g++ -fPIC -O2 -Wall -Woverloaded-virtual -c -DFILEBROWSER_PLUGIN_BUILD -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"filebrowser"' -I../../../include -I../../../../DVB/include menu-filebrowser.c
    menu-filebrowser.c: In member function »void cOsdMenuFilebrowser::Refresh(const char*)«:
    menu-filebrowser.c:260: Fehler: ungültige Umwandlung von »int (*)(const void*, const void*)« in »int (*)(const dirent64**, const dirent64**)«
    menu-filebrowser.c:260: Fehler: Argument 4 von »int scandir64(const char*, dirent64***, int (*)(const dirent64*), int (*)(const dirent64**, const dirent64**))« wird initialisiert
    menu-filebrowser.c:285: Warnung: Der Rückgabewert von »int chdir(const char*)«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert
    make: *** [menu-filebrowser.o] Fehler 1


    use appended patch.

  • thx for the patch but i still have compile errors: (gcc-4.4)


Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!