| Summary: | missing-field-initializer warning - SDL_waylandvideo.c | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Martin Gerhardy <martin.gerhardy> |
| Component: | build | Assignee: | Brandon Schaefer <brandontschaefer> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | brandontschaefer |
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | All | ||
Gabriel, are you the right person to look at Wayland bugs? I can look at wayland bugs from time to time as well. This is a simpler fix, though the functions still need to be implemented! Committed (ignore the files I did not mean to commit....), just SDL_waylandvideo and SDL_waylandevent: https://hg.libsdl.org/SDL/rev/2603f41d6a7e |
/home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylandvideo.c:348:1: warning: missing initializer for field ‘global_remove’ of ‘const struct wl_registry_listener’ [-Wmissing-field-initializers] }; ^ In file included from /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylanddyn.h:102:0, from /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylandtouch.h:33, from /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylandvideo.c:36: /home/mgerhardy/dev/engine/build/Debug/contrib/libs/sdl2/wayland-generated-protocols/wayland-client-protocol.h:1009:9: note: ‘global_remove’ declared here void (*global_remove)(void *data, ^~~~~~~~~~~~~ /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylandevents.c:369:1: warning: missing initializer for field ‘frame’ of ‘const struct wl_pointer_listener’ [-Wmissing-field-initializers] }; ^ In file included from /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylanddyn.h:102:0, from /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylandevents.c:39: /home/mgerhardy/dev/engine/build/Debug/contrib/libs/sdl2/wayland-generated-protocols/wayland-client-protocol.h:4217:9: note: ‘frame’ declared here void (*frame)(void *data, ^~~~~ /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylandevents.c:432:1: warning: missing initializer for field ‘shape’ of ‘const struct wl_touch_listener’ [-Wmissing-field-initializers] }; ^ In file included from /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylanddyn.h:102:0, from /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylandevents.c:39: /home/mgerhardy/dev/engine/build/Debug/contrib/libs/sdl2/wayland-generated-protocols/wayland-client-protocol.h:4813:9: note: ‘shape’ declared here void (*shape)(void *data, ^~~~~ /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylandevents.c:567:1: warning: missing initializer for field ‘repeat_info’ of ‘const struct wl_keyboard_listener’ [-Wmissing-field-initializers] }; ^ In file included from /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylanddyn.h:102:0, from /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylandevents.c:39: /home/mgerhardy/dev/engine/build/Debug/contrib/libs/sdl2/wayland-generated-protocols/wayland-client-protocol.h:4608:9: note: ‘repeat_info’ declared here void (*repeat_info)(void *data, ^~~~~~~~~~~ /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylandevents.c:611:1: warning: missing initializer for field ‘name’ of ‘const struct wl_seat_listener’ [-Wmissing-field-initializers] }; ^ In file included from /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylanddyn.h:102:0, from /home/mgerhardy/dev/engine/contrib/libs/sdl2/src/video/wayland/SDL_waylandevents.c:39: /home/mgerhardy/dev/engine/build/Debug/contrib/libs/sdl2/wayland-generated-protocols/wayland-client-protocol.h:3814:9: note: ‘name’ declared here void (*name)(void *data, ^~~~