This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH/obv] Rename `typename' in d-exp.y to avoid C++ reserved word
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Iain Buclaw <ibuclaw at gdcproject dot org>
- Cc: Keith Seitz <keiths at redhat dot com>, GDB Patches <gdb-patches at sourceware dot org>
- Date: Sun, 16 Aug 2015 02:04:04 -0400
- Subject: Re: [PATCH/obv] Rename `typename' in d-exp.y to avoid C++ reserved word
- Authentication-results: sourceware.org; auth=none
- References: <1439598962-32364-1-git-send-email-keiths at redhat dot com> <CABOHX+dQwxbQGqWVzgy7M3oU=1MjH0nwvqg=8qL+x1m-pGOQLA at mail dot gmail dot com>
On Saturday, August 15 2015, Iain Buclaw wrote:
> On 15 August 2015 at 02:36, Keith Seitz <keiths@redhat.com> wrote:
>> A recent patch introduced a variable named `typename' into d-exp.y,
>> and one of the --enable-with-cxx build slaves consequently failed to compile
>> this. This patch simply adds an underscore into the name to avoid the
>> reserved word.
>>
>
> I'll have to remember to add that to my own builds, thanks.
Good idea, but if you forget, there's a builder in our BuildBot
dedicated only to catch failures when compiling with --enable-with-cxx.
If something fails, the author will be notified via e-mail.
Of course it's always good to check before pushing the changes, but I
thought it was worth mentioning the builder just in case.
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/