From da8237725628a0f1dfa42d1459d4c9c688117fc2 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Tue, 24 Apr 2018 00:30:12 -0700 Subject: [PATCH] Turned off more VS 2017 15.7 warnings --- DirectXTex/DirectXTexP.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DirectXTex/DirectXTexP.h b/DirectXTex/DirectXTexP.h index e9532e6..47abf78 100644 --- a/DirectXTex/DirectXTexP.h +++ b/DirectXTex/DirectXTexP.h @@ -20,7 +20,7 @@ // C4640 construction of local static object is not thread-safe // Off by default warnings -#pragma warning(disable : 4061 4265 4365 4571 4623 4625 4626 4628 4668 4710 4711 4746 4774 4820 4987 5026 5027 5031 5032 5039) +#pragma warning(disable : 4061 4265 4365 4571 4623 4625 4626 4628 4668 4710 4711 4746 4774 4820 4987 5026 5027 5031 5032 5039 5045) // C4061 enumerator 'X' in switch of enum 'X' is not explicitly handled by a case label // C4265 class has virtual functions, but destructor is not virtual // C4365 signed/unsigned mismatch @@ -40,6 +40,7 @@ // C5027 move assignment operator was implicitly defined as deleted // C5031/5032 push/pop mismatches in windows headers // C5039 pointer or reference to potentially throwing function passed to extern C function under - EHc +// C5045 Spectre mitigation warning // Windows 8.1 SDK related Off by default warnings #pragma warning(disable : 4471 4917 4986 5029)