From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31240 invoked by alias); 17 Jun 2013 18:42:58 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 31213 invoked by uid 89); 17 Jun 2013 18:42:58 -0000 X-Spam-SWARE-Status: No, score=-7.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 17 Jun 2013 18:42:56 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5HIgtIX007721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 17 Jun 2013 14:42:55 -0400 Received: from barimba.redhat.com (ovpn-113-102.phx2.redhat.com [10.3.113.102]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r5HIgsRN015351; Mon, 17 Jun 2013 14:42:55 -0400 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 1/3] add -Wmissing-parameter-type Date: Mon, 17 Jun 2013 18:42:00 -0000 Message-Id: <1371494572-26594-2-git-send-email-tromey@redhat.com> In-Reply-To: <1371494572-26594-1-git-send-email-tromey@redhat.com> References: <1371494572-26594-1-git-send-email-tromey@redhat.com> X-SW-Source: 2013-06/txt/msg00396.txt.bz2 This adds -Wmissing-parameter-type to gdb's list of warnings. This one doesn't happen to trigger for a --enable-targets=all build on x86-64 Fedora 18. * configure.ac (build_warnings): Add -Wmissing-parameter-type. * configure: Rebuild. --- gdb/configure | 2 +- gdb/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/configure b/gdb/configure index 383d634..7da2e15 100755 --- a/gdb/configure +++ b/gdb/configure @@ -12456,7 +12456,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ -Wpointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes \ --Wdeclaration-after-statement -Wempty-body" +-Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type" # Enable -Wno-format by default when using gcc on mingw since many # GCC versions complain about %I64. diff --git a/gdb/configure.ac b/gdb/configure.ac index 46a97bd..f9c04de 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1929,7 +1929,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ -Wpointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes \ --Wdeclaration-after-statement -Wempty-body" +-Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type" # Enable -Wno-format by default when using gcc on mingw since many # GCC versions complain about %I64. -- 1.8.1.4