From: Junio C Hamano Date: Mon, 8 Feb 2010 02:13:48 +0000 (-0800) Subject: Make: catch pointer-arith X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f473158ad573e55ab0b13a215097cf5cfca853b8;p=thirdparty%2Fgit.git Make: catch pointer-arith --- diff --git a/Make b/Make index 77ed76b86a..d166e0399c 100755 --- a/Make +++ b/Make @@ -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"