Skip to content

CI: test against VS2022 (v143) and VS2026 (v145) in parallel#1573

Open
Copilot wants to merge 3 commits intomasterfrom
copilot/test-ci-windows-parallel
Open

CI: test against VS2022 (v143) and VS2026 (v145) in parallel#1573
Copilot wants to merge 3 commits intomasterfrom
copilot/test-ci-windows-parallel

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 21, 2026

  • Investigate CI failures: all 18 failures are clang-cl + Debug + v145 — newer Clang treats memset on non-trivially-copyable types as a hard error
  • Fix #ifdef _MSC_VER#if defined(_MSC_VER) && !defined(__clang__) in strings/base_array.h so clang-cl uses the safe member-assignment path
  • Run validation (code review passed, CodeQL timed out)

Copilot AI and others added 2 commits April 21, 2026 00:36
…:detach_abi

Clang 19+ (VS2026/v145) treats memset on non-trivially-copyable types as a
hard error. clang-cl defines _MSC_VER, so it was taking the memset workaround
path meant only for MSVC. Guard with !defined(__clang__) so clang-cl uses the
safe member-assignment branch instead.

Agent-Logs-Url: https://github.com/microsoft/cppwinrt/sessions/d433cd66-3565-4257-9c9d-23ec477f8c4d

Co-authored-by: DefaultRyan <26174284+DefaultRyan@users.noreply.github.com>
@DefaultRyan DefaultRyan marked this pull request as ready for review April 21, 2026 23:17
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.

2 participants