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 testcases).

OK.

Of course we have the option of changing the latter hard errors too to
permerrors, that would allow to have a simpler combined check. I'm
attaching the variant.

I think let's leave them as errors, the reason for making the new ones permerror rather than error is to allow broken code that's currently accepted to still be accepted with -fpermissive.

Jason

Reply via email to