Task #710 - kwayland-6.1.1-1.fc41/scan-results.err
back to task #710download
Error: COMPILER_WARNING: kwayland-6.1.1-build/kwayland-6.1.1/src/client/buffer_p.h:17:29: warning[-Wodr]: type ‘struct Private’ violates the C++ One Definition Rule # 17 | class Q_DECL_HIDDEN Buffer::Private # | ^ kwayland-6.1.1-build/kwayland-6.1.1/src/client/buffer_p.h:17:29: note: a different type is defined in another translation unit # 17 | class Q_DECL_HIDDEN Buffer::Private # | ^ kwayland-6.1.1-build/kwayland-6.1.1/src/client/buffer_p.h:25:50: note: the first difference of corresponding definitions is field ‘nativeBuffer’ # 25 | WaylandPointer<wl_buffer, wl_buffer_destroy> nativeBuffer; # | ^ kwayland-6.1.1-build/kwayland-6.1.1/src/client/buffer_p.h:25:50: note: a field of same name but different type is defined in another translation unit # 25 | WaylandPointer<wl_buffer, wl_buffer_destroy> nativeBuffer; # | ^ kwayland-6.1.1-build/kwayland-6.1.1/src/client/wayland_pointer_p.h:16:7: note: type ‘struct WaylandPointer’ defined in anonymous namespace cannot match across the translation unit boundary # 16 | class WaylandPointer # | ^ # 15| namespace Client # 16| { # 17|-> class Q_DECL_HIDDEN Buffer::Private # 18| { # 19| public: Error: COMPILER_WARNING: kwayland-6.1.1-build/kwayland-6.1.1/src/client/buffer.cpp:7: included_from: Included from here. kwayland-6.1.1-build/kwayland-6.1.1/src/client/buffer_p.h:17:29: warning[-Wsubobject-linkage]: ‘KWayland::Client::Buffer::Private’ has a field ‘KWayland::Client::WaylandPointer<wl_buffer, wl_buffer_destroy> KWayland::Client::Buffer::Private::nativeBuffer’ whose type has internal linkage # 17 | class Q_DECL_HIDDEN Buffer::Private # | ^~~~~~~ # 15| namespace Client # 16| { # 17|-> class Q_DECL_HIDDEN Buffer::Private # 18| { # 19| public: Error: COMPILER_WARNING (CWE-704): kwayland-6.1.1-build/kwayland-6.1.1/src/client/buffer_p.h:22:10: warning[-Wlto-type-mismatch]: type of ‘destroy’ does not match original declaration # 22 | void destroy(); # | ^ kwayland-6.1.1-build/kwayland-6.1.1/src/client/buffer.cpp:41:6: note: ‘destroy’ was previously declared here # 41 | void Buffer::Private::destroy() # | ^ kwayland-6.1.1-build/kwayland-6.1.1/src/client/buffer.cpp:41:6: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used # 20| Private(Buffer *q, ShmPool *parent, wl_buffer *nativeBuffer, const QSize &size, int32_t stride, size_t offset, Format format); # 21| ~Private(); # 22|-> void destroy(); # 23| # 24| ShmPool *shm; Error: COMPILER_WARNING (CWE-563): kwayland-6.1.1-build/kwayland-6.1.1/src/client/plasmawindowmanagement.cpp: scope_hint: In static member function ‘static void KWayland::Client::PlasmaWindowManagement::Private::stackingOrderCallback(void*, org_kde_plasma_window_management*, wl_array*)’ kwayland-6.1.1-build/kwayland-6.1.1/src/client/plasmawindowmanagement.cpp:296:67: warning[-Wunused-parameter]: unused parameter ‘data’ # 296 | void PlasmaWindowManagement::Private::stackingOrderCallback(void *data, org_kde_plasma_window_management *interface, wl_array *ids) # | ~~~~~~^~~~ # 294| } # 295| # 296|-> void PlasmaWindowManagement::Private::stackingOrderCallback(void *data, org_kde_plasma_window_management *interface, wl_array *ids) # 297| { # 298| // This is no-op since setStackingOrder(const QList<quint32> &ids) is deprecated since 5.73, Error: COMPILER_WARNING (CWE-563): kwayland-6.1.1-build/kwayland-6.1.1/src/client/plasmawindowmanagement.cpp:296:107: warning[-Wunused-parameter]: unused parameter ‘interface’ # 296 | void PlasmaWindowManagement::Private::stackingOrderCallback(void *data, org_kde_plasma_window_management *interface, wl_array *ids) # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ # 294| } # 295| # 296|-> void PlasmaWindowManagement::Private::stackingOrderCallback(void *data, org_kde_plasma_window_management *interface, wl_array *ids) # 297| { # 298| // This is no-op since setStackingOrder(const QList<quint32> &ids) is deprecated since 5.73, Error: COMPILER_WARNING (CWE-563): kwayland-6.1.1-build/kwayland-6.1.1/src/client/plasmawindowmanagement.cpp:296:128: warning[-Wunused-parameter]: unused parameter ‘ids’ # 296 | void PlasmaWindowManagement::Private::stackingOrderCallback(void *data, org_kde_plasma_window_management *interface, wl_array *ids) # | ~~~~~~~~~~^~~ # 294| } # 295| # 296|-> void PlasmaWindowManagement::Private::stackingOrderCallback(void *data, org_kde_plasma_window_management *interface, wl_array *ids) # 297| { # 298| // This is no-op since setStackingOrder(const QList<quint32> &ids) is deprecated since 5.73, Error: COMPILER_WARNING (CWE-909): kwayland-6.1.1-build/kwayland-6.1.1/src/client/pointer.cpp:72:155: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_pointer_listener::axis_relative_direction’ # 70| # 71| const wl_pointer_listener Pointer::Private::s_listener = # 72|-> {enterCallback, leaveCallback, motionCallback, buttonCallback, axisCallback, frameCallback, axisSourceCallback, axisStopCallback, axisDiscreteCallback}; # 73| # 74| Pointer::Pointer(QObject *parent) Error: COMPILER_WARNING (CWE-909): kwayland-6.1.1-build/kwayland-6.1.1/src/client/pointer.cpp:72:155: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_pointer_listener::axis_value120’ # 72 | {enterCallback, leaveCallback, motionCallback, buttonCallback, axisCallback, frameCallback, axisSourceCallback, axisStopCallback, axisDiscreteCallback}; # | ^ # 70| # 71| const wl_pointer_listener Pointer::Private::s_listener = # 72|-> {enterCallback, leaveCallback, motionCallback, buttonCallback, axisCallback, frameCallback, axisSourceCallback, axisStopCallback, axisDiscreteCallback}; # 73| # 74| Pointer::Pointer(QObject *parent) Error: COMPILER_WARNING (CWE-909): kwayland-6.1.1-build/kwayland-6.1.1/src/client/surface.cpp:86:101: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_surface_listener::preferred_buffer_scale’ # 86 | const struct wl_surface_listener Surface::Private::s_surfaceListener = {enterCallback, leaveCallback}; # | ^ # 84| const struct wl_callback_listener Surface::Private::s_listener = {frameCallback}; # 85| # 86|-> const struct wl_surface_listener Surface::Private::s_surfaceListener = {enterCallback, leaveCallback}; # 87| #endif # 88| Error: COMPILER_WARNING (CWE-909): kwayland-6.1.1-build/kwayland-6.1.1/src/client/surface.cpp:86:101: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_surface_listener::preferred_buffer_transform’ # 84| const struct wl_callback_listener Surface::Private::s_listener = {frameCallback}; # 85| # 86|-> const struct wl_surface_listener Surface::Private::s_surfaceListener = {enterCallback, leaveCallback}; # 87| #endif # 88| Error: COMPILER_WARNING: kwayland-6.1.1-build/kwayland-6.1.1/src/client/surface_p.h:18:30: warning[-Wodr]: type ‘struct Private’ violates the C++ One Definition Rule # 18 | class Q_DECL_HIDDEN Surface::Private # | ^ kwayland-6.1.1-build/kwayland-6.1.1/src/client/surface_p.h:18:30: note: a different type is defined in another translation unit # 18 | class Q_DECL_HIDDEN Surface::Private # | ^ kwayland-6.1.1-build/kwayland-6.1.1/src/client/surface_p.h:24:52: note: the first difference of corresponding definitions is field ‘surface’ # 24 | WaylandPointer<wl_surface, wl_surface_destroy> surface; # | ^ kwayland-6.1.1-build/kwayland-6.1.1/src/client/surface_p.h:24:52: note: a field of same name but different type is defined in another translation unit # 24 | WaylandPointer<wl_surface, wl_surface_destroy> surface; # | ^ kwayland-6.1.1-build/kwayland-6.1.1/src/client/wayland_pointer_p.h:16:7: note: type ‘struct WaylandPointer’ defined in anonymous namespace cannot match across the translation unit boundary # 16 | class WaylandPointer # | ^ # 16| namespace Client # 17| { # 18|-> class Q_DECL_HIDDEN Surface::Private # 19| { # 20| public: Error: COMPILER_WARNING: kwayland-6.1.1-build/kwayland-6.1.1/src/client/surface.cpp:9: included_from: Included from here. kwayland-6.1.1-build/kwayland-6.1.1/src/client/surface_p.h:18:30: warning[-Wsubobject-linkage]: ‘KWayland::Client::Surface::Private’ has a field ‘KWayland::Client::WaylandPointer<wl_surface, wl_surface_destroy> KWayland::Client::Surface::Private::surface’ whose type has internal linkage # 18 | class Q_DECL_HIDDEN Surface::Private # | ^~~~~~~ # 16| namespace Client # 17| { # 18|-> class Q_DECL_HIDDEN Surface::Private # 19| { # 20| public: Error: COMPILER_WARNING (CWE-909): kwayland-6.1.1-build/kwayland-6.1.1/src/client/touch.cpp:127:126: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_touch_listener::orientation’ # 125| } # 126| # 127|-> const wl_touch_listener Touch::Private::s_listener = {downCallback, upCallback, motionCallback, frameCallback, cancelCallback}; # 128| # 129| void Touch::Private::downCallback(void *data, wl_touch *touch, uint32_t serial, uint32_t time, wl_surface *surface, int32_t id, wl_fixed_t x, wl_fixed_t y) Error: COMPILER_WARNING (CWE-909): kwayland-6.1.1-build/kwayland-6.1.1/src/client/touch.cpp:127:126: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_touch_listener::shape’ # 127 | const wl_touch_listener Touch::Private::s_listener = {downCallback, upCallback, motionCallback, frameCallback, cancelCallback}; # | ^ # 125| } # 126| # 127|-> const wl_touch_listener Touch::Private::s_listener = {downCallback, upCallback, motionCallback, frameCallback, cancelCallback}; # 128| # 129| void Touch::Private::downCallback(void *data, wl_touch *touch, uint32_t serial, uint32_t time, wl_surface *surface, int32_t id, wl_fixed_t x, wl_fixed_t y) Error: COMPILER_WARNING: kwayland-6.1.1-build/kwayland-6.1.1/src/client/xdgshell_v6.cpp:11: included_from: Included from here. kwayland-6.1.1-build/kwayland-6.1.1/src/client/xdgshell_p.h:64:28: warning[-Woverloaded-virtual=]: ‘virtual KWayland::Client::XdgShellPopup* KWayland::Client::XdgShell::Private::getXdgPopup(KWayland::Client::Surface*, KWayland::Client::Surface*, KWayland::Client::Seat*, quint32, const QPoint&, QObject*)’ was hidden # 64 | virtual XdgShellPopup *getXdgPopup(Surface *surface, Surface *parentSurface, Seat *seat, quint32 serial, const QPoint &parentPos, QObject *parent) # | ^~~~~~~~~~~ kwayland-6.1.1-build/kwayland-6.1.1/src/client/xdgshell_v6.cpp:30:20: note: by ‘KWayland::Client::XdgShellUnstableV6::Private::getXdgPopup’ # 30 | XdgShellPopup *getXdgPopup(Surface *surface, XdgShellPopup *parentSurface, const XdgPositioner &positioner, QObject *parent) override; # | ^~~~~~~~~~~ # 62| virtual XdgShellSurface *getXdgSurface(Surface *surface, QObject *parent) = 0; # 63| # 64|-> virtual XdgShellPopup *getXdgPopup(Surface *surface, Surface *parentSurface, Seat *seat, quint32 serial, const QPoint &parentPos, QObject *parent) # 65| { # 66| Q_UNUSED(surface) Error: COMPILER_WARNING: kwayland-6.1.1-build/kwayland-6.1.1/src/client/xdgshell_p.h:76:28: warning[-Woverloaded-virtual=]: ‘virtual KWayland::Client::XdgShellPopup* KWayland::Client::XdgShell::Private::getXdgPopup(KWayland::Client::Surface*, KWayland::Client::XdgShellSurface*, const KWayland::Client::XdgPositioner&, QObject*)’ was hidden # 76 | virtual XdgShellPopup *getXdgPopup(Surface *surface, XdgShellSurface *parentSurface, const XdgPositioner &positioner, QObject *parent) # | ^~~~~~~~~~~ kwayland-6.1.1-build/kwayland-6.1.1/src/client/xdgshell_v5.cpp:26:20: note: by ‘virtual KWayland::Client::XdgShellPopup* KWayland::Client::XdgShellUnstableV5::Private::getXdgPopup(KWayland::Client::Surface*, KWayland::Client::Surface*, KWayland::Client::Seat*, quint32, const QPoint&, QObject*)’ # 26 | XdgShellPopup *getXdgPopup(Surface *surface, Surface *parentSurface, Seat *seat, quint32 serial, const QPoint &parentPos, QObject *parent) override; # | ^~~~~~~~~~~ # 74| }; # 75| # 76|-> virtual XdgShellPopup *getXdgPopup(Surface *surface, XdgShellSurface *parentSurface, const XdgPositioner &positioner, QObject *parent) # 77| { # 78| Q_UNUSED(surface) Error: COMPILER_WARNING: kwayland-6.1.1-build/kwayland-6.1.1/src/client/xdgshell_v5.cpp:12: included_from: Included from here. kwayland-6.1.1-build/kwayland-6.1.1/src/client/xdgshell_p.h:86:28: warning[-Woverloaded-virtual=]: ‘virtual KWayland::Client::XdgShellPopup* KWayland::Client::XdgShell::Private::getXdgPopup(KWayland::Client::Surface*, KWayland::Client::XdgShellPopup*, const KWayland::Client::XdgPositioner&, QObject*)’ was hidden # 86 | virtual XdgShellPopup *getXdgPopup(Surface *surface, XdgShellPopup *parentSurface, const XdgPositioner &positioner, QObject *parent) # | ^~~~~~~~~~~ kwayland-6.1.1-build/kwayland-6.1.1/src/client/xdgshell_v5.cpp:26:20: note: by ‘virtual KWayland::Client::XdgShellPopup* KWayland::Client::XdgShellUnstableV5::Private::getXdgPopup(KWayland::Client::Surface*, KWayland::Client::Surface*, KWayland::Client::Seat*, quint32, const QPoint&, QObject*)’ # 26 | XdgShellPopup *getXdgPopup(Surface *surface, Surface *parentSurface, Seat *seat, quint32 serial, const QPoint &parentPos, QObject *parent) override; # | ^~~~~~~~~~~ # 84| } # 85| # 86|-> virtual XdgShellPopup *getXdgPopup(Surface *surface, XdgShellPopup *parentSurface, const XdgPositioner &positioner, QObject *parent) # 87| { # 88| Q_UNUSED(surface) Error: COMPILER_WARNING (CWE-909): kwayland-6.1.1-build/kwayland-6.1.1/src/client/xdgshell_stable.cpp:288:118: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_toplevel_listener::configure_bounds’ # 288 | const struct xdg_toplevel_listener XdgTopLevelStable::Private::s_toplevelListener = {configureCallback, closeCallback}; # | ^ # 286| }; # 287| # 288|-> const struct xdg_toplevel_listener XdgTopLevelStable::Private::s_toplevelListener = {configureCallback, closeCallback}; # 289| # 290| const struct xdg_surface_listener XdgTopLevelStable::Private::s_surfaceListener = {surfaceConfigureCallback}; Error: COMPILER_WARNING (CWE-909): kwayland-6.1.1-build/kwayland-6.1.1/src/client/xdgshell_stable.cpp:288:118: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_toplevel_listener::wm_capabilities’ # 286| }; # 287| # 288|-> const struct xdg_toplevel_listener XdgTopLevelStable::Private::s_toplevelListener = {configureCallback, closeCallback}; # 289| # 290| const struct xdg_surface_listener XdgTopLevelStable::Private::s_surfaceListener = {surfaceConfigureCallback}; Error: COMPILER_WARNING (CWE-909): kwayland-6.1.1-build/kwayland-6.1.1/src/client/xdgshell_stable.cpp:527:118: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_popup_listener::repositioned’ # 527 | const struct xdg_popup_listener XdgShellPopupStable::Private::s_popupListener = {configureCallback, popupDoneCallback}; # | ^ # 525| }; # 526| # 527|-> const struct xdg_popup_listener XdgShellPopupStable::Private::s_popupListener = {configureCallback, popupDoneCallback}; # 528| # 529| const struct xdg_surface_listener XdgShellPopupStable::Private::s_surfaceListener = {