Skip to content

Commit f473158

Browse files
committed
Make: catch pointer-arith
1 parent 76adaf5 commit f473158

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Make

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ do
8686
case "$NO_PEDANTIC" in
8787
?*) ;;
8888
'')
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+
;;
9092
esac
9193
# -Wvla
9294
# O="$O -fwrapv -fno-strict-overflow"

0 commit comments

Comments
 (0)