From 917da8959814f7de50f7f1cfe5e8228f40c987b3 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Tue, 31 Oct 2017 15:45:16 +0100 Subject: [PATCH] Disable some MSVC warnings Disable "possible loss of data" warnings when casting 64-bit to smaller types. --- win32/Makefile.msvc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/Makefile.msvc b/win32/Makefile.msvc index 5ff7476a..a6d57a12 100644 --- a/win32/Makefile.msvc +++ b/win32/Makefile.msvc @@ -51,7 +51,7 @@ CPPFLAGS = /nologo # The compiler and its options. CC = cl.exe -CFLAGS = /nologo /D "_WINDOWS" /D "_MBCS" /W3 $(CRUNTIME) /D "_REENTRANT" +CFLAGS = /nologo /D "_WINDOWS" /D "_MBCS" /W3 /wd4244 /wd4267 $(CRUNTIME) /D "_REENTRANT" CFLAGS = $(CFLAGS) /I$(BASEDIR) /I$(XSLT_SRCDIR) /I$(INCPREFIX) CFLAGS = $(CFLAGS) /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE