Error: COMPILER_WARNING: [#def1] plasma-breeze-6.1.1-build/breeze-6.1.1/kdecoration/breezedecoration.cpp: scope_hint: In member function ‘void Breeze::Decoration::updateButtonsGeometry()’ plasma-breeze-6.1.1-build/breeze-6.1.1/kdecoration/breezedecoration.cpp:494:58: warning[-Wrange-loop-construct]: loop variable ‘button’ of type ‘const QPointer<KDecoration2::DecorationButton>&’ binds to a temporary constructed from type ‘KDecoration2::DecorationButton* const’ # 494 | for (const QPointer<KDecoration2::DecorationButton> &button : buttonList) { # | ^~~~~~ plasma-breeze-6.1.1-build/breeze-6.1.1/kdecoration/breezedecoration.cpp:494:58: note: use non-reference type ‘const QPointer<KDecoration2::DecorationButton>’ to make the copy explicit or ‘KDecoration2::DecorationButton* const&’ to prevent copying # 492| // adjust button position # 493| const auto buttonList = m_leftButtons->buttons() + m_rightButtons->buttons(); # 494|-> for (const QPointer<KDecoration2::DecorationButton> &button : buttonList) { # 495| auto btn = static_cast<Button *>(button.get()); # 496| Error: COMPILER_WARNING (CWE-477): [#def2] plasma-breeze-6.1.1-build/breeze-6.1.1/kdecoration/breezedecoration.cpp: scope_hint: In lambda function plasma-breeze-6.1.1-build/breeze-6.1.1/kdecoration/breezedecoration.cpp:688:24: warning[-Wdeprecated]: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 # 688 | auto drawThe = [=](const QRect &r) { # | ^ plasma-breeze-6.1.1-build/breeze-6.1.1/kdecoration/breezedecoration.cpp:688:24: note: add explicit ‘this’ or ‘*this’ capture # 686| painter->setClipRect(backRect, Qt::IntersectClip); # 687| # 688|-> auto drawThe = [=](const QRect &r) { # 689| // the rect is made a little bit larger to be able to clip away the rounded corners at the bottom and sides # 690| painter->drawRoundedRect(r.adjusted(isLeftEdge() ? -m_scaledCornerRadius : 0, Error: COMPILER_WARNING (CWE-477): [#def3] plasma-breeze-6.1.1-build/breeze-6.1.1/kstyle/breezehelper.cpp: scope_hint: In member function ‘bool Breeze::Helper::compositingActive() const’ plasma-breeze-6.1.1-build/breeze-6.1.1/kstyle/breezehelper.cpp:1693:48: warning[-Wdeprecated-declarations]: ‘static bool KWindowSystem::compositingActive()’ is deprecated: Since 5.101. Use KX11Extras::compositingActive() instead # 1693 | return KWindowSystem::compositingActive(); # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/KF5/KWindowSystem/KWindowSystem:1: included_from: Included from here. plasma-breeze-6.1.1-build/breeze-6.1.1/kstyle/breezehelper.cpp:15: included_from: Included from here. /usr/include/KF5/KWindowSystem/kwindowsystem.h:231:17: note: declared here # 231 | static bool compositingActive(); # | ^~~~~~~~~~~~~~~~~ # 1691| if (isX11()) { # 1692| #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) # 1693|-> return KWindowSystem::compositingActive(); # 1694| #elif __has_include(<KX11Extras>) # 1695| return KX11Extras::compositingActive();
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-231.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | plasma-breeze-6.1.1-1.fc41 |
store-results-to | /tmp/tmpfgfcorvp/plasma-breeze-6.1.1-1.fc41.tar.xz |
time-created | 2024-07-03 17:04:35 |
time-finished | 2024-07-03 17:09:05 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpfgfcorvp/plasma-breeze-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpfgfcorvp/plasma-breeze-6.1.1-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |