Menu

Compilation fails

Helpdesk
2013-06-27
2013-06-27
  • Hombremaledicto

    Hombremaledicto - 2013-06-27

    Here's the error:

    [ 29%] Building CXX object CMakeFiles/be.shell.dir/tasks.o
    /home/hombre/Source/be-shell/tasks.cpp:511:1: warning: unused parameter ‘stick’ [-Wunused-parameter]
    BE::Task::setSticky(bool stick)
    ^
    /home/hombre/Source/be-shell/tasks.cpp: In member function ‘void BE::Task::update(const long unsigned int)’:
    /home/hombre/Source/be-shell/tasks.cpp:765:100: error: no matching function for call to ‘BE::Task::themeIcon(const QString&, bool, QWidget
    )’
    QIcon icn = BE::Plugged::themeIcon(exe().isEmpty() ? myGroup : exe(), false, parentWidget());
    ^
    /home/hombre/Source/be-shell/tasks.cpp:765:100: note: candidate is:
    In file included from /home/hombre/Source/be-shell/tasks.h:25:0,
    from /home/hombre/Source/be-shell/tasks.cpp:44:
    /home/hombre/Source/be-shell/be.plugged.h:50:18: note: static QIcon BE::Plugged::themeIcon(const QString&, bool)
    static QIcon themeIcon(const QString &icon, bool tryKDE = true);
    ^
    /home/hombre/Source/be-shell/be.plugged.h:50:18: note: candidate expects 2 arguments, 3 provided
    make[2]: [CMakeFiles/be.shell.dir/tasks.o] Errore 1
    make[1]:
    [CMakeFiles/be.shell.dir/all] Errore 2
    make: *** [all] Errore 2

     
  • Thomas Luebking

    Thomas Luebking - 2013-06-27

    Your fault :-P
    Part of extra theme icon patch (which i don't like in it's current state).

    pushed fixing commit, sorry for the trouble and thatnks for the notice.

     
  • Hombremaledicto

    Hombremaledicto - 2013-06-27

    Oh, hehe...So you're doing it, thanks!

    No problem ;)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.