Error: COMPILER_WARNING (CWE-477): [#def1] kmenuedit-6.3.4/menufile.cpp: scope_hint: In member function ‘bool MenuFile::load()’ kmenuedit-6.3.4/menufile.cpp:67:26: warning[-Wdeprecated-declarations]: ‘bool QDomDocument::setContent(QIODevice*, QString*, int*, int*)’ is deprecated: Use the overload returning ParseResult instead. # 67 | if (!m_doc.setContent(&file, &errorMsg, &errorRow, &errorCol)) { # | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kmenuedit-6.3.4/menufile.h:11: included_from: Included from here. kmenuedit-6.3.4/menufile.cpp:8: included_from: Included from here. /usr/include/qt6/QtXml/qdom.h:406:10: note: declared here # 406 | bool setContent(QIODevice *dev, QString *errorMsg, int *errorLine = nullptr, int *errorColumn = nullptr); # | ^~~~~~~~~~ # 65| int errorRow; # 66| int errorCol; # 67|-> if (!m_doc.setContent(&file, &errorMsg, &errorRow, &errorCol)) { # 68| qCWarning(KMENUEDIT_LOG) << "Parse error in " << m_fileName << ", line " << errorRow << ", col " << errorCol << ": " << errorMsg; # 69| file.close();
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
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-41.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | kmenuedit-6.3.4-1.fc43 |
store-results-to | /tmp/tmpkzj_910c/kmenuedit-6.3.4-1.fc43.tar.xz |
time-created | 2025-04-25 13:42:37 |
time-finished | 2025-04-25 13:44:27 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpkzj_910c/kmenuedit-6.3.4-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpkzj_910c/kmenuedit-6.3.4-1.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |