Make: catch pointer-arith

todo
Junio C Hamano 2010-02-07 18:13:48 -08:00
parent 76adaf5aec
commit f473158ad5
1 changed files with 3 additions and 1 deletions

4
Make
View File

@ -86,7 +86,9 @@ do
case "$NO_PEDANTIC" in
?*) ;;
'')
O="$O -Werror $o -std=c99 -Wno-pointer-to-int-cast" ;;
O="$O -Werror $o -std=c99 -Wno-pointer-to-int-cast"
O="$O -Wpointer-arith"
;;
esac
# -Wvla
# O="$O -fwrapv -fno-strict-overflow"