Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-100088

error: no return statement in function returning non-void [-Werror=return-type]

    XMLWordPrintable

Details

    • 17471110a1 (qt/qtapplicationmanager/dev) 6a2a860e32 (qt/qtapplicationmanager/6.2) 3e61fd40e4 (qt/qtapplicationmanager/6.3) bcdd87312d (qt/qtapplicationmanager/6.2.3) 6a2a860e32 (qt/qtapplicationmanager/6.2.4) 3e61fd40e4 (qt/qtapplicationmanager/6.3.0)

    Description

      agent:2022/01/20 07:12:15 build.go:394: /home/qt/work/qt/qtapplicationmanager/src/dbus-lib/notifications_adaptor.cpp: In member function ‘QString NotificationsAdaptor::GetServerInformation(QString&, QString&, QString&)’:
      agent:2022/01/20 07:12:15 build.go:394: /home/qt/work/qt/qtapplicationmanager/src/dbus-lib/notifications_adaptor.cpp:54:1: error: no return statement in function returning non-void [-Werror=return-type]
      agent:2022/01/20 07:12:15 build.go:394:    54 | }
      agent:2022/01/20 07:12:15 build.go:394:       | ^
      agent:2022/01/20 07:12:15 build.go:394: /home/qt/work/qt/qtapplicationmanager/src/dbus-lib/notifications_adaptor.cpp:50:61: error: unused parameter ‘vendor’ [-Werror=unused-parameter]
      agent:2022/01/20 07:12:15 build.go:394:    50 | QString NotificationsAdaptor::GetServerInformation(QString &vendor, QString &version, QString &spec_version)
      agent:2022/01/20 07:12:15 build.go:394:       |                                                    ~~~~~~~~~^~~~~~
      agent:2022/01/20 07:12:15 build.go:394: /home/qt/work/qt/qtapplicationmanager/src/dbus-lib/notifications_adaptor.cpp:50:78: error: unused parameter ‘version’ [-Werror=unused-parameter]
      agent:2022/01/20 07:12:15 build.go:394:    50 | QString NotificationsAdaptor::GetServerInformation(QString &vendor, QString &version, QString &spec_version)
      agent:2022/01/20 07:12:15 build.go:394:       |                                                                     ~~~~~~~~~^~~~~~~
      agent:2022/01/20 07:12:15 build.go:394: /home/qt/work/qt/qtapplicationmanager/src/dbus-lib/notifications_adaptor.cpp:50:96: error: unused parameter ‘spec_version’ [-Werror=unused-parameter]
      agent:2022/01/20 07:12:15 build.go:394:    50 | QString NotificationsAdaptor::GetServerInformation(QString &vendor, QString &version, QString &spec_version)
      agent:2022/01/20 07:12:15 build.go:394:       |                                                                                       ~~~~~~~~~^~~~~~~~~~~~
      agent:2022/01/20 07:12:15 build.go:394: cc1plus: all warnings being treated as errors
      

      Build log: https://testresults.qt.io/logs/qt/qtapplicationmanager/9c057e3b22ed6a92df880eda9fa29bd26683b239/LinuxUbuntu_20_04x86_64LinuxUbuntu_20_04x86_64GCCqtci-linux-Ubuntu-20.04-x86_64-50-9e082dDisableTests_Sccache/b53db62988a5982e363d75954a7f743227a35990/build_1642662534/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtapplicationmanager/tasks/1642662525

      Tested changes (refs/builds/qtci/6.2/1642662524):

      https://codereview.qt-project.org/c/qt/qtapplicationmanager/+/391081/2 Update dependencies on '6.2' in qt/qtapplicationmanager

      Attachments

        For Gerrit Dashboard: QTBUG-100088
        # Subject Branch Project Status CR V

        Activity

          People

            rgriebl Robert Griebl
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews