From a11081085b9db8ee40236d47849276db71ba0801 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 24 Jan 2013 11:18:28 -0500 Subject: 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. --- make/msvc.mk | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'make/msvc.mk') 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 -- cgit v1.2.3-54-g00ecf