Error: COMPILER_WARNING (CWE-477): [#def1] plasma-nm-6.2.3-build/plasma-nm-6.2.3/kcm/kcm.cpp: scope_hint: In member function ‘QString KCMNetworkmanagement::vpnFileFromArgs(const QVariantList&) const’ plasma-nm-6.2.3-build/plasma-nm-6.2.3/kcm/kcm.cpp:237:34: warning[-Wdeprecated-declarations]: ‘bool QVariant::canConvert(int) const’ is deprecated # 237 | if (argVariant.canConvert(QMetaType::QString)) { # | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/qt6/QtDBus/qtdbusglobal.h:9: included_from: Included from here. /usr/include/qt6/QtDBus/qdbuspendingcall.h:7: included_from: Included from here. /usr/include/qt6/QtDBus/QDBusPendingCallWatcher:1: included_from: Included from here. plasma-nm-6.2.3-build/plasma-nm-6.2.3/libs/editor/connectioneditorbase.h:12: included_from: Included from here. plasma-nm-6.2.3-build/plasma-nm-6.2.3/libs/editor/connectioneditortabwidget.h:12: included_from: Included from here. plasma-nm-6.2.3-build/plasma-nm-6.2.3/kcm/kcm.h:10: included_from: Included from here. plasma-nm-6.2.3-build/plasma-nm-6.2.3/kcm/kcm.cpp:7: included_from: Included from here. /usr/include/qt6/QtCore/qvariant.h:354:10: note: declared here # 354 | bool canConvert(int targetTypeId) const # | ^~~~~~~~~~ # 235| static const QLatin1String vpnArgumentMarker{"VPN="}; # 236| for (QVariant argVariant : args) { # 237|-> if (argVariant.canConvert(QMetaType::QString)) { # 238| QString arg = argVariant.toString(); # 239| if (arg.startsWith(vpnArgumentMarker)) { Error: COMPILER_WARNING (CWE-477): [#def2] plasma-nm-6.2.3-build/plasma-nm-6.2.3/kcm/kcm.cpp: scope_hint: In member function ‘NetworkManager::Connection::Ptr KCMNetworkmanagement::connectionFromArgs(const QVariantList&) const’ plasma-nm-6.2.3-build/plasma-nm-6.2.3/kcm/kcm.cpp:252:27: warning[-Wdeprecated-declarations]: ‘bool QVariant::canConvert(int) const’ is deprecated # 252 | if (arg.canConvert(QMetaType::QString)) { # | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/qt6/QtCore/qvariant.h:354:10: note: declared here # 354 | bool canConvert(int targetTypeId) const # | ^~~~~~~~~~ # 250| static const QLatin1String uuidArgumentMarker{"Uuid="}; # 251| for (QVariant arg : args) { # 252|-> if (arg.canConvert(QMetaType::QString)) { # 253| QString uuid = arg.toString(); # 254| if (uuid.startsWith(uuidArgumentMarker)) {
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-71.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | plasma-nm-6.2.3-1.fc42 |
store-results-to | /tmp/tmpsb67ak5a/plasma-nm-6.2.3-1.fc42.tar.xz |
time-created | 2024-11-13 02:39:19 |
time-finished | 2024-11-13 02:45:13 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpsb67ak5a/plasma-nm-6.2.3-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpsb67ak5a/plasma-nm-6.2.3-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |