diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2017-10-09 02:39:16 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2017-10-09 16:52:34 +0200 |
commit | 25499fc2295d0a2844b6b1fb356ce4c46363216b (patch) | |
tree | 43219a895237ef3c84f3d179cdfb8043c94c0fb2 /win32 | |
parent | 6472dfe337f8cc81c68ce903b81d7ec8a321369d (diff) | |
download | libxml2-25499fc2295d0a2844b6b1fb356ce4c46363216b.tar.gz |
Increase warning level to /W3 under MSVC
With the exception of timsort.h and warnings 4244 and 4267, the MSVC
build is now warnings-free with /W3.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.msvc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/Makefile.msvc b/win32/Makefile.msvc index bb7fa4a6..115a4517 100644 --- a/win32/Makefile.msvc +++ b/win32/Makefile.msvc @@ -43,7 +43,7 @@ CPPFLAGS = $(CPPFLAGS) /D "_REENTRANT" # The compiler and its options. CC = cl.exe -CFLAGS = /nologo /D "_WINDOWS" /D "_MBCS" /D "NOLIBTOOL" /W1 $(CRUNTIME) +CFLAGS = /nologo /D "_WINDOWS" /D "_MBCS" /D "NOLIBTOOL" /W3 /wd4244 /wd4267 $(CRUNTIME) CFLAGS = $(CFLAGS) /I$(XML_SRCDIR) /I$(XML_SRCDIR)\include /I$(INCPREFIX) !if "$(WITH_THREADS)" != "no" CFLAGS = $(CFLAGS) /D "_REENTRANT" |