mdbx: disable C4548 as workaround for buggy WinSDK 10.0.10240.0

This commit is contained in:
Leo Yuriev 2017-07-03 12:50:48 +03:00
parent 78ae12aa10
commit 3c5ae4cc9c
3 changed files with 5 additions and 0 deletions

2
mdbx.h
View File

@ -53,6 +53,8 @@
#ifdef _MSC_VER
#pragma warning(push, 1)
#pragma warning(disable : 4548) /* expression before comma has no effect; \
expected expression with side - effect */
#pragma warning(disable : 4530) /* C++ exception handler used, but unwind \
* semantics are not enabled. Specify /EHsc */
#pragma warning(disable : 4577) /* 'noexcept' used with no exception handling \

View File

@ -53,6 +53,7 @@
#pragma warning(disable : 4324) /* 'xyz': structure was padded due to alignment specifier */
#pragma warning(disable : 4310) /* cast truncates constant value */
#pragma warning(disable : 4820) /* bytes padding added after data member for aligment */
#pragma warning(disable : 4548) /* expression before comma has no effect; expected expression with side - effect */
#endif /* _MSC_VER (warnings) */
#include "../mdbx.h"

View File

@ -21,6 +21,8 @@
#ifdef _MSC_VER
#pragma warning(push, 1)
#pragma warning(disable : 4548) /* expression before comma has no effect; \
expected expression with side - effect */
#pragma warning(disable : 4530) /* C++ exception handler used, but unwind \
* semantics are not enabled. Specify /EHsc */
#pragma warning(disable : 4577) /* 'noexcept' used with no exception handling \