Task #131316 - fixed.err

back to task #131316
download
Error: COMPILER_WARNING (CWE-477):
kauth-6.25.0/src/backends/polkit-1/Polkit1Backend.cpp: scope_hint: In member function ‘virtual void KAuth::Polkit1Backend::preAuthAction(const QString&, QWindow*)’
kauth-6.25.0/src/backends/polkit-1/Polkit1Backend.cpp:70:41: warning[-Wdeprecated-declarations]: ‘static void KWaylandExtras::exportWindow(QWindow*)’ is deprecated: Since 6.28. Use exportToplevel()
#   70 |             KWaylandExtras::exportWindow(parentWindow);
#      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/KF6/KWindowSystem/KWaylandExtras:1: included_from: Included from here.
kauth-6.25.0/src/backends/polkit-1/Polkit1Backend.cpp:14: included_from: Included from here.
/usr/include/KF6/KWindowSystem/kwaylandextras.h:61:29: note: declared here
#   61 |     Q_INVOKABLE static void exportWindow(QWindow *window);
#      |                             ^~~~~~~~~~~~
#   68|       if (QDBusConnection::sessionBus().interface()->isServiceRegistered(QLatin1String("org.kde.polkit-kde-authentication-agent-1"))) {
#   69|           if (KWindowSystem::isPlatformWayland()) {
#   70|->             KWaylandExtras::exportWindow(parentWindow);
#   71|               connect(
#   72|                   KWaylandExtras::self(),

Error: COMPILER_WARNING (CWE-477):
kauth-6.25.0/src/backends/polkit-1/Polkit1Backend.cpp: scope_hint: In member function ‘void KAuth::Polkit1Backend::sendActivationToken(const QString&, QWindow*)’
kauth-6.25.0/src/backends/polkit-1/Polkit1Backend.cpp:130:26: warning[-Wdeprecated-declarations]: ‘void KWaylandExtras::xdgActivationTokenArrived(int, const QString&)’ is deprecated: Since 6.19. Use xdgActivationToken()
#  130 |         &KWaylandExtras::xdgActivationTokenArrived,
#      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF6/KWindowSystem/kwaylandextras.h:141:78: note: declared here
#  141 |     KWINDOWSYSTEM_DEPRECATED_VERSION(6, 19, "Use xdgActivationToken()") void xdgActivationTokenArrived(int serial, const QString &token);
#      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
#  128|       connect(
#  129|           KWaylandExtras::self(),
#  130|->         &KWaylandExtras::xdgActivationTokenArrived,
#  131|           this,
#  132|           [this, requestedSerial, action](quint32 serial, const QString &token) {

Error: COMPILER_WARNING (CWE-477):
kauth-6.25.0/src/backends/polkit-1/Polkit1Backend.cpp:153:46: warning[-Wdeprecated-declarations]: ‘static void KWaylandExtras::requestXdgActivationToken(QWindow*, uint32_t, const QString&)’ is deprecated: Since 6.19. Use xdgActivationToken()
#  153 |     KWaylandExtras::requestXdgActivationToken(window, requestedSerial, {});
#      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF6/KWindowSystem/kwaylandextras.h:44:29: note: declared here
#   44 |     Q_INVOKABLE static void requestXdgActivationToken(QWindow *win, uint32_t serial, const QString &app_id);
#      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~
#  151|           },
#  152|           Qt::SingleShotConnection);
#  153|->     KWaylandExtras::requestXdgActivationToken(window, requestedSerial, {});
#  154|   }
#  155|