From ffafd5be101aeb70b17bc4dcfcfe868cb8fb01c7 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Mon, 21 May 2018 16:31:36 +0300 Subject: [PATCH] mdbx: disable warning #5045 for MSVC (minor). --- src/bits.h | 3 +++ 1 file changed, 3 insertions(+) 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 */