-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Unbreak build with libc++ #73
Conversation
src/renderer/AsyncResourceGatherer.cpp:98:22: error: no viable overloaded '+=' 98 | progress += 1.0 / (preloads + 1.0); | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ src/renderer/widgets/IWidget.cpp:41:44: error: no member named 'current_zone' in namespace 'std::chrono' 41 | const auto current_zone = std::chrono::current_zone(); | ~~~~~~~~~~~~~^
I will try llvm 18 sortly with and without this PR. Would be good to add your patch in the guru ebuild. (My gentoo machine is still compiling the llvm stack) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
You merge it after doing the test on my machine :). Seems to compile just fine, just need to check if all feature work well and then I can close my issue as well |
Ok scratch what I said above I still have gcc set and dint notice.
My CXXFLAGS:
|
Ok I found the fix one file require: |
src/config/ConfigManager.cpp:91:6: error: no type named 'mutex' in namespace 'std' 91 | std::mutex configMtx; | ~~~~~^ src/config/ConfigManager.cpp:94:10: error: no member named 'lock_guard' in namespace 'std' 94 | std::lock_guard<std::mutex> lg(configMtx); | ~~~~~^ /var/tmp/portage/gui-apps/hyprlock-9999/work/hyprlock-9999/src/config/ConfigManager.cpp:94:26: error: no member named 'mutex' in namespace 'std' 94 | std::lock_guard<std::mutex> lg(configMtx); | ~~~~~^ Complete what is missing in hyprwm#73 Signed-off-by: Gonçalo Negrier Duarte <[email protected]>
Fixes #70. Tested with Clang/libc++ 17
current_zone