On Sun, Apr 22, 2012 at 11:00 AM, Manuel López-Ibáñez <lopeziba...@gmail.com> wrote: > As described by Linus here:
> Interestingly, the C++ FE does not warn for this case, but it is not > very clear to me where this decision is taken. C++'s type system does not make it very likely to get into the troubles that -Wshadow was attempting to warn about (shadowing on extern function by a local variable) -- thanks god. This particular behaviour of-Wshadow is entirely up to C folks to have or not. I would suspect that it is not as useful in C99 or C11 as it might be in C K&R or even C90. -- Gaby