winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3a5889b8070a0a4675c128495636ff9e6dac6084
parent a5c79b1d7bca7be6ab795f5d51bb3b30c0017a75
Author: JohnMcPMS <johnmcp@microsoft.com>
Date:   Wed, 24 May 2023 10:43:44 -0700

Fix new warning C26495 from wil header in VS 17.6 (#3266)


Diffstat:
Msrc/AppInstallerCommonCore/pch.h | 2+-
Msrc/AppInstallerRepositoryCore/pch.h | 2+-
Msrc/AppInstallerSharedLib/pch.h | 2+-
Msrc/WinGetUtil/pch.h | 3++-
4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/AppInstallerCommonCore/pch.h b/src/AppInstallerCommonCore/pch.h @@ -61,7 +61,7 @@ #include <vector> #pragma warning( push ) -#pragma warning ( disable : 6001 6285 6287 6340 6387 6388 26451 28196 ) +#pragma warning ( disable : 6001 6285 6287 6340 6387 6388 26451 26495 28196 ) #include <wil/resource.h> #include <wil/result.h> #include <wil/result_macros.h> diff --git a/src/AppInstallerRepositoryCore/pch.h b/src/AppInstallerRepositoryCore/pch.h @@ -12,7 +12,7 @@ #include <msi.h> #pragma warning( push ) -#pragma warning ( disable : 6001 6340 6387 6388 28196 ) +#pragma warning ( disable : 6001 6340 6387 6388 26495 28196 ) #include <wil/filesystem.h> #include <wil/resource.h> #include <wil/result.h> diff --git a/src/AppInstallerSharedLib/pch.h b/src/AppInstallerSharedLib/pch.h @@ -41,7 +41,7 @@ #include <vector> #pragma warning( push ) -#pragma warning ( disable : 6001 6285 6287 6340 6387 6388 28196 ) +#pragma warning ( disable : 6001 6285 6287 6340 6387 6388 26495 28196 ) #include <wil/resource.h> #include <wil/result.h> #include <wil/result_macros.h> diff --git a/src/WinGetUtil/pch.h b/src/WinGetUtil/pch.h @@ -6,9 +6,10 @@ #include <Windows.h> #pragma warning( push ) -#pragma warning ( disable : 6001 6340 6388 ) +#pragma warning ( disable : 6001 6340 6387 6388 26495 28196 ) #include <wil/result.h> #include <wil/result_macros.h> +#include <wil/filesystem.h> #pragma warning( pop ) #include <algorithm>