diff options
author | Loic Dachary <loic@dachary.org> | 2014-04-10 17:20:42 +0200 |
---|---|---|
committer | Loic Dachary <loic@dachary.org> | 2014-04-10 17:20:42 +0200 |
commit | 564f019f49285c5befa471366025f42a3e59d552 (patch) | |
tree | be962b2de893c900589a305ed07b2fdf7ac307e6 | |
parent | 8a96cbb37113a851ec63b65a396520a1113529f1 (diff) | |
download | gf-complete-564f019f49285c5befa471366025f42a3e59d552.tar.gz |
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>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 37ddd51..7fd1fe3 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ AC_CONFIG_MACRO_DIR([m4]) AM_MAINTAINER_MODE([disable]) # Override default CFLAGS -CFLAGS="-Wall -O3 -g" +CFLAGS="-Wall -Wpointer-arith -O3 -g" dnl Compiling with per-target flags requires AM_PROG_CC_C_O. AC_PROG_CC |