From: Steve Dickson Date: Mon, 19 Jul 2010 16:05:51 +0000 (-0400) Subject: Enable extra compile warnings (-Wextra) by default. X-Git-Tag: nfs-utils-1-2-3-rc5~23 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b6e0ddd7bb3843bb8bb5ff56816b31bcf17adacd;p=nfs-utils.git Enable extra compile warnings (-Wextra) by default. Added -Wextra to the CFLAGS which enables more checking during compilation, which in turn, will hopefully flag potential problems before they occur. Signed-off-by: Steve Dickson --- diff --git a/configure.ac b/configure.ac index d90a88f..7c9e61a 100644 --- a/configure.ac +++ b/configure.ac @@ -400,7 +400,7 @@ case $host in ARCHFLAGS="" ;; esac -my_am_cflags="-Wall -Wstrict-prototypes $ARCHFLAGS -pipe" +my_am_cflags="-Wall -Wextra -Wstrict-prototypes $ARCHFLAGS -pipe" AC_SUBST([AM_CFLAGS], ["$my_am_cflags"])