Re: [C++ Patch] PR 31952

2013-05-15 Thread Jason Merrill
On 05/14/2013 11:22 PM, Paolo Carlini wrote: here is a patch to produce permerrors for all the cases of shadowing mentioned in the PR (the comment gives references to the Standard). I took the occasion to change the existing pair of errors added by Janis to error + inform (thus I had to tweak 3 t

[C++ Patch] PR 31952

2013-05-14 Thread Paolo Carlini
Hi, here is a patch to produce permerrors for all the cases of shadowing mentioned in the PR (the comment gives references to the Standard). I took the occasion to change the existing pair of errors added by Janis to error + inform (thus I had to tweak 3 testcases). Of course we have the opt