Skip to content

Conversation

@ednolan
Copy link
Member

@ednolan ednolan commented Mar 16, 2025

Clang/libstdc++ won't build currently.

@ednolan ednolan requested review from a team and RaduNichita March 16, 2025 22:56
Clang/libstdc++ won't build currently.
@ednolan ednolan force-pushed the enolan_clang20ci1 branch from db4df2c to 0182210 Compare March 16, 2025 22:57
@ednolan ednolan merged commit b9ce389 into main Mar 16, 2025
5 checks passed
@ednolan ednolan deleted the enolan_clang20ci1 branch March 16, 2025 22:58
@coveralls
Copy link

Pull Request Test Coverage Report for Build 13888214314

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 13886727097: 0.0%
Covered Lines: 454
Relevant Lines: 454

💛 - Coveralls

@jwakely
Copy link
Collaborator

jwakely commented Mar 18, 2025

What doesn't build? I know clang++ 19 with libstdc++ fails, because std::bind_back requires __cpp_explicit_this_parameter, which isn't defined until clang 20.

Is it the non-constexpr error for _M_unex being uninitialized?

@ednolan
Copy link
Member Author

ednolan commented Mar 18, 2025

I know clang++ 19 with libstdc++ fails, because std::bind_back requires __cpp_explicit_this_parameter, which isn't defined until clang 20.

Yes

Is it the non-constexpr error for _M_unex being uninitialized?

That one shows up in Clang 19 but not Clang 20. The real reason that Clang 20/libstdc++ fails is that it complains that error: function 'forward_like</*...*/>' with deduced return type cannot be used before it is defined, which I believe may already be fixed with libstdc++ trunk.

Sadly, it's all about to be moot, because I'm going to have to drop support for Clang entirely due to llvm/llvm-project#126489.

@jwakely
Copy link
Collaborator

jwakely commented Mar 18, 2025

I see, thanks. I wanted to make sure there isn't something I should be fixing (or working around) in libstdc++.

which I believe may already be fixed with libstdc++ trunk.

Yes, trunk and the gcc-14 branch, so it will be fixed for 14.3 and 15.1, both due to be released in the next few months. But that's not much help right now.

Especially with the other deduction guide problem.

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.

4 participants