diff --git a/src/bits.h b/src/bits.h index 12f2e0d0..ea8e2731 100644 --- a/src/bits.h +++ b/src/bits.h @@ -45,6 +45,9 @@ #if _MSC_VER > 1800 # pragma warning(disable : 4464) /* relative include path contains '..' */ #endif +#if _MSC_VER > 1913 +# pragma warning(disable : 5045) /* Compiler will insert Spectre mitigation... */ +#endif #pragma warning(disable : 4710) /* 'xyz': function not inlined */ #pragma warning(disable : 4711) /* function 'xyz' selected for automatic inline expansion */ #pragma warning(disable : 4201) /* nonstandard extension used : nameless struct / union */