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)