Task #119420 - fixed.err

back to task #119420
download
Error: COMPILER_WARNING (CWE-477):
qttools-everywhere-src-6.10.2/src/qtdiag/qtdiag.cpp: scope_hint: In function ‘QString qtDiag(unsigned int)’
qttools-everywhere-src-6.10.2/src/qtdiag/qtdiag.cpp:685:47: warning[-Wdeprecated-declarations]: ‘QPlatformIntegration::RasterGLSurface’ is deprecated: This capability is no longer used
#  685 |     DUMP_CAPABILITY(str, platformIntegration, RasterGLSurface)
#      |                                               ^~~~~~~~~~~~~~~
qttools-everywhere-src-6.10.2/src/qtdiag/qtdiag.cpp:432:66: note: in definition of macro ‘DUMP_CAPABILITY’
#  432 |     if (platformIntegration->hasCapability(QPlatformIntegration::capability)) \
#      |                                                                  ^~~~~~~~~~
qttools-everywhere-src-6.10.2/src/qtdiag/qtdiag.cpp:47: included_from: Included from here.
/usr/include/qt6/QtGui/6.11.1/QtGui/qpa/qplatformintegration.h:94:9: note: declared here
#   94 |         RasterGLSurface Q_DECL_ENUMERATOR_DEPRECATED_X("This capability is no longer used"),
#      |         ^~~~~~~~~~~~~~~
#  683|       DUMP_CAPABILITY(str, platformIntegration, WindowManagement)
#  684|       DUMP_CAPABILITY(str, platformIntegration, SyncState)
#  685|->     DUMP_CAPABILITY(str, platformIntegration, RasterGLSurface)
#  686|       DUMP_CAPABILITY(str, platformIntegration, AllGLFunctionsQueryable)
#  687|       DUMP_CAPABILITY(str, platformIntegration, ApplicationIcon)