kf6-knewstuff-6.8.0-1.fc42

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
kf6-knewstuff-6.8.0-build/knewstuff-6.8.0/src/core/commentsmodel.cpp: scope_hint: In lambda function
kf6-knewstuff-6.8.0-build/knewstuff-6.8.0/src/core/commentsmodel.cpp:60:75: warning[-Wdeprecated]: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20
#   60 |                 q->connect(provider.data(), &Provider::commentsLoaded, q, [=](const QList<std::shared_ptr<KNSCore::Comment>> &newComments) {
#      |                                                                           ^
kf6-knewstuff-6.8.0-build/knewstuff-6.8.0/src/core/commentsmodel.cpp:60:75: note: add explicit ‘this’ or ‘*this’ capture
#   58|                   comments.clear();
#   59|                   provider->disconnect(q);
#   60|->                 q->connect(provider.data(), &Provider::commentsLoaded, q, [=](const QList<std::shared_ptr<KNSCore::Comment>> &newComments) {
#   61|                       QList<std::shared_ptr<KNSCore::Comment>> actualNewComments;
#   62|                       for (const std::shared_ptr<KNSCore::Comment> &comment : newComments) {

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-86.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namekf6-knewstuff-6.8.0-1.fc42
store-results-to/tmp/tmpg8z4ossn/kf6-knewstuff-6.8.0-1.fc42.tar.xz
time-created2024-11-13 00:55:24
time-finished2024-11-13 00:58:23
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpg8z4ossn/kf6-knewstuff-6.8.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpg8z4ossn/kf6-knewstuff-6.8.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9