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 Clang #47

Open
jbeich opened this issue Dec 20, 2021 · 2 comments
Open

Fails to build with Clang #47

jbeich opened this issue Dec 20, 2021 · 2 comments

Comments

@jbeich
Copy link

jbeich commented Dec 20, 2021

$ export CXX=clang++
$ meson setup _build
$ meson compile -C _build
[...]
In file included from ../dbus_interface.cpp:43:
../dbus_interface_backend.cpp:1116:34: error: 'core' cannot be captured because it does not have automatic storage duration
            idle_call->run_once([core, idle_call] ()
                                 ^
../dbus_interface_backend.cpp:51:24: note: 'core' declared here
wf::compositor_core_t& core = wf::get_core();
                       ^
@chm46e
Copy link

chm46e commented Aug 16, 2022

Did you find a fix? I'm running into the same issue..

@jbeich
Copy link
Author

jbeich commented Aug 20, 2022

See downstream workaround

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

2 participants