Show extra compiler warnings (GCC).
authorIvan Maidanski <ivmai@mail.ru>
Mon, 8 Aug 2011 07:32:15 +0000 (11:32 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 8 Aug 2011 07:32:15 +0000 (11:32 +0400)
* configure.ac (CFLAGS): Add -Wall -Wextra (GCC only).
* configure: Regenerate.

configure
configure.ac

index 5ed6a68..d4d9b96 100755 (executable)
--- a/configure
+++ b/configure
@@ -4738,6 +4738,8 @@ $as_echo "-fPIC" >&6; }
       CFLAGS="$CFLAGS -D__PIC__=1"
       ;;
   esac
+  # Output all warnings.
+  CFLAGS="$CFLAGS -Wall -Wextra"
 else
   case "$host" in
     *-*-hpux*)
index d84b8a0..2ed7ddf 100644 (file)
@@ -32,6 +32,8 @@ if test "$GCC" = yes; then
       CFLAGS="$CFLAGS -D__PIC__=1"
       ;;
   esac
+  # Output all warnings.
+  CFLAGS="$CFLAGS -Wall -Wextra"
 else
   case "$host" in
     *-*-hpux*)