aboutsummaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorstijn2014-10-29 10:05:55 +0100
committerstijn2014-10-29 10:29:09 +0100
commit4e54c876a7236cbb50431f1f6d52c7be2052ed6f (patch)
tree7b7cbdab7ca37c3adb14c85dc8cb6e020ed5c1ac /windows
parentccedf000ed7e3a155f84ad60afb86ca5f953fe8c (diff)
Add -Wpointer-arith flag to prevent problems with pointer arithmetic on void*
Diffstat (limited to 'windows')
-rw-r--r--windows/Makefile2
1 files changed, 1 insertions, 1 deletions
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