Error: COMPILER_WARNING (CWE-477): [#def1] kmenuedit-6.5.4/menufile.cpp: scope_hint: In member function ‘bool MenuFile::load()’ kmenuedit-6.5.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.5.4/menufile.h:11: included_from: Included from here. kmenuedit-6.5.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.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-117.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.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | kmenuedit-6.5.4-1.fc44 |
| store-results-to | /tmp/tmpz2gjg3rr/kmenuedit-6.5.4-1.fc44.tar.xz |
| time-created | 2026-01-08 18:28:00 |
| time-finished | 2026-01-08 18:29:59 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpz2gjg3rr/kmenuedit-6.5.4-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpz2gjg3rr/kmenuedit-6.5.4-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |