Task #2022 - xwaylandvideobridge-0.4.0-3.fc40/scan-results.err

back to task #2022
download
Error: COMPILER_WARNING (CWE-477):
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:438:9: note: declared here
#  438 |         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) {