kf5-kwayland-5.116.0-10.fc44

List of Findings

Error: COMPILER_WARNING (CWE-457): [#def1]
kwayland-5.116.0/autotests/client/test_xdg_shell.cpp: scope_hint: In member function ‘XdgShellTest::init()’
kwayland-5.116.0/autotests/client/test_xdg_shell.cpp:121:60: warning[-Wmaybe-uninitialized]: ‘iface’ may be used uninitialized
#  121 |     m_xdgShell = registry.createXdgShell(registry.interface(iface).name, registry.interface(iface).version, this);
#      |                                          ~~~~~~~~~~~~~~~~~~^~~~~~~
kwayland-5.116.0/autotests/client/test_xdg_shell.cpp:108:25: note: ‘iface’ was declared here
#  108 |     Registry::Interface iface;
#      |                         ^~~~~
#  119|       }
#  120|   
#  121|->     m_xdgShell = registry.createXdgShell(registry.interface(iface).name, registry.interface(iface).version, this);
#  122|       QVERIFY(m_xdgShell);
#  123|       QVERIFY(m_xdgShell->isValid());

Error: COMPILER_WARNING: [#def2]
kwayland-5.116.0/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-5.116.0/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-5.116.0/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-5.116.0/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-5.116.0/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: [#def3]
kwayland-5.116.0/src/client/buffer.cpp:7: included_from: Included from here.
kwayland-5.116.0/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): [#def4]
kwayland-5.116.0/src/client/buffer_p.h:22:10: warning[-Wlto-type-mismatch]: type of ‘destroy’ does not match original declaration
#   22 |     void destroy();
#      |          ^
kwayland-5.116.0/src/client/buffer.cpp:41:6: note: ‘destroy’ was previously declared here
#   41 | void Buffer::Private::destroy()
#      |      ^
kwayland-5.116.0/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-909): [#def5]
kwayland-5.116.0/src/client/plasmavirtualdesktop.cpp:268:101: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_virtual_desktop_listener::position’
#  268 |     {idCallback, nameCallback, activatedCallback, deactivatedCallback, doneCallback, removedCallback};
#      |                                                                                                     ^
#  266|   
#  267|   const org_kde_plasma_virtual_desktop_listener PlasmaVirtualDesktop::Private::s_listener =
#  268|->     {idCallback, nameCallback, activatedCallback, deactivatedCallback, doneCallback, removedCallback};
#  269|   
#  270|   void PlasmaVirtualDesktop::Private::idCallback(void *data, org_kde_plasma_virtual_desktop *org_kde_plasma_virtual_desktop, const char *id)

Error: COMPILER_WARNING (CWE-909): [#def6]
kwayland-5.116.0/src/client/plasmawindowmanagement.cpp:159:1: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_window_management_listener::stacking_order_changed_2’
#  159 | };
#      | ^
#  157|       stackingOrderUuidsCallback,
#  158|       windowWithUuidCallback,
#  159|-> };
#  160|   
#  161|   void PlasmaWindowManagement::Private::setup(org_kde_plasma_window_management *windowManagement)

Error: COMPILER_WARNING (CWE-909): [#def7]
kwayland-5.116.0/src/client/plasmawindowmanagement.cpp:442:1: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_window_listener::client_geometry’
#  442 | };
#      | ^
#  440|       activityLeftCallback,
#  441|       resourceNameChangedCallback,
#  442|-> };
#  443|   
#  444|   void PlasmaWindow::Private::appmenuChangedCallback(void *data, org_kde_plasma_window *window, const char *service_name, const char *object_path)

Error: COMPILER_WARNING (CWE-909): [#def8]
kwayland-5.116.0/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): [#def9]
kwayland-5.116.0/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): [#def10]
kwayland-5.116.0/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): [#def11]
kwayland-5.116.0/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: [#def12]
kwayland-5.116.0/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-5.116.0/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-5.116.0/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-5.116.0/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-5.116.0/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: [#def13]
kwayland-5.116.0/src/client/surface.cpp:9: included_from: Included from here.
kwayland-5.116.0/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): [#def14]
kwayland-5.116.0/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): [#def15]
kwayland-5.116.0/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: [#def16]
kwayland-5.116.0/src/client/xdgshell_v6.cpp:11: included_from: Included from here.
kwayland-5.116.0/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-5.116.0/src/client/xdgshell_v6.cpp:29:20: note:   by ‘virtual KWayland::Client::XdgShellPopup* KWayland::Client::XdgShellUnstableV6::Private::getXdgPopup(KWayland::Client::Surface*, KWayland::Client::XdgShellSurface*, const KWayland::Client::XdgPositioner&, QObject*)’
#   29 |     XdgShellPopup *getXdgPopup(Surface *surface, XdgShellSurface *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: [#def17]
kwayland-5.116.0/src/client/xdgshell_v5.cpp:12: included_from: Included from here.
kwayland-5.116.0/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-5.116.0/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: [#def18]
kwayland-5.116.0/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-5.116.0/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): [#def19]
kwayland-5.116.0/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): [#def20]
kwayland-5.116.0/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): [#def21]
kwayland-5.116.0/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 = {

Error: COMPILER_WARNING (CWE-909): [#def22]
kwayland-5.116.0/src/server/appmenu_interface.cpp:47:116: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_kwin_appmenu_manager_interface::release’
#   47 | const struct org_kde_kwin_appmenu_manager_interface AppMenuManagerInterface::Private::s_interface = {createCallback};
#      |                                                                                                                    ^
#   45|   
#   46|   #ifndef K_DOXYGEN
#   47|-> const struct org_kde_kwin_appmenu_manager_interface AppMenuManagerInterface::Private::s_interface = {createCallback};
#   48|   #endif
#   49|   

Error: COMPILER_WARNING (CWE-909): [#def23]
kwayland-5.116.0/src/server/contrast_interface.cpp:154:132: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_kwin_contrast_interface::set_frost’
#  154 |     {commitCallback, setRegionCallback, setContrastCallback, setIntensityCallback, setSaturationCallback, resourceDestroyedCallback};
#      |                                                                                                                                    ^
#  152|   #ifndef K_DOXYGEN
#  153|   const struct org_kde_kwin_contrast_interface ContrastInterface::Private::s_interface =
#  154|->     {commitCallback, setRegionCallback, setContrastCallback, setIntensityCallback, setSaturationCallback, resourceDestroyedCallback};
#  155|   #endif
#  156|   

Error: COMPILER_WARNING (CWE-909): [#def24]
kwayland-5.116.0/src/server/contrast_interface.cpp:154:132: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_kwin_contrast_interface::unset_frost’
#  152|   #ifndef K_DOXYGEN
#  153|   const struct org_kde_kwin_contrast_interface ContrastInterface::Private::s_interface =
#  154|->     {commitCallback, setRegionCallback, setContrastCallback, setIntensityCallback, setSaturationCallback, resourceDestroyedCallback};
#  155|   #endif
#  156|   

Error: COMPILER_WARNING (CWE-909): [#def25]
kwayland-5.116.0/src/server/fakeinput_interface.cpp:76:111: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_kwin_fake_input_interface::destroy’
#   76 |                                                                                            keyboardKeyCallback};
#      |                                                                                                               ^
#   74|                                                                                              touchFrameCallback,
#   75|                                                                                              pointerMotionAbsoluteCallback,
#   76|->                                                                                            keyboardKeyCallback};
#   77|   #endif
#   78|   

Error: COMPILER_WARNING (CWE-909): [#def26]
kwayland-5.116.0/src/server/fakeinput_interface.cpp:76:111: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_kwin_fake_input_interface::keyboard_keysym’
#   74|                                                                                              touchFrameCallback,
#   75|                                                                                              pointerMotionAbsoluteCallback,
#   76|->                                                                                            keyboardKeyCallback};
#   77|   #endif
#   78|   

Error: COMPILER_WARNING (CWE-909): [#def27]
kwayland-5.116.0/src/server/keystate_interface.cpp:70:108: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_kwin_keystate_interface::destroy’
#   70 | const struct org_kde_kwin_keystate_interface KeyStateInterface::Private::s_interface = {fetchStatesCallback};
#      |                                                                                                            ^
#   68|   KeyStateInterface::~KeyStateInterface() = default;
#   69|   
#   70|-> const struct org_kde_kwin_keystate_interface KeyStateInterface::Private::s_interface = {fetchStatesCallback};
#   71|   
#   72|   void KeyStateInterface::setState(KeyStateInterface::Key key, KeyStateInterface::State state)

Error: COMPILER_WARNING (CWE-909): [#def28]
kwayland-5.116.0/src/server/linuxdmabuf_v1_interface.cpp:175:102: warning[-Wmissing-field-initializers]: missing initializer for member ‘zwp_linux_dmabuf_v1_interface::get_default_feedback’
#  175 |                                                                                  createParamsCallback};
#      |                                                                                                      ^
#  173|                                                                                        wl_resource_destroy(resource);
#  174|                                                                                    }, // unbind
#  175|->                                                                                  createParamsCallback};
#  176|   
#  177|   const struct wl_buffer_interface V1Iface::Private::s_bufferImplementation = {

Error: COMPILER_WARNING (CWE-909): [#def29]
kwayland-5.116.0/src/server/linuxdmabuf_v1_interface.cpp:175:102: warning[-Wmissing-field-initializers]: missing initializer for member ‘zwp_linux_dmabuf_v1_interface::get_surface_feedback’
#  173|                                                                                        wl_resource_destroy(resource);
#  174|                                                                                    }, // unbind
#  175|->                                                                                  createParamsCallback};
#  176|   
#  177|   const struct wl_buffer_interface V1Iface::Private::s_bufferImplementation = {

Error: COMPILER_WARNING (CWE-909): [#def30]
kwayland-5.116.0/src/server/plasmashell_interface.cpp:152:123: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_surface_interface::open_under_cursor’
#  152 |                                                                                                    setSkipSwitcherCallback};
#      |                                                                                                                           ^
#  150|                                                                                                      panelAutoHideShowCallback,
#  151|                                                                                                      panelTakesFocusCallback,
#  152|->                                                                                                    setSkipSwitcherCallback};
#  153|   #endif
#  154|   

Error: COMPILER_WARNING (CWE-909): [#def31]
kwayland-5.116.0/src/server/plasmawindowmanagement_interface.cpp:132:137: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_window_management_interface::get_stacking_order’
#  132 |                                                                                                                  getWindowByUuidCallback};
#      |                                                                                                                                         ^
#  130|   const struct org_kde_plasma_window_management_interface PlasmaWindowManagementInterface::Private::s_interface = {showDesktopCallback,
#  131|                                                                                                                    getWindowCallback,
#  132|->                                                                                                                  getWindowByUuidCallback};
#  133|   #endif
#  134|   

Error: COMPILER_WARNING (CWE-909): [#def32]
kwayland-5.116.0/src/server/plasmawindowmanagement_interface.cpp:344:127: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_window_interface::request_enter_activity’
#  344 |                                                                                             requestLeaveVirtualDesktopCallback};
#      |                                                                                                                               ^
#  342|                                                                                               requestEnterVirtualDesktopCallback,
#  343|                                                                                               requestEnterNewVirtualDesktopCallback,
#  344|->                                                                                             requestLeaveVirtualDesktopCallback};
#  345|   #endif
#  346|   

Error: COMPILER_WARNING (CWE-909): [#def33]
kwayland-5.116.0/src/server/plasmawindowmanagement_interface.cpp:344:127: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_window_interface::request_leave_activity’
#  342|                                                                                               requestEnterVirtualDesktopCallback,
#  343|                                                                                               requestEnterNewVirtualDesktopCallback,
#  344|->                                                                                             requestLeaveVirtualDesktopCallback};
#  345|   #endif
#  346|   

Error: COMPILER_WARNING (CWE-909): [#def34]
kwayland-5.116.0/src/server/plasmawindowmanagement_interface.cpp:344:127: warning[-Wmissing-field-initializers]: missing initializer for member ‘org_kde_plasma_window_interface::send_to_output’
#  342|                                                                                               requestEnterVirtualDesktopCallback,
#  343|                                                                                               requestEnterNewVirtualDesktopCallback,
#  344|->                                                                                             requestLeaveVirtualDesktopCallback};
#  345|   #endif
#  346|   

Error: COMPILER_WARNING (CWE-909): [#def35]
kwayland-5.116.0/src/server/pointergestures_interface_v1.cpp:44:156: warning[-Wmissing-field-initializers]: missing initializer for member ‘zwp_pointer_gestures_v1_interface::get_hold_gesture’
#   42|   
#   43|   #ifndef K_DOXYGEN
#   44|-> const struct zwp_pointer_gestures_v1_interface PointerGesturesUnstableV1Interface::Private::s_interface = {getSwipeGestureCallback, getPinchGestureCallback};
#   45|   #endif
#   46|   

Error: COMPILER_WARNING (CWE-909): [#def36]
kwayland-5.116.0/src/server/pointergestures_interface_v1.cpp:44:156: warning[-Wmissing-field-initializers]: missing initializer for member ‘zwp_pointer_gestures_v1_interface::release’
#   44 | const struct zwp_pointer_gestures_v1_interface PointerGesturesUnstableV1Interface::Private::s_interface = {getSwipeGestureCallback, getPinchGestureCallback};
#      |                                                                                                                                                            ^
#   42|   
#   43|   #ifndef K_DOXYGEN
#   44|-> const struct zwp_pointer_gestures_v1_interface PointerGesturesUnstableV1Interface::Private::s_interface = {getSwipeGestureCallback, getPinchGestureCallback};
#   45|   #endif
#   46|   

Error: COMPILER_WARNING (CWE-909): [#def37]
kwayland-5.116.0/src/server/surface_interface.cpp:255:97: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_surface_interface::offset’
#  255 |                                                                             damageBufferCallback};
#      |                                                                                                 ^
#  253|                                                                               bufferTransformCallback,
#  254|                                                                               bufferScaleCallback,
#  255|->                                                                             damageBufferCallback};
#  256|   #endif
#  257|   

Error: COMPILER_WARNING (CWE-909): [#def38]
kwayland-5.116.0/src/server/xdgshell_stable_interface.cpp:608:110: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_positioner_interface::set_parent_configure’
#  606|                                                                                               setGravityCallback,
#  607|                                                                                               setConstraintAdjustmentCallback,
#  608|->                                                                                             setOffsetCallback};
#  609|   #endif
#  610|   

Error: COMPILER_WARNING (CWE-909): [#def39]
kwayland-5.116.0/src/server/xdgshell_stable_interface.cpp:608:110: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_positioner_interface::set_parent_size’
#  606|                                                                                               setGravityCallback,
#  607|                                                                                               setConstraintAdjustmentCallback,
#  608|->                                                                                             setOffsetCallback};
#  609|   #endif
#  610|   

Error: COMPILER_WARNING (CWE-909): [#def40]
kwayland-5.116.0/src/server/xdgshell_stable_interface.cpp:608:110: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_positioner_interface::set_reactive’
#  608 |                                                                                             setOffsetCallback};
#      |                                                                                                              ^
#  606|                                                                                               setGravityCallback,
#  607|                                                                                               setConstraintAdjustmentCallback,
#  608|->                                                                                             setOffsetCallback};
#  609|   #endif
#  610|   

Error: COMPILER_WARNING (CWE-909): [#def41]
kwayland-5.116.0/src/server/xdgshell_stable_interface.cpp:924:122: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_popup_interface::reposition’
#  924 | const struct xdg_popup_interface XdgPopupStableInterface::Private::s_interface = {resourceDestroyedCallback, grabCallback};
#      |                                                                                                                          ^
#  922|   
#  923|   #ifndef K_DOXYGEN
#  924|-> const struct xdg_popup_interface XdgPopupStableInterface::Private::s_interface = {resourceDestroyedCallback, grabCallback};
#  925|   #endif
#  926|   

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-23.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namekf5-kwayland-5.116.0-10.fc44
store-results-to/tmp/tmp_nwywsss/kf5-kwayland-5.116.0-10.fc44.tar.xz
time-created2026-01-08 17:30:34
time-finished2026-01-08 17:34:58
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp_nwywsss/kf5-kwayland-5.116.0-10.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp_nwywsss/kf5-kwayland-5.116.0-10.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9