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

Can't build against WLRoots 0.16.2 #35

Closed
vanfanel opened this issue Feb 19, 2023 · 1 comment
Closed

Can't build against WLRoots 0.16.2 #35

vanfanel opened this issue Feb 19, 2023 · 1 comment

Comments

@vanfanel
Copy link

Hi there,

Trying to build against WLRoots 0.16.2, I see this:


../waybox/xdg_shell.c: In function ‘focus_view’:
../waybox/xdg_shell.c:76:4: error: ‘previous’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   76 |    wlr_xdg_toplevel_set_activated(previous->toplevel, false);

Is this a known problem?

@keithbowes
Copy link
Collaborator

Thanks. No, it wasn't known. I didn't realize that such innocuous code that compiles fine with GCC would cause an error with Clang. I did update the build manifests to build with both GCC and Clang to hopefully avoid this situation in the future.

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