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

Clang can't compile newest version #1808

Closed
Arisa-Snowbell opened this issue Mar 17, 2023 · 1 comment
Closed

Clang can't compile newest version #1808

Arisa-Snowbell opened this issue Mar 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Arisa-Snowbell
Copy link
Contributor

Arisa-Snowbell commented Mar 17, 2023

Hey, i am unable to compile it with clang but I really don't understand the errors, it looks like clang problem because it can't compile ranges and some iterators from the std lib or something, i have no idea

i found this issue on the llvm project
llvm/llvm-project#52696

FAILED: CMakeFiles/Hyprland.dir/src/Compositor.cpp.o

/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1/bits/iterator_concepts.h:999:13: error: no matchin
g function for call to '__begin'
        = decltype(ranges::__cust_access::__begin(std::declval<_Tp&>()));
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

looks like clang problem to me so if you don't want to fix it on your side by not using these C++20 features I understand and you can close this issue

clang --version

clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
@Arisa-Snowbell Arisa-Snowbell added the bug Something isn't working label Mar 17, 2023
@vaxerski
Copy link
Member

it's very much a clang bug. We officially support gcc only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants