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);
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-243.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | libkexiv2-24.05.0-1.fc41 |
store-results-to | /tmp/tmpt5n5i2dg/libkexiv2-24.05.0-1.fc41.tar.xz |
time-created | 2024-07-03 15:48:53 |
time-finished | 2024-07-03 15:50:54 |
tool | csmock |
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-version | csmock-3.5.3-1.el9 |