<div><div>Including string.h solves a problem.</div><div> </div><div>ninja -C build</div><div>ninja: Entering directory `build'</div><div>[13/56] Generating client_demarshallers with a custom command</div><div>Wrote subprojects/spice-common/common/generated_messages.h</div><div>Wrote subprojects/spice-common/common/generated_client_demarshallers.c</div><div>[14/56] Compiling C object 'subprojects/spice-common/tests/7492eb8@@test_utils@exe/test-utils.c.o'</div><div>FAILED: subprojects/spice-common/tests/7492eb8@@test_utils@exe/test-utils.c.o</div><div>ccache cc -Isubprojects/spice-common/tests/7492eb8@@test_utils@exe -Isubprojects/spice-common/tests -I../subprojects/spice-common/tests -Isubprojects/spice-common -I../subprojects/spice-common -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/spice-1 -I/usr/include/pixman-1 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g '-DG_LOG_DOMAIN="Spice"' -Werror -Wno-unused-parameter -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_38 -pthread -MD -MQ 'subprojects/spice-common/tests/7492eb8@@test_utils@exe/test-utils.c.o' -MF 'subprojects/spice-common/tests/7492eb8@@test_utils@exe/test-utils.c.o.d' -o 'subprojects/spice-common/tests/7492eb8@@test_utils@exe/test-utils.c.o' -c ../subprojects/spice-common/tests/test-utils.c</div><div>../subprojects/spice-common/tests/test-utils.c: In function ‘main’:</div><div>../subprojects/spice-common/tests/test-utils.c:29:5: error: implicit declaration of function ‘memset’ [-Werror=implicit-function-declaration]</div><div>memset(bytes, 0, sizeof(bytes));</div><div>^~~~~~</div><div>../subprojects/spice-common/tests/test-utils.c:29:5: error: incompatible implicit declaration of built-in function ‘memset’ [-Werror]</div><div>../subprojects/spice-common/tests/test-utils.c:29:5: note: include ‘<string.h>’ or provide a declaration of ‘memset’</div><div>cc1: all warnings being treated as errors</div><div>[17/56] Generating client_marshallers with a custom command</div><div>Wrote subprojects/spice-common/common/generated_client_marshallers.c</div><div>Wrote subprojects/spice-common/common/generated_client_marshallers.h</div><div>[19/56] Compiling C object 'subprojects/spice-common/common/4ed40af@@spice-common@sta/rop3.c.o'</div><div>ninja: build stopped: subcommand failed.</div><div> </div><div> </div></div>