Recent outburst of global shadowing error regressions

Joseph Myers joseph@codesourcery.com
Fri Dec 9 00:33:00 GMT 2016


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



More information about the Binutils mailing list