Error: COMPILER_WARNING (CWE-569): [#def1] qtwayland-everywhere-src-5.15.18/examples/wayland/minimal-cpp/compositor.cpp: scope_hint: In member function ‘void Compositor::handleMousePress(const QPoint&, Qt::MouseButton)’ qtwayland-everywhere-src-5.15.18/examples/wayland/minimal-cpp/compositor.cpp:138:42: warning[-Wparentheses]: suggest parentheses around assignment used as truth value # 138 | if (m_mouseView = viewAt(position)) # | ^ # 136| { # 137| if (!m_mouseView) { # 138|-> if (m_mouseView = viewAt(position)) # 139| raise(m_mouseView); # 140| } Error: COMPILER_WARNING (CWE-477): [#def2] qtwayland-everywhere-src-5.15.18/src/client/qwaylanddatadevice.cpp: scope_hint: In member function ‘bool QtWaylandClient::QWaylandDataDevice::startDrag(QMimeData*, Qt::DropActions, QtWaylandClient::QWaylandWindow*)’ qtwayland-everywhere-src-5.15.18/src/client/qwaylanddatadevice.cpp:131:27: warning[-Wdeprecated-declarations]: ‘QString::QString(const char*)’ is deprecated: Use fromUtf8, QStringLiteral, or QLatin1String # 131 | mimeData->setData("application/x-qt-avoid-empty-placeholder", QByteArray("1")); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:46: included_from: Included from here. /usr/include/qt5/QtCore/5.15.18/QtCore/private/qglobal_p.h:80: included_from: Included from here. /usr/include/qt5/QtGui/5.15.18/QtGui/private/qtguiglobal_p.h:55: included_from: Included from here. qtwayland-everywhere-src-5.15.18/src/client/qtwaylandclientglobal_p.h:55: included_from: Included from here. qtwayland-everywhere-src-5.15.18/src/client/qwaylanddatadevice_p.h:55: included_from: Included from here. qtwayland-everywhere-src-5.15.18/src/client/qwaylanddatadevice.cpp:41: included_from: Included from here. /usr/include/qt5/QtCore/qstring.h:832:31: note: declared here # 832 | inline QT_ASCII_CAST_WARN QString(const char *ch) # | ^~~~~~~ # 129| // In this rare case, insert a placeholder # 130| if (mimeData->formats().isEmpty()) # 131|-> mimeData->setData("application/x-qt-avoid-empty-placeholder", QByteArray("1")); # 132| # 133| m_dragSource.reset(new QWaylandDataSource(m_display->dndSelectionHandler(), mimeData));
| 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-120.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 | qt5-qtwayland-5.15.18-1.fc44 |
| store-results-to | /tmp/tmph2o1dzkk/qt5-qtwayland-5.15.18-1.fc44.tar.xz |
| time-created | 2026-01-08 21:19:33 |
| time-finished | 2026-01-08 21:24:11 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmph2o1dzkk/qt5-qtwayland-5.15.18-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmph2o1dzkk/qt5-qtwayland-5.15.18-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |