Commit 564f019f49285c5befa471366025f42a3e59d552

Authored by Loic Dachary
1 parent 8a96cbb3
Exists in master and in 2 other branches v2, v3

Show pointer arithmetic warnings by default

So that a void* being used in pointer arithmetic does not go unnoticed.

Signed-off-by: Loic Dachary <loic@dachary.org>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
configure.ac
... ... @@ -17,7 +17,7 @@ AC_CONFIG_MACRO_DIR([m4])
17 17 AM_MAINTAINER_MODE([disable])
18 18  
19 19 # Override default CFLAGS
20   -CFLAGS="-Wall -O3 -g"
  20 +CFLAGS="-Wall -Wpointer-arith -O3 -g"
21 21  
22 22 dnl Compiling with per-target flags requires AM_PROG_CC_C_O.
23 23 AC_PROG_CC
... ...