Error: COMPILER_WARNING (CWE-477): [#def1] kmenuedit-6.2.3-build/kmenuedit-6.2.3/menufile.cpp: scope_hint: In member function ‘bool MenuFile::load()’ kmenuedit-6.2.3-build/kmenuedit-6.2.3/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.2.3-build/kmenuedit-6.2.3/menufile.h:11: included_from: Included from here. kmenuedit-6.2.3-build/kmenuedit-6.2.3/menufile.cpp:8: included_from: Included from here. /usr/include/qt6/QtXml/qdom.h:330:10: note: declared here # 330 | 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.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-116.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | kmenuedit-6.2.3-1.fc42 |
store-results-to | /tmp/tmp8vg3ptpn/kmenuedit-6.2.3-1.fc42.tar.xz |
time-created | 2024-11-13 01:05:13 |
time-finished | 2024-11-13 01:06:59 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp8vg3ptpn/kmenuedit-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/tmp8vg3ptpn/kmenuedit-6.2.3-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |