libopenmpt-0.7.8-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
libopenmpt-0.7.8-build/libopenmpt-0.7.8+release.autotools/soundlib/ITCompression.cpp:161:25: warning[core.BitwiseShift]: Right operand is negative in left shift
#  159|   				// Mode A: 1 to 6 bits
#  160|   				MPT_ASSERT(width);
#  161|-> 				WriteBits(width, (1 << (width - 1)));
#  162|   				WriteBits(Properties::fetchA, ConvertWidth(width, bwt[i]));
#  163|   			} else if(width < Properties::defWidth)

Error: COMPILER_WARNING: [#def2]
libopenmpt-0.7.8-build/libopenmpt-0.7.8+release.autotools/common/stdafx.h:66: included_from: Included from here.
libopenmpt-0.7.8-build/libopenmpt-0.7.8+release.autotools/common/mptPathString.cpp:10: included_from: Included from here.
libopenmpt-0.7.8-build/libopenmpt-0.7.8+release.autotools/src/mpt/check/compiler.hpp:13:13: warning: GCC 14 is known to cause severe miscompilation of inline functions. OpenMPT has forced optimization settings down to -O1. This comes at a roughly 15% performance cost. It is strongly recommended to stay with GCC 13 for the time being. You will need to edit the source to opt-out of this safety guard.
#   13 | MPT_WARNING("GCC 14 is known to cause severe miscompilation of inline functions. OpenMPT has forced optimization settings down to -O1. This comes at a roughly 15% performance cost. It is strongly recommended to stay with GCC 13 for the time being. You will need to edit the source to opt-out of this safety guard.")
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   11|   #if defined(MPT_COMPILER_QUIRK_GCC_NO_O2)
#   12|   // See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049>.
#   13|-> MPT_WARNING("GCC 14 is known to cause severe miscompilation of inline functions. OpenMPT has forced optimization settings down to -O1. This comes at a roughly 15% performance cost. It is strongly recommended to stay with GCC 13 for the time being. You will need to edit the source to opt-out of this safety guard.")
#   14|   #endif
#   15|   #endif

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
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-33.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibopenmpt-0.7.8-1.fc41
store-results-to/tmp/tmpy1k6bpb8/libopenmpt-0.7.8-1.fc41.tar.xz
time-created2024-07-03 15:55:09
time-finished2024-07-03 16:00:07
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpy1k6bpb8/libopenmpt-0.7.8-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpy1k6bpb8/libopenmpt-0.7.8-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9