[release/10.0] clang-21 on macos fixes#126319
Open
github-actions[bot] wants to merge 9 commits intorelease/10.0from
Open
[release/10.0] clang-21 on macos fixes#126319github-actions[bot] wants to merge 9 commits intorelease/10.0from
github-actions[bot] wants to merge 9 commits intorelease/10.0from
Conversation
Addresses various build failures when compiling with the latest Xcode. ``` % clang --version Apple clang version 21.0.0 (clang-2100.0.123.102) Target: arm64-apple-darwin25.4.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ```
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…meter type in SSLSetALPNProtocol
…acceptableIssuers in AppleCryptoNative_NwConnectionCreate
…geLength in SwiftErrorHandling
Contributor
|
Tagging subscribers to this area: @agocke |
akoeplinger
approved these changes
Mar 30, 2026
jkotas
approved these changes
Mar 30, 2026
am11
approved these changes
Mar 30, 2026
This was referenced Mar 30, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #126235 to release/10.0
/cc @AaronRobinsonMSFT
Customer Impact
Updating Xcode moved to clang 21 and introduced some breaking changes during compilation of C and Swift sources.
Customer mention #119706 (comment)
Clang 21 changes for
-Wc++-keyword- https://releases.llvm.org/21.1.0/tools/clang/docs/ReleaseNotes.html#id11Partially related unicode-org/icu#2913
Regression
This is not a dotnet/runtime regression.
Testing
Infrastructure changes (that is, tool chain). All tests pass.
Risk
Low.