Snippets for gamescope 3.16.28 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/gamescope/3.16.28/1.fc46/data/logs/i686/build.log.
-
../src/Utils/Process.cpp:101:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 101 | fscanf( pStatFile, "%*d %*s %*c %d", &nParentPid ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/gpuvis_trace_utils.h:220:44: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 220 | gpuvis_trace_printf( "%s (lduration=-%lu)", str, dt ); | ~~^ ~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu -
../src/commit.cpp:94:24: warning: ‘frametime’ may be used uninitialized [-Wmaybe-uninitialized] 94 | mangoapp_update( uint64_t(~0ull), frametime, uint64_t(~0ull) ); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../layer/VkLayer_FROG_gamescope_wsi.cpp:347:10: warning: ignoring return value of ‘ssize_t pread(int, void*, size_t, __off64_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 347 | pread(fd, &overrideValue, sizeof(overrideValue), 0); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/vblankmanager.cpp:336:74: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 336 | g_VBlankLog.infof( "redZone: %.2fms decayRate: %lu%% - rollingMaxDrawTime: %.2fms lastDrawTime: %.2fms lastOffset: %.2fms - drawTime: %.2fms offset: %.2fms", | ~~^ | | | long unsigned int | %llu 337 | ulRedZone / 1'000'000.0, 338 | m_ulVBlankRateOfDecayPercentage, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} -
../src/log.cpp:102:18: warning: ignoring return value of ‘int vasprintf(char**, const char*, __gnuc_va_list)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 102 | vasprintf(&buf, fmt, args); | ~~~~~~~~~^~~~~~~~~~~~~~~~~ -
../src/backend.cpp:193:54: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 193 | console_log.infof( "Total Presents Queued: %lu", this->GetCurrentConnector()->PresentationFeedback().TotalPresentsQueued() ); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu -
../src/backend.cpp:194:57: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 194 | console_log.infof( "Total Presents Completed: %lu", this->GetCurrentConnector()->PresentationFeedback().TotalPresentsCompleted() ); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu -
../src/backend.cpp:195:59: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 195 | console_log.infof( "Current Presents In Flight: %lu", this->GetCurrentConnector()->PresentationFeedback().CurrentPresentsInFlight() ); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu -
../src/wlserver.cpp:1557:48: warning: right shift count >= width of type [-Wshift-count-overflow] 1557 | last_refresh_ts.tv_sec >> 32, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -
../src/Backends/OpenVRBackend.cpp:1055:61: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 1055 | openvr_log.debugf( "Changing mouse focus from %lx to %lx", oldOverlayHandle, ulFocusOverlay ); | ~~^ ~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llx -
../src/Backends/OpenVRBackend.cpp:1055:68: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 1055 | openvr_log.debugf( "Changing mouse focus from %lx to %lx", oldOverlayHandle, ulFocusOverlay ); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx -
../src/Backends/OpenVRBackend.cpp:1095:64: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 1095 | openvr_log.debugf( "Changing keyboard focus from %lx to %lx", oldOverlayHandle, ulFocusOverlay ); | ~~^ ~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llx -
../src/Backends/OpenVRBackend.cpp:1095:71: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 1095 | openvr_log.debugf( "Changing keyboard focus from %lx to %lx", oldOverlayHandle, ulFocusOverlay ); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx -
../src/Backends/OpenVRBackend.cpp:1806:56: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 1806 | openvr_log.debugf( "New connector! -> ulKey: %lu", GetVirtualConnectorKey() ); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu -
../src/Backends/OpenVRBackend.cpp:1855:47: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 1855 | openvr_log.debugf( "[%s] ulKey: %lu nNewOverlayVisibleCount: %d -> m_bOverlayShown: %s m_bSceneAppVisible: %s", | ~~^ | | | long unsigned int | %llu 1856 | pszReason, 1857 | GetVirtualConnectorKey(), | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} -
../src/Backends/DRMBackend.cpp:3629:72: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 3629 | drm_log.debugf( "CDRMBackend::Present Begin: %lu -> delta: %lu", ulNow, ulNow - s_ulLastTime ); | ~~^ ~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu -
../src/Backends/DRMBackend.cpp:3629:86: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 3629 | drm_log.debugf( "CDRMBackend::Present Begin: %lu -> delta: %lu", ulNow, ulNow - s_ulLastTime ); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu -
../src/Backends/DRMBackend.cpp:2348:40: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 2348 | strncpy( m_Mutable.szDataString, pszDataString, sizeof( m_Mutable.szDataString ) ); | ^ -
../src/Backends/DRMBackend.cpp:2343:40: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 2343 | strncpy( m_Mutable.szModel, pszModel, sizeof( m_Mutable.szModel ) ); | ^ -
../src/gpuvis_trace_utils.h:428:64: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 428 | gpuvis_trace_printf( "%s calls:%u (lduration=%lu tid=%d offset=-%lu)\n", | ~~^ | | | long unsigned int | %llu 429 | func, y.second.count, duration, tid, offset ); | ~~~~~~~~ | | | uint64_t {aka long long unsigned int} -
../src/gpuvis_trace_utils.h:428:83: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 428 | gpuvis_trace_printf( "%s calls:%u (lduration=%lu tid=%d offset=-%lu)\n", | ~~^ | | | long unsigned int | %llu 429 | func, y.second.count, duration, tid, offset ); | ~~~~~~ | | | uint64_t {aka long long unsigned int} -
../src/gpuvis_trace_utils.h:453:56: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 453 | gpuvis_trace_printf( "%s calls:%u (lduration=%lu offset=-%lu)\n", | ~~^ | | | long unsigned int | %llu 454 | func, y.count, y.tlast - y.tfirst, t0 - y.tfirst ); | ~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} -
../src/gpuvis_trace_utils.h:453:68: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 453 | gpuvis_trace_printf( "%s calls:%u (lduration=%lu offset=-%lu)\n", | ~~^ | | | long unsigned int | %llu 454 | func, y.count, y.tlast - y.tfirst, t0 - y.tfirst ); | ~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} -
../src/steamcompmgr.cpp:2375:58: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] 2375 | xwm_log.infof( "Exposing appid %lu (%u 32-bit) focus-wise on pipewire stream.", ulFocusAppId, uint32_t( ulFocusAppId ) ); | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int long long unsigned int | %llu -
../src/steamcompmgr.cpp:4127:139: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 4127 | focus_log.debugf( "[XWL] Overriding keyboard focus window with VR forwarder overlay! Overlay: 0x%lx XWindow: 0x%x Title: %s", ulFocusedKeyboardOverlayVR, queryWindow->id(), queryWindow->debug_name() ); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx -
../src/steamcompmgr.cpp:4566:76: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 4566 | focus_log.debugf( "Current focus VR overlays: keyboard 0x%lx | mouse 0x%lx", ulFocusedKeyboardOverlayVR, ulFocusedMouseOverlayVR ); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx -
../src/steamcompmgr.cpp:4566:90: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 4566 | focus_log.debugf( "Current focus VR overlays: keyboard 0x%lx | mouse 0x%lx", ulFocusedKeyboardOverlayVR, ulFocusedMouseOverlayVR ); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx -
../src/steamcompmgr.cpp:4574:145: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 4574 | focus_log.debugf( "[WL GLOBAL] Overriding keyboard focus window with VR forwarder overlay! Overlay: 0x%lx XWindow: 0x%x Title: %s", ulFocusedKeyboardOverlayVR, queryWindow->id(), queryWindow->debug_name() ); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llx -
../src/steamcompmgr.cpp:7134:56: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 7134 | gpuvis_trace_printf( "commit %lu done", w->commit_queue[ j ]->commitID ); | ~~^ | | | long unsigned int | %llu -
../src/steamcompmgr.cpp:7729:57: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 7729 | gpuvis_trace_printf( "pushing wait for commit %lu win %lx", newCommit->commitID, w->type == steamcompmgr_win_type_t::XWAYLAND ? w->xwayland().id : 0 ); | ~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu -
../src/steamcompmgr.cpp:735:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 735 | fread(g_ColorMgmtLutsOverride[nLutIndex].lut3d, elems, sizeof(uint16_t), f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/steamcompmgr.cpp:763:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 763 | fread(g_ColorMgmtLutsOverride[nLutIndex].lut1d, elems, sizeof(uint16_t), f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/steamcompmgr.cpp:6028:15: warning: ignoring return value of ‘ssize_t pwrite(int, const void*, size_t, __off64_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6028 | pwrite( g_nRuntimeInfoFd, &limiter_enabled, sizeof( limiter_enabled ), 0 ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/steamcompmgr.cpp:4089:39: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4089 | system( buf ); | ~~~~~~^~~~~~~ -
../src/steamcompmgr.cpp:2199:34: warning: ‘baseWidth’ may be used uninitialized [-Wmaybe-uninitialized] 2199 | calc_scale_factor(baseScaleRatio_x, baseScaleRatio_y, baseWidth, baseHeight); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/steamcompmgr.cpp:2199:34: warning: ‘baseHeight’ may be used uninitialized [-Wmaybe-uninitialized] 2199 | calc_scale_factor(baseScaleRatio_x, baseScaleRatio_y, baseWidth, baseHeight); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../tests/test_process.cpp:159:13: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 159 | read(pipefd[0], buf, sizeof(buf) - 1); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~