Error: COMPILER_WARNING (CWE-477): [#def1] xwaylandvideobridge-0.4.0/src/main.cpp: scope_hint: In function ‘int main(int, char**)’ xwaylandvideobridge-0.4.0/src/main.cpp:30:26: warning[-Wdeprecated-declarations]: ‘Qt::AA_UseHighDpiPixmaps’ is deprecated: High-DPI pixmaps are always enabled. This attribute no longer has any effect. # 30 | app.setAttribute(Qt::AA_UseHighDpiPixmaps); # | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:12: included_from: Included from here. /usr/include/qt6/QtCore/qobject.h:10: included_from: Included from here. /usr/include/qt6/QtCore/QObject:1: included_from: Included from here. xwaylandvideobridge-0.4.0/src/xwaylandvideobridge.h:10: included_from: Included from here. xwaylandvideobridge-0.4.0/src/main.cpp:9: included_from: Included from here. /usr/include/qt6/QtCore/qnamespace.h:448:9: note: declared here # 448 | AA_UseHighDpiPixmaps Q_DECL_ENUMERATOR_DEPRECATED_X( # | ^~~~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics # 28| qputenv("QSG_RENDER_LOOP", "basic"); # 29| QApplication app(argc, argv); // widgets are needed just for the SNI. # 30|-> app.setAttribute(Qt::AA_UseHighDpiPixmaps); # 31| # 32| auto disableSessionManagement = [](QSessionManager &sm) { Error: COMPILER_WARNING (CWE-477): [#def2] xwaylandvideobridge-0.4.0/src/xwaylandvideobridge.cpp: scope_hint: In constructor ‘XwaylandVideoBridge::XwaylandVideoBridge(QObject*)’ xwaylandvideobridge-0.4.0/src/xwaylandvideobridge.cpp:103:21: warning[-Wdeprecated-declarations]: ‘void KStatusNotifierItem::addAction(const QString&, QAction*)’ is deprecated: Since 6.6. Add actions to contextMenu() # 103 | m_sni->addAction("quitAction", quitAction); # | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/KF6/KStatusNotifierItem/KStatusNotifierItem:1: included_from: Included from here. xwaylandvideobridge-0.4.0/src/xwaylandvideobridge.cpp:18: included_from: Included from here. /usr/include/KF6/KStatusNotifierItem/kstatusnotifieritem.h:403:10: note: declared here # 403 | void addAction(const QString &name, QAction *action); # | ^~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-c99-extensions’ may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option ‘-Wno-gnu-statement-expression-from-macro-expansion’ may have been intended to silence earlier diagnostics # 101| auto quitAction = new QAction(i18n("Quit"), this); # 102| connect(quitAction, &QAction::triggered, qApp, &QGuiApplication::quit); # 103|-> m_sni->addAction("quitAction", quitAction); # 104| m_sni->setStatus(KStatusNotifierItem::Passive); # 105|
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-228.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 | xwaylandvideobridge-0.4.0-9.fc43 |
store-results-to | /tmp/tmpm8a0n2_t/xwaylandvideobridge-0.4.0-9.fc43.tar.xz |
time-created | 2025-04-25 16:05:47 |
time-finished | 2025-04-25 16:07:35 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpm8a0n2_t/xwaylandvideobridge-0.4.0-9.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpm8a0n2_t/xwaylandvideobridge-0.4.0-9.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |