This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]