`modules/input/text-input-unstable-v3-client-protocol.h:557:99: error: ‘WL_MARSHAL_FLAG_DESTROY’ undeclared (first use in this function)`
Trying to build GTK 3.24.34 fails with the error below:
[…]
CCLD im-thai.la
/dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/text-input-unstable-v3-client-protocol.h:557:99: error: ‘WL_MARSHAL_FLAG_DESTROY’ undeclared (first use in this function)
557 | ZWP_TEXT_INPUT_V3_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) zwp_text_input_v3), WL_MARSHAL_FLAG_DESTROY);
| ^~~~~~~~~~~~~~~~~~~~~~~
/dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/text-input-unstable-v3-client-protocol.h:557:99: note: each undeclared identifier is reported only once for each function it appears in
CCLD im-multipress.la
/dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/gtk-text-input-client-protocol.h:505:93: error: ‘WL_MARSHAL_FLAG_DESTROY’ undeclared (first use in this function)
505 | GTK_TEXT_INPUT_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) gtk_text_input), WL_MARSHAL_FLAG_DESTROY);
| ^~~~~~~~~~~~~~~~~~~~~~~
/dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/gtk-text-input-client-protocol.h:505:93: note: each undeclared identifier is reported only once for each function it appears in
CCLD im-ti-et.la
In file included from /dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/imwayland.c:29:
/dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/text-input-unstable-v3-client-protocol.h: In function ‘zwp_text_input_manager_v3_destroy’:
/dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/text-input-unstable-v3-client-protocol.h:809:115: error: ‘WL_MARSHAL_FLAG_DESTROY’ undeclared (first use in this function)
809 | ZWP_TEXT_INPUT_MANAGER_V3_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) zwp_text_input_manager_v3), WL_MARSHAL_FLAG_DESTROY);
| ^~~~~~~~~~~~~~~~~~~~~~~
/dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/text-input-unstable-v3-client-protocol.h: In function ‘zwp_text_input_manager_v3_get_text_input’:
/dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/text-input-unstable-v3-client-protocol.h:822:5: warning: assignment to ‘struct wl_proxy *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
822 | id = wl_proxy_marshal_flags((struct wl_proxy *) zwp_text_input_manager_v3,
| ^
In file included from /dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/imwaylandgtk.c:28:
/dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/gtk-text-input-client-protocol.h: In function ‘gtk_text_input_manager_destroy’:
/dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/gtk-text-input-client-protocol.h:656:109: error: ‘WL_MARSHAL_FLAG_DESTROY’ undeclared (first use in this function)
656 | GTK_TEXT_INPUT_MANAGER_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) gtk_text_input_manager), WL_MARSHAL_FLAG_DESTROY);
| ^~~~~~~~~~~~~~~~~~~~~~~
/dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/gtk-text-input-client-protocol.h: In function ‘gtk_text_input_manager_get_text_input’:
/dev/shm/bee-build/gtk3/gtk3-3.24.34-0/source/modules/input/gtk-text-input-client-protocol.h:669:5: warning: assignment to ‘struct wl_proxy *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
We are using wayland 1.19.0 and wayland-protocols 1.25.