Skip to content

Conversation

jkoritzinsky
Copy link
Member

Fix errors from building with clang-20.

The issues were:

  • Using memcpy with non-trivial structs became warn-as-error.
  • our "safe to return" pattern breaks in constexpr in C++11 mode and clang-20 updated their intrinsics headers to make intrinsics constexpr. Include the intrinsics headers before we ever include debugreturn.h

@jkoritzinsky
Copy link
Member Author

/ba-g timeouts unrelated

@jkoritzinsky jkoritzinsky merged commit 80367bf into dotnet:main Nov 13, 2024
145 of 148 checks passed
@jkoritzinsky jkoritzinsky deleted the clang-20 branch November 13, 2024 03:26
mikelle-rogers pushed a commit to mikelle-rogers/runtime that referenced this pull request Dec 10, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants