aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2013-01-24 17:18:28 +0100
committerJay Berkenbilt <ejb@ql.org>2013-03-04 22:45:15 +0100
commita11081085b9db8ee40236d47849276db71ba0801 (patch)
tree223c305fdb53f87fdb5506cd781b1a5b091c73aa /make
parent32b62035ce9d5d07f7396cc50a0c38215f19c906 (diff)
downloadqpdf-a11081085b9db8ee40236d47849276db71ba0801.tar.zst
Handle warning flags better
Make --enable-werror work properly on msvc, handle extra warnings flags for msvc in configure.ac instead of hardcoding into make/msvc.mk, separate warnings flags into WFLAGS in autoconf.mk to avoid duplication and to make it easier to override.
Diffstat (limited to 'make')
-rw-r--r--make/msvc.mk10
1 files changed, 0 insertions, 10 deletions
diff --git a/make/msvc.mk b/make/msvc.mk
index 5f3f69ad..5e3bb570 100644
--- a/make/msvc.mk
+++ b/make/msvc.mk
@@ -19,16 +19,6 @@ endef
CFLAGS := $(filter-out -g,$(CFLAGS))
CXXFLAGS := $(filter-out -g,$(CXXFLAGS))
-# /WX makes all warnings errors.
-CFLAGS += /WX
-CXXFLAGS += /WX
-
-# /w14267 makes warning 4267 a level 1 warning. This warning reports
-# potential issues between size_t, off_t, and non-compatible integer
-# types.
-CFLAGS += /w14267
-CXXFLAGS += /w14267
-
clean::
$(RM) *.pdb