id = 1553 title = "Build error: implicit declaration of function 'qemu_close_to_socket'" state = "closed" created_at = "2023-03-22T07:17:26.185Z" closed_at = "2023-03-25T16:28:31.256Z" labels = ["GUI", "hostos: Windows", "spice", "workflow::Patch available"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1553" host-os = "Windows 10 22H2" host-arch = "x86" qemu-version = "7.2.91 (v7.2.0-2853-ged425905ee-dirty)" guest-os = "Any" guest-arch = "ARM" description = """When build the latest master code with MSYS2 on Windows 10, GCC reports: ../ui/spice-core.c: In function 'watch_remove': ../ui/spice-core.c:152:5: error: implicit declaration of function 'qemu_close_to_socket' [-Werror=implicit-function-declaration] 152 | qemu_close_to_socket(watch->fd); | ^~~~~~~~~~~~~~~~~~~~ ../ui/spice-core.c:152:5: error: nested extern declaration of 'qemu_close_to_socket' [-Werror=nested-externs]""" reproduce = """1. ./configure --enable-sdl --enable-gtk --target-list=arm-softmmu,aarch64-softmmu 2. cd build 3. make""" additional = "n/a"