Error: COMPILER_WARNING (CWE-477): [#def1] kf6-baloo-6.8.0-build/baloo-6.8.0/src/file/extractorprocess.cpp: scope_hint: In lambda function kf6-baloo-6.8.0-build/baloo-6.8.0/src/file/extractorprocess.cpp:34:93: warning[-Wdeprecated]: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 # 34 | connect(&m_extractorProcess, qOverload<int, QProcess::ExitStatus>(&QProcess::finished), [=](int exitCode, QProcess::ExitStatus exitStatus) { # | ^ kf6-baloo-6.8.0-build/baloo-6.8.0/src/file/extractorprocess.cpp:34:93: note: add explicit ‘this’ or ‘*this’ capture # 32| }); # 33| # 34|-> connect(&m_extractorProcess, qOverload<int, QProcess::ExitStatus>(&QProcess::finished), [=](int exitCode, QProcess::ExitStatus exitStatus) { # 35| if (exitStatus == QProcess::CrashExit) { # 36| qCWarning(BALOO) << "Extractor crashed"; Error: COMPILER_WARNING (CWE-457): [#def2] kf6-baloo-6.8.0-build/baloo-6.8.0/src/lib/searchstore.cpp: scope_hint: In member function ‘Baloo::SearchStore::constructQuery(Baloo::Transaction*, Baloo::Term const&)’ kf6-baloo-6.8.0-build/baloo-6.8.0/src/lib/searchstore.cpp:402:39: warning[-Wmaybe-uninitialized]: ‘pcom’ may be used uninitialized # 402 | return tr->postingCompIterator(prefix, ba, pcom); # | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ kf6-baloo-6.8.0-build/baloo-6.8.0/src/lib/searchstore.cpp:375:27: note: ‘pcom’ was declared here # 375 | PostingDB::Comparator pcom; # | ^~~~ # 400| QDateTime dt = value.toDateTime(); # 401| const QByteArray ba = dt.toString(Qt::ISODate).toUtf8(); # 402|-> return tr->postingCompIterator(prefix, ba, pcom); # 403| # 404| } else {
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-190.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | kf6-baloo-6.8.0-1.fc42 |
store-results-to | /tmp/tmpytkim4_q/kf6-baloo-6.8.0-1.fc42.tar.xz |
time-created | 2024-11-13 00:42:55 |
time-finished | 2024-11-13 00:46:07 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpytkim4_q/kf6-baloo-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/tmpytkim4_q/kf6-baloo-6.8.0-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |