[libxslt] Disable some MSVC warnings



commit 917da8959814f7de50f7f1cfe5e8228f40c987b3
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Tue Oct 31 15:45:16 2017 +0100

    Disable some MSVC warnings
    
    Disable "possible loss of data" warnings when casting 64-bit to smaller
    types.

 win32/Makefile.msvc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/win32/Makefile.msvc b/win32/Makefile.msvc
index 5ff7476..a6d57a1 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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]