From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30893 invoked by alias); 6 Aug 2014 01:04:01 -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 30834 invoked by uid 89); 6 Aug 2014 01:04:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 06 Aug 2014 01:03:58 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1XEpdy-0005Tq-HK from Yao_Qi@mentor.com ; Tue, 05 Aug 2014 18:03:54 -0700 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 5 Aug 2014 18:03:54 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Tue, 5 Aug 2014 18:02:48 -0700 Message-ID: <53E17E14.8070104@codesourcery.com> Date: Wed, 06 Aug 2014 01:04:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Jan Kratochvil , Subject: Re: [patch] Fix --with-babeltrace with gcc-4.9.1 References: <20140804202907.GA2608@host2.jankratochvil.net> In-Reply-To: <20140804202907.GA2608@host2.jankratochvil.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00058.txt.bz2 On 08/05/2014 04:29 AM, Jan Kratochvil wrote: > gdb/ > 2014-08-04 Jan Kratochvil > > * configure.ac (--with-babeltrace): Use 'pos'. > * configure: Regenerate. > > diff --git a/gdb/configure.ac b/gdb/configure.ac > index 70d0964..07d2f00 100644 > --- a/gdb/configure.ac > +++ b/gdb/configure.ac > @@ -2437,6 +2437,7 @@ else > struct bt_ctf_event *event = NULL; > const struct bt_definition *scope; > > + (void) pos; /* Prevent -Werror=unused-variable. */ This patch fixes https://sourceware.org/bugzilla/show_bug.cgi?id=17104 Please mention it in ChangeLog entry. I had a patch to this PR, but didn't follow it up. Yours is fine. -- Yao (齐尧)