Add -Wpointer-arith to CFLAGS when using GCC.

This commit is contained in:
osku 2006-06-15 04:41:15 +00:00
parent 3412bdf03e
commit 8c91463079

View file

@ -105,7 +105,7 @@ fi
# If using gcc, add some extra warning flags.
if test "$ac_cv_prog_gcc" = "yes"
then
CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
CFLAGS="$CFLAGS -Werror-implicit-function-declaration -Wpointer-arith"
fi
case "$target_os" in