mdbx-tools: more fix MSVC warnings.

Change-Id: Ib5f78a89fea09dc78d4922519eab6eaed4b1a7e6
This commit is contained in:
Leo Yuriev
2017-07-21 16:36:18 +03:00
parent 63af619080
commit c5d1384c64
6 changed files with 43 additions and 10 deletions

View File

@@ -18,7 +18,14 @@
#pragma warning(disable : 4464) /* relative include path contains '..' */
#endif
#pragma warning(disable : 4996) /* The POSIX name is deprecated... */
#endif /* _MSC_VER */
#if _MSC_VER == 1900
/* LY: MSVC 2015 has buggy/inconsistent PRIuPTR/PRIxPTR macros and format-arg
checker for size_t typedef. */
#pragma warning(disable : 4777) /* format string '%10u' requires an argument \
of type 'unsigned int', but variadic \
argument 1 has type 'std::size_t' */
#endif
#endif /* _MSC_VER (warnings) */
#include "../bits.h"