This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 21/348] Fix -Wsahdow warnings
>>>>> "Mark" == Mark Kettenis <mark.kettenis@xs4all.nl> writes:
>> From: Andrey Smirnov <andrew.smirnov@gmail.com>
>> Date: Tue, 22 Nov 2011 20:03:12 +0700
>>
>> * annotate.c (annotate_array_section_begin): Fix -Wshadow
>> warnings.
Mark> Again, why does -Wshadow complain about this?
'index' is an old form of strchr.
It is probably declared in his libc headers.
Tom