From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 596 invoked by alias); 17 Jan 2012 02:49:08 -0000 Received: (qmail 588 invoked by uid 22791); 17 Jan 2012 02:49:07 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Jan 2012 02:48:49 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q0H2mn5f015970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 16 Jan 2012 21:48:49 -0500 Received: from psique ([10.3.112.12]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q0H2mhgk021532; Mon, 16 Jan 2012 21:48:45 -0500 From: Sergio Durigan Junior To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [obv] Fix m2-exp.y compilation error In-Reply-To: <20120117000845.GA26718@host2.jankratochvil.net> (Jan Kratochvil's message of "Tue, 17 Jan 2012 01:08:46 +0100") References: <20120117000845.GA26718@host2.jankratochvil.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-URL: http://www.redhat.com Date: Tue, 17 Jan 2012 06:18:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 X-SW-Source: 2012-01/txt/msg00583.txt.bz2 On Monday, January 16 2012, Jan Kratochvil wrote: > On Mon, 16 Jan 2012 22:06:46 +0100, Sergio Durigan Junior wrote: >> --- a/gdb/m2-exp.y >> +++ b/gdb/m2-exp.y > [...] >> void >> -yyerror (msg) >> +yyerror (char *msg) >> char *msg; >> { >> if (prev_lexptr) > > m2-exp.y: In function =E2=80=98m2_error=E2=80=99: > m2-exp.y:1069:1: error: old-style parameter declarations in prototyped fu= nction definition > > Recommending to always build the tree before/after a check-in. Sorry, I had this patch lying around but should have rebuilt it anyway. Thank you for the fix.