Skip to content

api: add missing headers to geometry.hpp and signal-provider.hpp - #3147

Closed
outtersg wants to merge 1 commit into
WayfireWM:masterfrom
outtersg:master
Closed

outtersg wants to merge 1 commit into
WayfireWM:masterfrom
outtersg:master

Conversation

@outtersg

Copy link
Copy Markdown

Fix #3146 with the "obvious workaround".

Contrary to clang 22, clang 23 will complain as soon as on the .hpp
if it finds some uses of std::vector or std::floor without their
corresponding #include.

@ammen99 ammen99 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ammen99

ammen99 commented Oct 3, 2026

Copy link
Copy Markdown
Member

Seems like we are missing a couple other headers in the tests, would you mind fixing those as well?

@soreau

soreau commented Oct 18, 2026

Copy link
Copy Markdown
Member

The header missing for the tests was in wf-config. I've taken the liberty of sorting it all out in #3172 before I noticed this. Thanks for the pull request!

@soreau soreau closed this Oct 18, 2026
@outtersg

Copy link
Copy Markdown
Author

I had seen the failure occurring in wf-config, but I was unsure I wouldn't get a chicken-and-egg problem solving wf-config first; and additionally, as I started a new job, I wasn't keen on setting up a full chain on my PC… nor on blindly fixing and PRing wf-config, fearing that a fix on this first CI error could reveal a second error, then a third, and so on.

So thanks for having taken charge of it all (and providing an example on how to fix those correlated CIs)!

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

Successfully merging this pull request may close these issues.

[build failure] clang++ 23 not including <cmath> and <vector> by default

3 participants