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

Mark Kettenis mark.kettenis@xs4all.nl
Fri Nov 25 16:36:00 GMT 2011


> 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.



More information about the Gdb-patches mailing list