Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.
This repository was archived by the owner on Apr 30, 2024. It is now read-only.

Compiling failes #33

@stefonarch

Description

@stefonarch
....

[ 54%] Building CXX object CMakeFiles/lxqt-connman-applet.dir/agent.cpp.o
[ 58%] Building CXX object CMakeFiles/lxqt-connman-applet.dir/lxqt-connman-applet_autogen/mocs_compilation.cpp.o
[ 61%] Building CXX object CMakeFiles/lxqt-connman-applet.dir/agentadaptor.cpp.o
make[1]: *** [CMakeFiles/Makefile2:199: iconviewer/CMakeFiles/icon-viewer.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 64%] Building CXX object CMakeFiles/lxqt-connman-applet.dir/agentdialog.cpp.o
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp: In member function 'void Agent::ReportError(QDBusObjectPath, QString)':
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:45:41: warning: unused parameter 'servicePath' [-Wunused-parameter]
   45 | void Agent::ReportError(QDBusObjectPath servicePath, QString errorMessage)
      |                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:45:62: warning: unused parameter 'errorMessage' [-Wunused-parameter]
   45 | void Agent::ReportError(QDBusObjectPath servicePath, QString errorMessage)
      |                                                      ~~~~~~~~^~~~~~~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp: In member function 'void Agent::ReportPeerError(QDBusObjectPath, QString)':
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:50:45: warning: unused parameter 'peerPath' [-Wunused-parameter]
   50 | void Agent::ReportPeerError(QDBusObjectPath peerPath, QString errorMessage)
      |                             ~~~~~~~~~~~~~~~~^~~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:50:63: warning: unused parameter 'errorMessage' [-Wunused-parameter]
   50 | void Agent::ReportPeerError(QDBusObjectPath peerPath, QString errorMessage)
      |                                                       ~~~~~~~~^~~~~~~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp: In member function 'void Agent::RequestBrowser(QDBusObjectPath, QString)':
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:55:44: warning: unused parameter 'servicePath' [-Wunused-parameter]
   55 | void Agent::RequestBrowser(QDBusObjectPath servicePath, QString url)
      |                            ~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:55:65: warning: unused parameter 'url' [-Wunused-parameter]
   55 | void Agent::RequestBrowser(QDBusObjectPath servicePath, QString url)
      |                                                         ~~~~~~~~^~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp: In member function 'QVariantMap Agent::RequestInput(QDBusObjectPath, QVariantMap)':
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:65:77: error: 'QString::QString(const char*)' is private within this context
   65 |         sendErrorReply("net.connman.Agent.Error.Canceled", "Unknown service");
      |                                                                             ^
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
                 from /usr/include/qt/QtCore/qlist.h:47,
                 from /usr/include/qt/QtCore/qhash.h:46,
                 from /usr/include/qt/QtCore/qdebug.h:45,
                 from /usr/include/qt/QtCore/QDebug:1,
                 from /home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:25:
/usr/include/qt/QtCore/qstring.h:968:5: note: declared private here
  968 |     QString(const char *ch);
      |     ^~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:65:77: error: 'QString::QString(const char*)' is private within this context
   65 |         sendErrorReply("net.connman.Agent.Error.Canceled", "Unknown service");
      |                                                                             ^
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
                 from /usr/include/qt/QtCore/qlist.h:47,
                 from /usr/include/qt/QtCore/qhash.h:46,
                 from /usr/include/qt/QtCore/qdebug.h:45,
                 from /usr/include/qt/QtCore/QDebug:1,
                 from /home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:25:
/usr/include/qt/QtCore/qstring.h:968:5: note: declared private here
  968 |     QString(const char *ch);
      |     ^~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:74:71: error: 'QString::QString(const char*)' is private within this context
   74 |         sendErrorReply("net.connman.Agent.Error.Canceled", "Cancelled");
      |                                                                       ^
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
                 from /usr/include/qt/QtCore/qlist.h:47,
                 from /usr/include/qt/QtCore/qhash.h:46,
                 from /usr/include/qt/QtCore/qdebug.h:45,
                 from /usr/include/qt/QtCore/QDebug:1,
                 from /home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:25:
/usr/include/qt/QtCore/qstring.h:968:5: note: declared private here
  968 |     QString(const char *ch);
      |     ^~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:74:71: error: 'QString::QString(const char*)' is private within this context
   74 |         sendErrorReply("net.connman.Agent.Error.Canceled", "Cancelled");
      |                                                                       ^
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
                 from /usr/include/qt/QtCore/qlist.h:47,
                 from /usr/include/qt/QtCore/qhash.h:46,
                 from /usr/include/qt/QtCore/qdebug.h:45,
                 from /usr/include/qt/QtCore/QDebug:1,
                 from /home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:25:
/usr/include/qt/QtCore/qstring.h:968:5: note: declared private here
  968 |     QString(const char *ch);
      |     ^~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp: In member function 'QVariantMap Agent::RequestPeerAuthorization(QDBusObjectPath, QVariantMap)':
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:80:61: warning: unused parameter 'peerPath' [-Wunused-parameter]
   80 | QVariantMap Agent::RequestPeerAuthorization(QDBusObjectPath peerPath, QVariantMap fields)
      |                                             ~~~~~~~~~~~~~~~~^~~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:80:83: warning: unused parameter 'fields' [-Wunused-parameter]
   80 | QVariantMap Agent::RequestPeerAuthorization(QDBusObjectPath peerPath, QVariantMap fields)
      |                                                                       ~~~~~~~~~~~~^~~~~~
make[2]: *** [CMakeFiles/lxqt-connman-applet.dir/build.make:144: CMakeFiles/lxqt-connman-applet.dir/agent.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/lxqt-connman-applet.dir/all] Error 2
make: *** [Makefile:149: all] Error 2


  • Distribution & Version:
    latest git, arch linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions