From 135bead73024eee3a3e0cc6d1279be7dd3be1a36 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Thu, 30 Jul 2020 14:57:40 +0300 Subject: [PATCH] mdbx: disable warning C4204 for MSVC. Change-Id: Idf7246f5ee349294cea1ed15d69daa49e4dddedb --- src/internals.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/internals.h b/src/internals.h index 099c3f18..3e1f55f9 100644 --- a/src/internals.h +++ b/src/internals.h @@ -88,6 +88,7 @@ #pragma warning(disable : 4548) /* expression before comma has no effect; expected expression with side - effect */ #pragma warning(disable : 4366) /* the result of the unary '&' operator may be unaligned */ #pragma warning(disable : 4200) /* nonstandard extension used: zero-sized array in struct/union */ +#pragma warning(disable : 4204) /* nonstandard extension used: non-constant aggregate initializer */ #endif /* _MSC_VER (warnings) */ #if defined(MDBX_TOOLS)