From 4e54c876a7236cbb50431f1f6d52c7be2052ed6f Mon Sep 17 00:00:00 2001 From: stijn Date: Wed, 29 Oct 2014 10:05:55 +0100 Subject: Add -Wpointer-arith flag to prevent problems with pointer arithmetic on void* --- windows/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'windows/Makefile') diff --git a/windows/Makefile b/windows/Makefile index 44029c028..d83a5d46f 100644 --- a/windows/Makefile +++ b/windows/Makefile @@ -15,7 +15,7 @@ INC += -I$(PY_SRC) INC += -I$(BUILD) # compiler settings -CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) +CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) LDFLAGS = $(LDFLAGS_MOD) -lm ifeq ($(CROSS_COMPILE),i686-w64-mingw32-) CFLAGS += -D__USE_MINGW_ANSI_STDIO=1 -- cgit v1.2.3