kwayland-6.2.3-1.fc42
List of Findings
Error: COMPILER_WARNING: [#def1]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/buffer_p.h:17:29: warning[-Wodr]: type ‘struct Private’ violates the C++ One Definition Rule
kwayland-6.2.3-build/kwayland-6.2.3/src/client/buffer_p.h:17:29: note: a different type is defined in another translation unit
kwayland-6.2.3-build/kwayland-6.2.3/src/client/buffer_p.h:25:50: note: the first difference of corresponding definitions is field ‘nativeBuffer’
kwayland-6.2.3-build/kwayland-6.2.3/src/client/buffer_p.h:25:50: note: a field of same name but different type is defined in another translation unit
kwayland-6.2.3-build/kwayland-6.2.3/src/client/wayland_pointer_p.h:16:7: note: type ‘struct WaylandPointer’ defined in anonymous namespace cannot match across the translation unit boundary
Error: COMPILER_WARNING: [#def2]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/buffer.cpp:7: included_from: Included from here.
kwayland-6.2.3-build/kwayland-6.2.3/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
Error: COMPILER_WARNING (CWE-704): [#def3]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/buffer_p.h:22:10: warning[-Wlto-type-mismatch]: type of ‘destroy’ does not match original declaration
kwayland-6.2.3-build/kwayland-6.2.3/src/client/buffer.cpp:41:6: note: ‘destroy’ was previously declared here
kwayland-6.2.3-build/kwayland-6.2.3/src/client/buffer.cpp:41:6: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
Error: COMPILER_WARNING (CWE-563): [#def4]
kwayland-6.2.3-build/kwayland-6.2.3/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.2.3-build/kwayland-6.2.3/src/client/plasmawindowmanagement.cpp:298:67: warning[-Wunused-parameter]: unused parameter ‘data’
Error: COMPILER_WARNING (CWE-563): [#def5]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/plasmawindowmanagement.cpp:298:107: warning[-Wunused-parameter]: unused parameter ‘interface’
Error: COMPILER_WARNING (CWE-563): [#def6]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/plasmawindowmanagement.cpp:298:128: warning[-Wunused-parameter]: unused parameter ‘ids’
Error: COMPILER_WARNING (CWE-909): [#def7]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/pointer.cpp:72:155: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_pointer_listener::axis_relative_direction’
Error: COMPILER_WARNING (CWE-909): [#def8]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/pointer.cpp:72:155: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_pointer_listener::axis_value120’
Error: COMPILER_WARNING (CWE-909): [#def9]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/surface.cpp:86:101: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_surface_listener::preferred_buffer_scale’
Error: COMPILER_WARNING (CWE-909): [#def10]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/surface.cpp:86:101: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_surface_listener::preferred_buffer_transform’
Error: COMPILER_WARNING: [#def11]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/surface_p.h:18:30: warning[-Wodr]: type ‘struct Private’ violates the C++ One Definition Rule
kwayland-6.2.3-build/kwayland-6.2.3/src/client/surface_p.h:18:30: note: a different type is defined in another translation unit
kwayland-6.2.3-build/kwayland-6.2.3/src/client/surface_p.h:24:52: note: the first difference of corresponding definitions is field ‘surface’
kwayland-6.2.3-build/kwayland-6.2.3/src/client/surface_p.h:24:52: note: a field of same name but different type is defined in another translation unit
kwayland-6.2.3-build/kwayland-6.2.3/src/client/wayland_pointer_p.h:16:7: note: type ‘struct WaylandPointer’ defined in anonymous namespace cannot match across the translation unit boundary
Error: COMPILER_WARNING: [#def12]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/surface.cpp:9: included_from: Included from here.
kwayland-6.2.3-build/kwayland-6.2.3/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
Error: COMPILER_WARNING (CWE-909): [#def13]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/touch.cpp:127:126: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_touch_listener::orientation’
Error: COMPILER_WARNING (CWE-909): [#def14]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/touch.cpp:127:126: warning[-Wmissing-field-initializers]: missing initializer for member ‘wl_touch_listener::shape’
Error: COMPILER_WARNING: [#def15]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/xdgshell_v6.cpp:11: included_from: Included from here.
kwayland-6.2.3-build/kwayland-6.2.3/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
kwayland-6.2.3-build/kwayland-6.2.3/src/client/xdgshell_v6.cpp:30:20: note: by ‘KWayland::Client::XdgShellUnstableV6::Private::getXdgPopup’
Error: COMPILER_WARNING: [#def16]
kwayland-6.2.3-build/kwayland-6.2.3/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
kwayland-6.2.3-build/kwayland-6.2.3/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*)’
Error: COMPILER_WARNING: [#def17]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/xdgshell_v5.cpp:12: included_from: Included from here.
kwayland-6.2.3-build/kwayland-6.2.3/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
kwayland-6.2.3-build/kwayland-6.2.3/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*)’
Error: COMPILER_WARNING (CWE-909): [#def18]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/xdgshell_stable.cpp:288:118: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_toplevel_listener::configure_bounds’
Error: COMPILER_WARNING (CWE-909): [#def19]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/xdgshell_stable.cpp:288:118: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_toplevel_listener::wm_capabilities’
Error: COMPILER_WARNING (CWE-909): [#def20]
kwayland-6.2.3-build/kwayland-6.2.3/src/client/xdgshell_stable.cpp:527:118: warning[-Wmissing-field-initializers]: missing initializer for member ‘xdg_popup_listener::repositioned’
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-136.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | kwayland-6.2.3-1.fc42 |
store-results-to | /tmp/tmpdvgb2w5s/kwayland-6.2.3-1.fc42.tar.xz |
time-created | 2024-11-13 01:08:24 |
time-finished | 2024-11-13 01:10:33 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpdvgb2w5s/kwayland-6.2.3-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpdvgb2w5s/kwayland-6.2.3-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |