From patchwork Tue Jan 13 01:29:28 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geoff Levand X-Patchwork-Id: 18132 X-Patchwork-Delegate: jk@ozlabs.org Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 7AA8B47540 for ; Tue, 13 Jan 2009 12:34:05 +1100 (EST) X-Original-To: cbe-oss-dev@ozlabs.org Delivered-To: cbe-oss-dev@ozlabs.org Received: from SG2EHSOBE005.bigfish.com (outbound-sin.frontbridge.com [207.46.51.80]) by ozlabs.org (Postfix) with ESMTP id E9826DE2DA; Tue, 13 Jan 2009 12:32:35 +1100 (EST) Received: from mail91-sin-R.bigfish.com (10.3.40.3) by SG2EHSOBE005.bigfish.com (10.3.40.25) with Microsoft SMTP Server id 8.1.291.1; Tue, 13 Jan 2009 01:32:30 +0000 Received: from mail91-sin (localhost.localdomain [127.0.0.1]) by mail91-sin-R.bigfish.com (Postfix) with ESMTP id 195A21CE8167; Tue, 13 Jan 2009 01:32:30 +0000 (UTC) X-BigFish: VPS0(zzzzzzz2fh6bh65h) X-Spam-TCS-SCL: 4:0 Received: by mail91-sin (MessageSwitch) id 1231810349156711_13874; Tue, 13 Jan 2009 01:32:29 +0000 (UCT) Received: from mail8.fw-bc.sony.com (mail8.fw-bc.sony.com [160.33.98.75]) by mail91-sin.bigfish.com (Postfix) with ESMTP id 76BA2C8806F; Tue, 13 Jan 2009 01:32:28 +0000 (UTC) Received: from mail3.sjc.in.sel.sony.com (mail3.sjc.in.sel.sony.com [43.134.1.211]) by mail8.fw-bc.sony.com (8.14.2/8.14.2) with ESMTP id n0D1WQ18025342; Tue, 13 Jan 2009 01:32:26 GMT Received: from ussdixhub21.spe.sony.com (ussdixhub21.spe.sony.com [43.130.141.76]) by mail3.sjc.in.sel.sony.com (8.12.11/8.12.11) with ESMTP id n0D1WQiD016590; Tue, 13 Jan 2009 01:32:26 GMT Received: from USSDIXRG02.am.sony.com (43.130.140.32) by ussdixhub21.spe.sony.com (43.130.141.76) with Microsoft SMTP Server id 8.1.291.1; Mon, 12 Jan 2009 17:32:26 -0800 Received: from ussdixms03.am.sony.com ([43.130.140.23]) by USSDIXRG02.am.sony.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 12 Jan 2009 17:32:25 -0800 Received: from [192.168.1.10] ([43.135.148.226]) by ussdixms03.am.sony.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 12 Jan 2009 17:32:25 -0800 Message-ID: <496BEE78.2010409@am.sony.com> Date: Mon, 12 Jan 2009 17:29:28 -0800 From: Geoff Levand User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Jeremy Kerr References: <496BEDF0.3080105@am.sony.com> In-Reply-To: <496BEDF0.3080105@am.sony.com> X-Enigmail-Version: 0.95.7 X-OriginalArrivalTime: 13 Jan 2009 01:32:25.0402 (UTC) FILETIME=[C9ED71A0:01C9751E] X-SEL-encryption-scan: scanned Cc: cbe-oss-dev@ozlabs.org Subject: [Cbe-oss-dev] [patch 3/5] petitboot: Add make warnings X-BeenThere: cbe-oss-dev@ozlabs.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Discussion about Open Source Software for the Cell Broadband Engine List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: cbe-oss-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org Errors-To: cbe-oss-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org Add some compiler warnings to the default build. Signed-off-by: Geoff Levand --- rules.mk | 2 ++ 1 file changed, 2 insertions(+) --- a/rules.mk +++ b/rules.mk @@ -2,6 +2,8 @@ VPATH = $(srcdir) CPPFLAGS += -I$(top_srcdir) -I$(top_srcdir)/lib -I$(builddir) +CFLAGS += -Wall -W -Wunused -Wstrict-prototypes -Wmissing-prototypes \ + -Wmissing-declarations -Wredundant-decls -Winline # we need paths to be overridable at build-time DEFS += '-DPREFIX="$(prefix)"' '-DPKG_SHARE_DIR="$(pkgdatadir)"' \