Error: COMPILER_WARNING (CWE-477): [#def1] plasma-pa-6.2.3-build/plasma-pa-6.2.3/src/devicerenamemodel.cpp: scope_hint: In member function ‘virtual QHash<int, QByteArray> DeviceRenameModel::roleNames() const’ plasma-pa-6.2.3-build/plasma-pa-6.2.3/src/devicerenamemodel.cpp:119:63: warning[-Wdeprecated-declarations]: ‘QByteArray QtLiterals::operator""_qba(const char*, size_t)’ is deprecated: Use _ba from Qt::StringLiterals namespace instead. # 119 | roleNames.insert(static_cast<int>(Role::PulseProperties), "PulseProperties"_qba); # | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt6/QtCore/qstringview.h:10: included_from: Included from here. /usr/include/qt6/QtCore/qchar.h:660: included_from: Included from here. /usr/include/qt6/QtCore/qstring.h:14: included_from: Included from here. /usr/include/qt6/QtCore/qhashfunctions.h:9: included_from: Included from here. /usr/include/qt6/QtCore/qhash.h:10: included_from: Included from here. /usr/include/qt6/QtCore/qabstractitemmodel.h:9: included_from: Included from here. /usr/include/qt6/QtCore/qabstractproxymodel.h:7: included_from: Included from here. /usr/include/qt6/QtCore/qidentityproxymodel.h:8: included_from: Included from here. /usr/include/qt6/QtCore/QIdentityProxyModel:1: included_from: Included from here. plasma-pa-6.2.3-build/plasma-pa-6.2.3/src/devicerenamemodel.h:6: included_from: Included from here. plasma-pa-6.2.3-build/plasma-pa-6.2.3/src/devicerenamemodel.cpp:4: included_from: Included from here. /usr/include/qt6/QtCore/qbytearray.h:822:19: note: declared here # 822 | inline QByteArray operator""_qba(const char *str, size_t size) noexcept # | ^~~~~~~~ # 117| // is what since this is an IdentityProxy and churns through roles from the source model # 118| QHash<int, QByteArray> roleNames; # 119|-> roleNames.insert(static_cast<int>(Role::PulseProperties), "PulseProperties"_qba); # 120| roleNames.insert(static_cast<int>(Role::HasOverride), "HasOverride"_qba); # 121| roleNames.insert(static_cast<int>(Role::HadOverride), "HadOverride"_qba); Error: COMPILER_WARNING (CWE-477): [#def2] plasma-pa-6.2.3-build/plasma-pa-6.2.3/src/devicerenamemodel.cpp:120:59: warning[-Wdeprecated-declarations]: ‘QByteArray QtLiterals::operator""_qba(const char*, size_t)’ is deprecated: Use _ba from Qt::StringLiterals namespace instead. # 120 | roleNames.insert(static_cast<int>(Role::HasOverride), "HasOverride"_qba); # | ^~~~~~~~~~~~~~~~~ /usr/include/qt6/QtCore/qbytearray.h:822:19: note: declared here # 822 | inline QByteArray operator""_qba(const char *str, size_t size) noexcept # | ^~~~~~~~ # 118| QHash<int, QByteArray> roleNames; # 119| roleNames.insert(static_cast<int>(Role::PulseProperties), "PulseProperties"_qba); # 120|-> roleNames.insert(static_cast<int>(Role::HasOverride), "HasOverride"_qba); # 121| roleNames.insert(static_cast<int>(Role::HadOverride), "HadOverride"_qba); # 122| roleNames.insert(static_cast<int>(Role::Description), "Description"_ba); Error: COMPILER_WARNING (CWE-477): [#def3] plasma-pa-6.2.3-build/plasma-pa-6.2.3/src/devicerenamemodel.cpp:121:59: warning[-Wdeprecated-declarations]: ‘QByteArray QtLiterals::operator""_qba(const char*, size_t)’ is deprecated: Use _ba from Qt::StringLiterals namespace instead. # 121 | roleNames.insert(static_cast<int>(Role::HadOverride), "HadOverride"_qba); # | ^~~~~~~~~~~~~~~~~ /usr/include/qt6/QtCore/qbytearray.h:822:19: note: declared here # 822 | inline QByteArray operator""_qba(const char *str, size_t size) noexcept # | ^~~~~~~~ # 119| roleNames.insert(static_cast<int>(Role::PulseProperties), "PulseProperties"_qba); # 120| roleNames.insert(static_cast<int>(Role::HasOverride), "HasOverride"_qba); # 121|-> roleNames.insert(static_cast<int>(Role::HadOverride), "HadOverride"_qba); # 122| roleNames.insert(static_cast<int>(Role::Description), "Description"_ba); # 123| roleNames.insert(static_cast<int>(Role::Name), "Name"_ba);
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-248.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | plasma-pa-6.2.3-1.fc42 |
store-results-to | /tmp/tmp12vzlw5n/plasma-pa-6.2.3-1.fc42.tar.xz |
time-created | 2024-11-13 02:39:01 |
time-finished | 2024-11-13 02:41:16 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp12vzlw5n/plasma-pa-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/tmp12vzlw5n/plasma-pa-6.2.3-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |