Snippets for obs-studio 32.2.2 from Alpine armv7
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armv7/community/obs-studio/obs-studio-32.2.2-r2.log.
-
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/libobs/util/threading-posix.c:258:37: warning: unused parameter 'name' [-Wunused-parameter] 258 | void os_set_thread_name(const char *name) | ~~~~~~~~~~~~^~~~ -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/plugins/linux-v4l2/v4l2-input.c:64:43: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 64 | #define blog(level, msg, ...) blog(level, "v4l2-input: " msg, ##__VA_ARGS__) | ^~~~~~~~~~~~~~ -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/shared/bpm/bpm.c:25:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 25 | blog(LOG_DEBUG, "%s: Null arguments for track %lu", __FUNCTION__, pkt->track_idx); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/shared/bpm/bpm.c:126:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 126 | "BPM: %s, trk %lu: [CTS|FER-CTS|FERC-FER|PIR-CTS]:[%" PRIu64 " ms|%" PRIu64 " ms|%" PRIu64 " us|%" PRIu64 | ~~^ | | | long unsigned int | %u 127 | " ms], [dts|pts]:[%" PRId64 "|%" PRId64 "], S[R:O:D:L],R[I:S:O]:%d:%d:%d:%d:%d:%d:%d", 128 | obs_encoder_get_name(pkt->encoder), pkt->track_idx, ept->cts / 1000000, (ept->fer - ept->cts) / 1000000, | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/shared/bpm/bpm.c:331:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 331 | blog(LOG_DEBUG, "Metrics track for index: %lu had not be initialized", out->track_idx); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/shared/bpm/bpm.c:338:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 338 | blog(LOG_DEBUG, "update_metrics() for track index: %lu failed", out->track_idx); | ~~^ ~~~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/shared/bpm/bpm.c:577:80: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 577 | blog(LOG_DEBUG, "%s: Packet timing missing for track %ld, PTS %" PRId64, __FUNCTION__, | ~~^ | | | long int | %d 578 | pkt->track_idx, pkt->pts); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/libobs/util/utf8.c:287:24: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 287 | if (*w < 0) { | ^ -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/libobs/obs.c:836:65: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 836 | blog(LOG_WARNING, "Number of remaining views: %ld", num_views); | ~~^ ~~~~~~~~~ | | | | | size_t {aka unsigned int} | long int | %d -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/libobs/obs-output.c:1531:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1531 | blog(LOG_DEBUG, "Caption track for index: %lu has not been initialized", out->track_idx); | ~~^ ~~~~~~~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/libobs/obs-output.c:1733:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1733 | blog(LOG_DEBUG, "%s: Track %lu encoder packet timing for PTS%" PRId64 " not found.", | ~~^ | | | long unsigned int | %u 1734 | __FUNCTION__, out.track_idx, out.pts); | ~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/libobs/obs-output.c:1738:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1738 | blog(LOG_DEBUG, "%s: Track %lu encoder packet timing array empty.", __FUNCTION__, | ~~^ | | | long unsigned int | %u 1739 | out.track_idx); | ~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/plugins/obs-webrtc/whip-utils.h:10:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=] 10 | blog(level, "[obs-webrtc] [whip_output: '%s'] " format, obs_output_get_name(output), ##__VA_ARGS__)
-
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/libobs/util/threading-posix.h:26:16: warning: '__atomic_sub_fetch_4' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 26 | return __atomic_sub_fetch(val, 1, __ATOMIC_SEQ_CST); | ^ -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/shared/obs-scripting/obs-scripting-python.c:1648:9: warning: 'PySys_SetArgv' is deprecated [-Wdeprecated-declarations] 1648 | PySys_SetArgv(argc, argv); | ^~~~~~~~~~~~~ -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/deps/glad/include/glad/glad_egl.h:287:12: warning: type of 'eglCreateWindowSurface' does not match original declaration [-Wlto-type-mismatch] 287 | EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list); | ^ -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/build/shared/obs-scripting/obslua/CMakeFiles/obslua.dir/obsluaLUA_wrap.c:57293:41: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
-
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/build/shared/obs-scripting/obspython/CMakeFiles/obspython.dir/obspythonPYTHON_wrap.c:78248:41: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
-
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/frontend/utility/system-info-posix.cpp:379:61: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 379 | sscanf(file_str, "%lu", &dci.dedicated_vram_total); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | uint64_t* {aka long long unsigned int*} | long unsigned int* | %llu -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/frontend/utility/system-info-posix.cpp:390:61: warning: format '%lu' expects argument of type 'long unsigned int*', but argument 3 has type 'uint64_t*' {aka 'long long unsigned int*'} [-Wformat=] 390 | sscanf(file_str, "%lu", &dci.shared_system_memory_total); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | uint64_t* {aka long long unsigned int*} | long unsigned int* | %llu -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/frontend/utility/system-info-posix.cpp:398:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 398 | "vram_total: %lu, sys_memory: %lu", | ~~^ | | | long unsigned int | %llu 399 | __FUNCTION__, dci.dbsf.c_str(), dci.device_id, dci.vendor_id, dci.subsystem_device, 400 | dci.subsystem_vendor, dci.dedicated_vram_total, dci.shared_system_memory_total); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/frontend/utility/system-info-posix.cpp:398:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 398 | "vram_total: %lu, sys_memory: %lu", | ~~^ | | | long unsigned int | %llu 399 | __FUNCTION__, dci.dbsf.c_str(), dci.device_id, dci.vendor_id, dci.subsystem_device, 400 | dci.subsystem_vendor, dci.dedicated_vram_total, dci.shared_system_memory_total); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/frontend/utility/system-info-posix.cpp:475:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector<{anonymous}::drm_card_info>::size_type' {aka 'unsigned int'} [-Wformat=] 475 | blog(LOG_DEBUG, "Number of GPUs detected: %lu", drm_cards.size()); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long unsigned int std::vector<{anonymous}::drm_card_info>::size_type {aka unsigned int} | %u -
/home/buildozer/aports/community/obs-studio/src/obs-studio-32.2.2/frontend/OBSApp_Themes.cpp:650:81: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'qsizetype' {aka 'int'} [-Wformat=] 650 | blog(LOG_ERROR, "Math parse had invalid number of arguments: %lld (%s)", args.length(), | ~~~^ ~~~~~~~~~~~~~ | | | | long long int qsizetype {aka int} | %d