Make: catch pointer-arith
Junio C Hamano committed
Feb 7, 2010 at 18:13 UTC
f473158ad573e55ab0b13a215097cf5cfca853b8
1 file changed
+3
-1
Make
+3
-1
@@ -86,7 +86,9 @@ do
86
case "$NO_PEDANTIC" in
87
?*) ;;
88
'')
89
- O="$O -Werror $o -std=c99 -Wno-pointer-to-int-cast" ;;
89
+ O="$O -Werror $o -std=c99 -Wno-pointer-to-int-cast"
90
+ O="$O -Wpointer-arith"
91
+ ;;
92
esac
93
# -Wvla
94
# O="$O -fwrapv -fno-strict-overflow"