> Including string.h solves a problem. > ninja -C build > ninja: Entering directory `build' > [13/56] Generating client_demarshallers with a custom command > Wrote subprojects/spice-common/common/generated_messages.h > Wrote subprojects/spice-common/common/generated_client_demarshallers.c > [14/56] Compiling C object > 'subprojects/spice-common/tests/7492eb8@@test_utils@exe/test-utils.c.o' > FAILED: subprojects/spice-common/tests/7492eb8@@test_utils@exe/test-utils.c.o > 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 > ../subprojects/spice-common/tests/test-utils.c: In function ‘main’: > ../subprojects/spice-common/tests/test-utils.c:29:5: error: implicit > declaration of function ‘memset’ [-Werror=implicit-function-declaration] > memset(bytes, 0, sizeof(bytes)); > ^~~~~~ > ../subprojects/spice-common/tests/test-utils.c:29:5: error: incompatible > implicit declaration of built-in function ‘memset’ [-Werror] > ../subprojects/spice-common/tests/test-utils.c:29:5: note: include > ‘<string.h>’ or provide a declaration of ‘memset’ > cc1: all warnings being treated as errors > [17/56] Generating client_marshallers with a custom command > Wrote subprojects/spice-common/common/generated_client_marshallers.c > Wrote subprojects/spice-common/common/generated_client_marshallers.h > [19/56] Compiling C object > 'subprojects/spice-common/common/4ed40af@@spice-common@sta/rop3.c.o' > ninja: build stopped: subcommand failed. Thanks, https://gitlab.freedesktop.org/spice/spice-common/-/merge_requests/33 Frediano _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel