Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build with wlroots master #89

Closed
jbeich opened this issue Nov 25, 2019 · 4 comments
Closed

Fails to build with wlroots master #89

jbeich opened this issue Nov 25, 2019 · 4 comments

Comments

@jbeich
Copy link
Contributor

jbeich commented Nov 25, 2019

Regressed by swaywm/wlroots@5cde35923caf

../cage.c:395:2: error: implicit declaration of function 'wlr_xdg_output_manager_v1_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        wlr_xdg_output_manager_v1_destroy(output_manager);
        ^
../cage.c:395:2: note: did you mean 'wlr_xdg_output_manager_v1_create'?
/usr/local/include/wlr/types/wlr_xdg_output_v1.h:43:35: note: 'wlr_xdg_output_manager_v1_create' declared here
struct wlr_xdg_output_manager_v1 *wlr_xdg_output_manager_v1_create(
                                  ^
../cage.c:396:2: error: implicit declaration of function 'wlr_screencopy_manager_v1_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        wlr_screencopy_manager_v1_destroy(screencopy_manager);
        ^
../cage.c:396:2: note: did you mean 'wlr_screencopy_manager_v1_create'?
/usr/local/include/wlr/types/wlr_screencopy_v1.h:59:35: note: 'wlr_screencopy_manager_v1_create' declared here
struct wlr_screencopy_manager_v1 *wlr_screencopy_manager_v1_create(
                                  ^
../cage.c:397:2: error: implicit declaration of function 'wlr_server_decoration_manager_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        wlr_server_decoration_manager_destroy(server_decoration_manager);
        ^
../cage.c:397:2: note: did you mean 'wlr_server_decoration_manager_create'?
/usr/local/include/wlr/types/wlr_server_decoration.h:79:39: note: 'wlr_server_decoration_manager_create' declared here
struct wlr_server_decoration_manager *wlr_server_decoration_manager_create(
                                      ^
../cage.c:398:2: error: implicit declaration of function 'wlr_xdg_decoration_manager_v1_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        wlr_xdg_decoration_manager_v1_destroy(xdg_decoration_manager);
        ^
../cage.c:398:2: note: did you mean 'wlr_xdg_decoration_manager_v1_create'?
/usr/local/include/wlr/types/wlr_xdg_decoration_v1.h:60:2: note: 'wlr_xdg_decoration_manager_v1_create' declared here
        wlr_xdg_decoration_manager_v1_create(struct wl_display *display);
        ^
../cage.c:399:2: error: implicit declaration of function 'wlr_xdg_shell_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        wlr_xdg_shell_destroy(xdg_shell);
        ^
../cage.c:399:2: note: did you mean 'wlr_xdg_popup_destroy'?
/usr/local/include/wlr/types/wlr_xdg_shell.h:311:6: note: 'wlr_xdg_popup_destroy' declared here
void wlr_xdg_popup_destroy(struct wlr_xdg_surface *surface);
     ^
../cage.c:400:2: error: implicit declaration of function 'wlr_idle_inhibit_v1_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        wlr_idle_inhibit_v1_destroy(server.idle_inhibit_v1);
        ^
../cage.c:400:2: note: did you mean 'wlr_idle_inhibit_v1_create'?
/usr/local/include/wlr/types/wlr_idle_inhibit_v1.h:54:37: note: 'wlr_idle_inhibit_v1_create' declared here
struct wlr_idle_inhibit_manager_v1 *wlr_idle_inhibit_v1_create(struct wl_display *display);
                                    ^
../cage.c:402:3: error: implicit declaration of function 'wlr_idle_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                wlr_idle_destroy(server.idle);
                ^
../cage.c:402:3: note: did you mean 'wlr_seat_destroy'?
/usr/local/include/wlr/types/wlr_seat.h:315:6: note: 'wlr_seat_destroy' declared here
void wlr_seat_destroy(struct wlr_seat *wlr_seat);
     ^
../cage.c:404:2: error: implicit declaration of function 'wlr_data_device_manager_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        wlr_data_device_manager_destroy(data_device_mgr);
        ^
../cage.c:404:2: note: did you mean 'wlr_data_device_manager_create'?
/usr/local/include/wlr/types/wlr_data_device.h:161:33: note: 'wlr_data_device_manager_create' declared here
struct wlr_data_device_manager *wlr_data_device_manager_create(
                                ^
../cage.c:405:2: error: implicit declaration of function 'wlr_compositor_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        wlr_compositor_destroy(compositor);
        ^
9 errors generated.
@Hjdskes
Copy link
Collaborator

Hjdskes commented Dec 14, 2019

Hi @jbeich, thanks for reporting. Cage follows the latest wlroots tag, although I haven't gotten around to updating it to 0.8.1 yet. I hope to do that over the Christmas break :)

@Hjdskes
Copy link
Collaborator

Hjdskes commented Dec 18, 2019

This is fixed by #90

@Hjdskes Hjdskes closed this as completed Dec 18, 2019
@ainola
Copy link

ainola commented Jan 2, 2020

No rush, but FYI wlroots 0.9.0 has recently been officially released.

@Hjdskes
Copy link
Collaborator

Hjdskes commented Jan 5, 2020

I'm aware, I'll finish the current rendering rewrite and then update to 0.9.0, or the new point release that will be made to include the bug fix Wayland sessions.

algitbot pushed a commit to alpinelinux/aports that referenced this issue Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants