Re: About adding -Wshadow option by default (was Re: [PATCH 18/348] Fix -Wsahdow warnings)

Mark Kettenis
2011-11-25T16:36:17Z

> From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
> Date: Fri, 25 Nov 2011 16:52:24 +0100
>
> As you might have noticed from my last errorneous email,
> -Wshadow is already used by default for Binutils
> and the cases where it leads to problems are not that common
> (even though my email was just about one of those cases
> where a system specific function shadows a local variable...)

But binutils has far less code that pulls in far-less non standard
system-specific headers than GDB.