Commit 02ea7bc1 authored by osku's avatar osku

Add -Wpointer-arith to CFLAGS when using GCC.

parent 1ed1ede9
...@@ -105,7 +105,7 @@ fi ...@@ -105,7 +105,7 @@ fi
# If using gcc, add some extra warning flags. # If using gcc, add some extra warning flags.
if test "$ac_cv_prog_gcc" = "yes" if test "$ac_cv_prog_gcc" = "yes"
then then
CFLAGS="$CFLAGS -Werror-implicit-function-declaration" CFLAGS="$CFLAGS -Werror-implicit-function-declaration -Wpointer-arith"
fi fi
case "$target_os" in case "$target_os" in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment