This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Recent outburst of global shadowing error regressions


On Thu, 8 Dec 2016, Maciej W. Rozycki wrote:

>  May I at least please ask then not to use `index' as the pet name for 
> local variables and use a more specific name instead, or just classic `i', 
> as using `index' has been the cause of most regressions so far?

-Wshadow changed in GCC 4.8 so it doesn't warn for non-function-pointer 
local declarations shadowing function declarations.

-- 
Joseph S. Myers
joseph@codesourcery.com


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