Fixed defects

List of Defects

Error: COMPILER_WARNING: [#def1]
kf6-kwindowsystem-6.0.0-build/kwindowsystem-6.0.0/redhat-linux-build/src/platforms/wayland/qwayland-wayland.h:180:14: warning[-Wodr]: type ‘QtWayland::wl_shm::format’ violates the C++ One Definition Rule
#  180 |         enum format {
#      |              ^
/usr/include/qt6/QtWaylandClient/6.7.1/QtWaylandClient/private/qwayland-wayland.h:191:14: note: an enum with different number of values is defined in another translation unit
#  191 |         enum format {
#      |              ^
#  178|           };
#  179|   
#  180|->         enum format {
#  181|               format_argb8888 = 0, // 32-bit ARGB format, [31:0] A:R:G:B 8:8:8:8 little endian
#  182|               format_xrgb8888 = 1, // 32-bit RGB format, [31:0] x:R:G:B 8:8:8:8 little endian

Error: COMPILER_WARNING: [#def2]
kf6-kwindowsystem-6.0.0-build/kwindowsystem-6.0.0/redhat-linux-build/src/platforms/wayland/wayland-wayland-client-protocol.h:1503:6: warning[-Wodr]: type ‘wl_shm_format’ violates the C++ One Definition Rule
# 1503 | enum wl_shm_format {
#      |      ^
/usr/include/qt6/QtWaylandClient/6.7.1/QtWaylandClient/private/wayland-wayland-client-protocol.h:1469:6: note: an enum with different number of values is defined in another translation unit
# 1469 | enum wl_shm_format {
#      |      ^
# 1501|    * extension, pre-multiplied alpha is used for pixel values.
# 1502|    */
# 1503|-> enum wl_shm_format {
# 1504|   	/**
# 1505|   	 * 32-bit ARGB format, [31:0] A:R:G:B 8:8:8:8 little endian

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-131.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namekf6-kwindowsystem-6.3.0-1.fc41
diffbase-store-results-to/tmp/tmpyhlt1hxd/kf6-kwindowsystem-6.3.0-1.fc41.tar.xz
diffbase-time-created2024-07-03 14:23:53
diffbase-time-finished2024-07-03 14:26:25
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpyhlt1hxd/kf6-kwindowsystem-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpyhlt1hxd/kf6-kwindowsystem-6.3.0-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-131.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf6-kwindowsystem-6.0.0-1.fc40
store-results-to/tmp/tmpyt8xel5i/kf6-kwindowsystem-6.0.0-1.fc40.tar.xz
time-created2024-07-03 14:20:28
time-finished2024-07-03 14:23:29
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpyt8xel5i/kf6-kwindowsystem-6.0.0-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpyt8xel5i/kf6-kwindowsystem-6.0.0-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9