Snippets for tic-80 1.1.2837 from Alpine ppc64le
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-ppc64le/community/tic-80/tic-80-1.1.2837-r12.log.
-
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/vendor/naett/naett.c:903:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 903 | curl_easy_setopt(curl, CURLOPT_HTTPGET, 1); | ^~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/vendor/naett/naett.c:908:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 908 | curl_easy_setopt(curl, CURLOPT_POST, 1); | ^~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/vendor/naett/naett.c:911:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 911 | curl_easy_setopt(curl, CURLOPT_UPLOAD, 1); | ^~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/vendor/naett/naett.c:915:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 915 | curl_easy_setopt(curl, CURLOPT_NOBODY, 1); | ^~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/api/wasm.c:1022:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'IM3Environment' {aka 'struct M3Environment *'} [-Wformat=] 1022 | printf("deiniting env %d\n", env); | ~^ ~~~ | | | | int IM3Environment {aka struct M3Environment *} -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/api/wasm.c:1072:9: warning: format '%d' expects argument of type 'int', but argument 2 has type 'tic_core *' [-Wformat=] 1072 | dbg("Initializing WASM3 runtime %d\n", core); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | tic_core * -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/fs.c:103:43: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 103 | snprintf(path, sizeof path, "%s/%s", fs->work, name); | ^ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/screens/surf.c:477:37: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 477 | sprintf(path, "%s/%s", current, item->name); | ^ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/studio.h:87:18: warning: '%02i' directive writing between 2 and 11 bytes into a region of size between 0 and 8 [-Wformat-overflow=] 87 | sprintf(buf, Format, __VA_ARGS__); \ | ^~~~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/studio.h:87:18: warning: '%i' directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] 87 | sprintf(buf, Format, __VA_ARGS__); \ | ^~~~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/studio.h:87:18: warning: '%02i' directive writing between 2 and 10 bytes into a region of size 5 [-Wformat-overflow=] 87 | sprintf(buf, Format, __VA_ARGS__); \ | ^~~~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/studio.h:87:18: warning: ' y=' directive writing 3 bytes into a region of size between 2 and 11 [-Wformat-overflow=] 87 | sprintf(buf, Format, __VA_ARGS__); \ | ^~~~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/editors/map.c:241:24: warning: '%03i' directive writing between 3 and 10 bytes into a region of size 5 [-Wformat-overflow=] 241 | sprintf(buf, "#%03i", index); | ^~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/studio.h:87:18: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 87 | sprintf(buf, Format, __VA_ARGS__); \ | ^~~~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/studio.c:1635:25: warning: ' saved :)' directive writing 9 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1635 | sprintf(msg, "%s saved :)", filename); | ^~~~~~~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/studio.c:1492:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 215 [-Wformat-truncation=] 1492 | snprintf(name, TICNAME_MAX, "%s [%s]", TIC_TITLE, studio->console->rom.name); | ^~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/studio.c:1598:50: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 1598 | snprintf(buffer, sizeof buffer, "%s%s", studio->console->rom.name, str_saved); | ^ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/editors/music.c:256:27: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 256 | sprintf(val, "%02i", value); | ^ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/editors/music.c:1674:23: warning: '%02i' directive writing between 2 and 10 bytes into a region of size 3 [-Wformat-overflow=] 1674 | sprintf(buf, "%02i", music->tracker.edit.y); | ^~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/studio.h:87:18: warning: '%02i' directive writing between 2 and 6 bytes into a region of size between 4 and 8 [-Wformat-overflow=] 87 | sprintf(buf, Format, __VA_ARGS__); \ | ^~~~~~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/editors/sprite.c:525:24: warning: '%i' directive writing between 1 and 8 bytes into a region of size 5 [-Wformat-overflow=] 525 | sprintf(buf, "#%i", sprite->index + tic_blit_calc_index(&sprite->blit)); | ^~ -
/home/buildozer/aports/community/tic-80/src/TIC-80-1.1.2837/src/studio/editors/code.c:453:48: warning: '%i' directive writing between 1 and 10 bytes into a region of size between 9 and 27 [-Wformat-overflow=] 453 | sprintf(code->status.line, "line %i/%i col %i", line + 1, getLinesCount(code) + 1, column + 1); | ^~