Snippets for box64 0.4.4 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/x0k3q505vik6w2sj1yf067pj34b847i1-box64-0.4.4.drv.
-
/build/source/src/os/os_linux.c:228:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 228 | write(trace_fd, tmp, strlen(tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/os/os_linux.c:235:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 235 | write(trace_fd, tmp, strlen(tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/build_info.h:34:19: warning: '%04lu' directive output may be truncated writing 4 bytes into a region of size between 2 and 30 [-Wformat-truncation=] 34 | #define BOX64_STR "Box64" | ^~~~~~~ -
/build/source/src/build_info.h:34:19: warning: '%1.2f' directive output may be truncated writing between 3 and 313 bytes into a region of size between 2 and 30 [-Wformat-truncation=] 34 | #define BOX64_STR "Box64" | ^~~~~~~ -
/build/source/src/build_info.h:34:19: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 34 | #define BOX64_STR "Box64" | ^~~~~~~ -
/build/source/src/core.c:382:73: warning: ' (deleted)' directive output may be truncated writing 10 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 382 | snprintf(self_name_with_deleted, sizeof(self_name_with_deleted), "%s (deleted)", self_name); | ^~~~~~~~~~ -
/build/source/src/core.c:392:49: warning: '/exe' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 392 | snprintf(exe_path, sizeof(exe_path), "%s/exe", proc_path); | ^~~~ -
/build/source/src/emu/x87emu_private.c:262:46: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 6 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 262 | snprintf(buf, sizeof(buf), "%s%04x %016llx", prefix?prefix:"", val.b, val.f.q); | ~~~~~~^ ~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %016lx -
/build/source/src/tools/env.c:355:2: warning: #warning "Unknown architecture for ENV_ARCH" [-Wcpp] 355 | #warning "Unknown architecture for ENV_ARCH" | ^~~~~~~ -
/build/source/src/steam.c:35:5: warning: ignoring return value of 'symlink' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | symlink(file, tmp); | ^~~~~~~~~~~~~~~~~~ -
/build/source/src/wrapped/wrappeddbus.c:685:5: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 685 | vasprintf(&buff, (char*)fmt, VARARGS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/wrapped/wrappedgmp.c:158:38: warning: passing argument 2 of 'my_gmp.__gmp_vasprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | return my->__gmp_vasprintf(strp, fmt, VARARGS); | ^~~ -
/build/source/src/wrapped/wrappedgmp.c:165:39: warning: passing argument 2 of 'my_gmp.__gmp_vfprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | return my->__gmp_vfprintf(stream, fmt, VARARGS); | ^~~ -
/build/source/src/wrapped/wrappedgmp.c:176:38: warning: passing argument 2 of 'my_gmp.__gmp_vasprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 176 | return my->__gmp_vasprintf(strp, fmt, VARARGS); | ^~~ -
/build/source/src/wrapped/wrappedgmp.c:187:39: warning: passing argument 2 of 'my_gmp.__gmp_vfprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 187 | return my->__gmp_vfprintf(stream, fmt, VARARGS); | ^~~ -
/build/source/src/wrapped/wrappedlibavutil56.c:213:5: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 213 | vasprintf(&buff, (char*)fmt, VARARGS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/wrapped/wrappedlibavutil56.c:260:5: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 260 | vasprintf(&buff, (char*)fmt, VARARGS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/wrapped/wrappedlibavutil56.c:285:5: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 285 | vasprintf(&buff, (char*)fmt, VARARGS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~