summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/makefile.vc4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index d6de5e1..26ee669 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -482,7 +482,9 @@ cdebug = $(cdebug) -Zi
### Warnings are too many, can't support warnings into errors.
cdebug = -Zi -Od $(DEBUGFLAGS)
!else
-cdebug = -Zi -WX $(DEBUGFLAGS)
+# no -WX option here (error C2220: warning treated as error):
+#cdebug = -Zi -WX $(DEBUGFLAGS)
+cdebug = -Zi $(DEBUGFLAGS)
!endif
### Declarations common to all compiler options