bzero unavailable on Windows platforms
Q-Magnet opened this issue · comments
Q Magnet commented
[2/1367] Compiling C object libcommon.fa.p/hw_display_apple_displaypipe_v2.c.obj
FAILED: libcommon.fa.p/hw_display_apple_displaypipe_v2.c.obj
"cc" "-m64" "-mcx16" "-Ilibcommon.fa.p" "-Isubprojects/dtc/libfdt" "-I../subprojects/dtc/libfdt" "-IC:/msys64/mingw64/include/libpng16" "-IC:/msys64/mingw64/include/SDL2" "-IC:/msys64/mingw64/include/glib-2.0" "-IC:/msys64/mingww64/include/ncursesw" "-fdiagnostics-color=auto" "-Wall" "-Winvalid-pch" "-std=gnu11" "-O2" "-g" "-fstack-protectoecurity" "-Wformat-y2k" "-Wignored-qualifiers" "-Wimplicit-fallthrough=2" "-Winit-self" "-Wmissing-format-attributstyle-definition" "-Wredundant-decls" "-Wshadow=local" "-Wstrict-prototypes" "-Wtype-limits" "-Wundef" "-Wvla" "-Walue" "-iquote" "." "-iquote" "C:/qemu-build/QEMUAppleSilicon" "-iquote" "C:/qemu-build/QEMUAppleSilicon/include" emu-build/QEMUAppleSilicon/host/include/generic" "-iquote" "C:/qemu-build/QEMUAppleSilicon/tcg/i386" "-D_GNU_SOURC-common" "-fwrapv" "-fno-pie" "-no-pie" "-ftrivial-auto-var-init=zero" "-fzero-call-used-regs=used-gpr" "-DNCURSESdisplay_apple_displaypipe_v2.c.obj -MF "libcommon.fa.p/hw_display_apple_displaypipe_v2.c.obj.d" -o libcommon.fa.p/c
../hw/display/apple_displaypipe_v2.c: In function 'apple_genpipev2_init':
../hw/display/apple_displaypipe_v2.c:291:5: error: implicit declaration of function 'bzero' [-Wimplicit-function-d
291 | bzero(s, sizeof(*s));
| ^~~~~
../hw/display/apple_displaypipe_v2.c:291:5: warning: incompatible implicit declaration of built-in function 'bzero
ninja: build stopped: subcommand failed.
make: *** [Makefile:167: run-ninja] Error 1```
Q Magnet commented
Windows 11 Intel Core IceLake CPU msys64-mingw64 latest