This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [wwwdocs] document -Wshadow change in 4.8
On Sun, 10 Feb 2013, Manuel López-Ibáñez wrote:
>> The only question I have is about "unless the variable is a function".
>> How can a variable be a function?
> True. What about: "if a declaration shadows a function decqlaration,
> unless the former declares a function or a pointer to function."
Yes, that'll work I think.
> I also realized that Wshadow is not C-only, so I will move the item
> to C family.
Thanks!
Gerald