This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 022/238] [misc.] bcache.c: -Wshadow fix.
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrey Smirnov <andrew dot smirnov at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 20 Dec 2011 08:41:57 -0700
- Subject: Re: [PATCH 022/238] [misc.] bcache.c: -Wshadow fix.
- References: <CAHQ1cqHNswA2d5dDQsiu3i0kGe6rDFs+izUNYoWcvcf4NaLd0Q@mail.gmail.com> <1322492788-29388-1-git-send-email-andrew.smirnov@gmail.com>
>>>>> "Andrey" == Andrey Smirnov <andrew.smirnov@gmail.com> writes:
Andrey> * bcache.c (expand_hash_table): Rename `bcache' to `cache'(-Wshadow).
Ok.
For the record, I am approving the ones I think are useful.
I still think that the best course is to use -Wshadow in conjunction
with a newer GCC; and to implement configury to check for this GCC
feature.
Tom