From 56bb43c26525983c2d41cb55c327cc3f97e08c29 Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Mon, 8 Jun 2026 18:30:52 -0500 Subject: [PATCH] chore: upgrade gsl to 4.2.2 (#20306) GSL 4.2.2 contains a fix for a warning (in GSL itself, natch!) that was making MSVC quite upset with us. --- OpenConsole.slnx | 11 ----------- src/inc/LibraryIncludes.h | 5 ++--- src/renderer/atlas/pch.h | 3 ++- vcpkg.json | 4 ++-- 4 files changed, 6 insertions(+), 17 deletions(-) diff --git a/OpenConsole.slnx b/OpenConsole.slnx index 6867f9ee75..9dff529afa 100644 --- a/OpenConsole.slnx +++ b/OpenConsole.slnx @@ -860,17 +860,6 @@ - - - - - - - - - - - diff --git a/src/inc/LibraryIncludes.h b/src/inc/LibraryIncludes.h index 728246e1c9..18ad9c6c8c 100644 --- a/src/inc/LibraryIncludes.h +++ b/src/inc/LibraryIncludes.h @@ -63,9 +63,8 @@ #include // GSL -// Block GSL Multi Span include because it both has C++17 deprecated iterators -// and uses the C-namespaced "max" which conflicts with Windows definitions. -#include +#include +#include #include // CppCoreCheck diff --git a/src/renderer/atlas/pch.h b/src/renderer/atlas/pch.h index 9d5bc66515..e4a1970d0e 100644 --- a/src/renderer/atlas/pch.h +++ b/src/renderer/atlas/pch.h @@ -30,7 +30,8 @@ #include #include -#include +#include +#include #include #include #include diff --git a/vcpkg.json b/vcpkg.json index 72e362ff65..2a1afa2527 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -21,7 +21,7 @@ }, { "name": "ms-gsl", - "version": "3.1.0" + "version": "4.2.2" }, { "name": "jsoncpp", @@ -36,7 +36,7 @@ "version": "0.31.1" } ], - "builtin-baseline": "15e5f3820f0370f1ba7150853762cec0688cd396", + "builtin-baseline": "927f62e4b8838bd7e441e9c45103a16ffd75007e", "vcpkg-configuration": { "overlay-triplets": [ "./dep/vcpkg-overlay-triplets"