From b6e0ddd7bb3843bb8bb5ff56816b31bcf17adacd Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Mon, 19 Jul 2010 12:05:51 -0400 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]) -- 2.39.2