From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Dickson Subject: [PATCH 01/24] Enable extra compile warnings (-Wextra) by default. Date: Wed, 4 Aug 2010 11:11:57 -0400 Message-ID: <1280934740-11366-2-git-send-email-steved@redhat.com> References: <1280934740-11366-1-git-send-email-steved@redhat.com> To: Linux NFS Mailing list Return-path: Received: from 4dicksons.org ([207.22.49.45]:54509 "EHLO Dobby.Home.4dicksons.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752312Ab0HDPMY (ORCPT ); Wed, 4 Aug 2010 11:12:24 -0400 Received: from tophat.home.4dicksons.org ([192.168.62.20]) by Dobby.Home.4dicksons.org with esmtp (Exim 4.63) (envelope-from ) id 1Ogfdl-0002SZ-Qr for linux-nfs@vger.kernel.org; Wed, 04 Aug 2010 11:12:22 -0400 In-Reply-To: <1280934740-11366-1-git-send-email-steved@redhat.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: 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 files changed, 1 insertions(+), 1 deletions(-) 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"]) -- 1.7.2