[PATCH] readelf: Don't shadow index function from string.h
Thu Jul 5 19:26:00 GMT 2018
On Wed, Jul 04, 2018 at 04:13:26PM +0200, Mark Wielaard wrote:
> On some ancient GCC versions (4.4.7 at least) -Wshadow warns about local
> variables "shadowing" global function definitions.
> readelf.c: In function âprint_debug_addr_sectionâ:
> readelf.c:5265: error: declaration of âindexâ shadows a global declaration
> /usr/include/string.h:489: error: shadowed declaration is here
> This is silly of course, but easy to work around.
Pushed to master.
More information about the Elfutils-devel