Error: COMPILER_WARNING (CWE-477): [#def1] xwaylandvideobridge-0.4.0-build/xwaylandvideobridge-0.4.0/src/main.cpp: scope_hint: In function ‘int main(int, char**)’ xwaylandvideobridge-0.4.0-build/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-build/xwaylandvideobridge-0.4.0/src/xwaylandvideobridge.h:10: included_from: Included from here. xwaylandvideobridge-0.4.0-build/xwaylandvideobridge-0.4.0/src/main.cpp:9: included_from: Included from here. /usr/include/qt6/QtCore/qnamespace.h:440:9: note: declared here # 440 | 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-build/xwaylandvideobridge-0.4.0/src/xwaylandvideobridge.cpp: scope_hint: In constructor ‘XwaylandVideoBridge::XwaylandVideoBridge(QObject*)’ xwaylandvideobridge-0.4.0-build/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-build/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.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-76.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | xwaylandvideobridge-0.4.0-7.fc42 |
store-results-to | /tmp/tmprikgcklg/xwaylandvideobridge-0.4.0-7.fc42.tar.xz |
time-created | 2024-11-13 03:47:43 |
time-finished | 2024-11-13 03:49:27 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmprikgcklg/xwaylandvideobridge-0.4.0-7.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmprikgcklg/xwaylandvideobridge-0.4.0-7.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |