Commit 0abfe25
Bump GSL to v4.2.2 to fix MSVC C4875 on VS2026 toolset
arcana.cpp pins GSL v4.0.0, whose GSL_SUPPRESS macro expands to a bare
identifier [[gsl::suppress(x)]] on MSVC. The VS2026 runner image
(_MSC_VER >= 1950) emits C4875 for that form (non-string-literal argument
to [[gsl::suppress]] is deprecated), and our /WX builds promote it to an
error, breaking every Windows/UWP target.
GSL v4.2.2 switches to the string-literal form for _MSC_VER >= 1950, which
the new toolset accepts. Override the transitive pin here (FetchContent is
first-declaration-wins) so the fixed release is used.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5449381 commit 0abfe25
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
35 | 43 | | |
36 | 44 | | |
37 | 45 | | |
| |||
0 commit comments