libkexiv2-24.05.0-1.fc41

List of Defects

Error: COMPILER_WARNING (CWE-477): [#def1]
libkexiv2-24.05.0-build/libkexiv2-24.05.0/src/rotationmatrix.cpp: scope_hint: In member function ‘KExiv2Iface::RotationMatrix& KExiv2Iface::RotationMatrix::operator*=(QList<TransformationAction>)’
libkexiv2-24.05.0-build/libkexiv2-24.05.0/src/rotationmatrix.cpp:175:55: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<KExiv2Iface::RotationMatrix::TransformationAction>; typename std::add_const<_Tp>::type = const QList<KExiv2Iface::RotationMatrix::TransformationAction>]’ is deprecated: Use std::as_const() instead.
#  175 |     for (const TransformationAction& action : qAsConst(actions))
#      |                                               ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qforeach.h:11: included_from: Included from here.
/usr/include/qt6/QtCore/qglobal.h:57: included_from: Included from here.
/usr/include/qt6/QtCore/qnamespace.h:12: included_from: Included from here.
/usr/include/qt6/QtCore/qbytearray.h:9: included_from: Included from here.
/usr/include/qt6/QtCore/QByteArray:1: included_from: Included from here.
libkexiv2-24.05.0-build/libkexiv2-24.05.0/src/kexiv2.h:17: included_from: Included from here.
libkexiv2-24.05.0-build/libkexiv2-24.05.0/src/rotationmatrix.h:14: included_from: Included from here.
libkexiv2-24.05.0-build/libkexiv2-24.05.0/src/rotationmatrix.cpp:10: included_from: Included from here.
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  173|   RotationMatrix& RotationMatrix::operator*=(QList<TransformationAction> actions)
#  174|   {
#  175|->     for (const TransformationAction& action : qAsConst(actions))
#  176|       {
#  177|           *this *= Matrix::matrix(action);

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-243.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibkexiv2-24.05.0-1.fc41
store-results-to/tmp/tmpt5n5i2dg/libkexiv2-24.05.0-1.fc41.tar.xz
time-created2024-07-03 15:48:53
time-finished2024-07-03 15:50:54
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpt5n5i2dg/libkexiv2-24.05.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpt5n5i2dg/libkexiv2-24.05.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9