Snippets for kwin 6.8.0 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/kwin/6.8.0/1.fc46/data/logs/i686/build.log.
-
/builddir/build/BUILD/kwin-6.8.0-build/kwin-6.8.0/src/outputconfigurationstore.cpp:636:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘qsizetype’ {aka ‘int’} [-Wformat=] 636 | qCDebug(KWIN_OUTPUT_CONFIG, "Generating new config for %lld outputs", outputs.size()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | qsizetype {aka int} -
/builddir/build/BUILD/kwin-6.8.0-build/kwin-6.8.0/src/scene/opengl/atlas.cpp:105:16: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘qsizetype’ {aka ‘int’} [-Wsign-compare] 105 | if (sprite >= m_sprites.size()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kwin-6.8.0-build/kwin-6.8.0/src/scripting/virtualdesktopmodel.cpp:35:18: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘qsizetype’ {aka ‘int’} [-Wsign-compare] 35 | if (position < m_virtualDesktops.count()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kwin-6.8.0-build/kwin-6.8.0/src/scene/opengl/texture.cpp:258:37: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘long long unsigned int’ [-Wformat=] 258 | qCCritical(KWIN_OPENGL, "Couldn't create multi gpu swapchain for a buffer %s 0x%lx", qPrintable(FormatInfo::drmFormatName(attribs->format)), attribs->modifier); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | long long unsigned int -
/builddir/build/BUILD/kwin-6.8.0-build/kwin-6.8.0/src/backends/drm/drm_colorop.cpp:1199:27: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 1199 | qCDebug(KWIN_DRM, "skipping unknown color op %lu", m_type.value()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} -
/builddir/build/BUILD/kwin-6.8.0-build/kwin-6.8.0/src/backends/drm/drm_commit_thread.cpp:382:30: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::chrono::duration<long long int, std::ratio<1, 1000> >::rep’ {aka ‘long long int’} [-Wformat=] 382 | qCCritical(KWIN_DRM, "Pageflip arrived after all, %lums after the commit", std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now() - m_lastCommitTime).count()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::chrono::duration<long long int, std::ratio<1, 1000> >::rep {aka long long int} -
/builddir/build/BUILD/kwin-6.8.0-build/kwin-6.8.0/src/backends/drm/drm_plane.cpp:190:37: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] 190 | qCWarning(KWIN_DRM, "initializing color pipeline %lu failed!", value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ | | | long long unsigned int -
/builddir/build/BUILD/kwin-6.8.0-build/kwin-6.8.0/src/window.cpp:1385:24: warning: ‘bestScore’ may be used uninitialized [-Wmaybe-uninitialized] 1385 | if (!candidate || score < bestScore) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kwin-6.8.0-build/kwin-6.8.0/src/backends/wayland/wayland_display.cpp:107:18: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 107 | write(m_quitPipe[1], "\0", 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/kwin-6.8.0-build/kwin-6.8.0/src/window.cpp:1385:24: warning: ‘bestScore’ may be used uninitialized [-Wmaybe-uninitialized] 1385 | if (!candidate || score < bestScore) { | ^