Skip to content

build error with --disable-wayland-shared #4636

@sezero

Description

@sezero
src/video/wayland/SDL_waylandsym.h: In function 'SDL_WAYLAND_LoadSymbols':
src/video/wayland/SDL_waylandsym.h:77:23: error: 'wl_proxy_set_tag' undeclared (first use in this function); did you mean 'wl_proxy_get_id'?
 SDL_WAYLAND_SYM(void, wl_proxy_set_tag, (struct wl_proxy *, const char * const *))
                       ^
src/video/wayland/SDL_waylanddyn.c:164:54: note: in definition of macro 'SDL_WAYLAND_SYM'
 #define SDL_WAYLAND_SYM(rc,fn,params) WAYLAND_##fn = fn;
                                                      ^~
src/video/wayland/SDL_waylandsym.h:77:23: note: each undeclared identifier is reported only once for each function it appears in
 SDL_WAYLAND_SYM(void, wl_proxy_set_tag, (struct wl_proxy *, const char * const *))
                       ^
src/video/wayland/SDL_waylanddyn.c:164:54: note: in definition of macro 'SDL_WAYLAND_SYM'
 #define SDL_WAYLAND_SYM(rc,fn,params) WAYLAND_##fn = fn;
                                                      ^~
src/video/wayland/SDL_waylandsym.h:78:39: error: 'wl_proxy_get_tag' undeclared (first use in this function); did you mean 'wl_proxy_set_tag'?
 SDL_WAYLAND_SYM(const char * const *, wl_proxy_get_tag, (struct wl_proxy *))
                                       ^
src/video/wayland/SDL_waylanddyn.c:164:54: note: in definition of macro 'SDL_WAYLAND_SYM'
 #define SDL_WAYLAND_SYM(rc,fn,params) WAYLAND_##fn = fn;
                                                      ^~
make: *** [Makefile:698: build/SDL_waylanddyn.lo] Error 1
src/video/wayland/SDL_waylandvideo.c: In function 'SDL_WAYLAND_register_surface':
src/video/wayland/SDL_waylandvideo.c:137:9: warning: implicit declaration of function 'wl_proxy_set_tag'; did you mean 'wl_proxy_get_id'? [-Wimplicit-function-declaration]
         wl_proxy_set_tag((struct wl_proxy *)surface, &SDL_WAYLAND_surface_tag);
         ^~~~~~~~~~~~~~~~
         wl_proxy_get_id
src/video/wayland/SDL_waylandvideo.c: In function 'SDL_WAYLAND_own_surface':
src/video/wayland/SDL_waylandvideo.c:151:16: warning: implicit declaration of function 'wl_proxy_get_tag'; did you mean 'wl_proxy_get_id'? [-Wimplicit-function-declaration]
         return wl_proxy_get_tag((struct wl_proxy *) surface) == &SDL_WAYLAND_surface_tag;
                ^~~~~~~~~~~~~~~~
                wl_proxy_get_id
src/video/wayland/SDL_waylandvideo.c:151:62: warning: comparison between pointer and integer
         return wl_proxy_get_tag((struct wl_proxy *) surface) == &SDL_WAYLAND_surface_tag;
                                                              ^~
src/video/wayland/SDL_waylandvideo.c: In function 'SDL_WAYLAND_own_output':
src/video/wayland/SDL_waylandvideo.c:159:61: warning: comparison between pointer and integer
         return wl_proxy_get_tag((struct wl_proxy *) output) == &SDL_WAYLAND_output_tag;
                                                             ^~

Metadata

Metadata

Assignees

Labels

notourbugThis bug is caused by an external componentwontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions