Re: [C++ Patch] PR 50344

2011-09-22 Thread Jason Merrill
OK. Jason

[C++ Patch] PR 50344

2011-09-21 Thread Paolo Carlini
Hi, basing on [class.friend] (11.3/3) in C++11 I think Jon is right that cv-qualification should be ok in a friend declaration. I'm not sure, however, if we want to somehow allow that also in c++98 mode... Tested x86_64-linux. Ok? Thanks, Paolo. /// /cp 2011-09-21 Paolo

Re: [C++ Patch] PR 50344

2011-09-21 Thread Jason Merrill
On 09/21/2011 11:12 AM, Paolo Carlini wrote: basing on [class.friend] (11.3/3) in C++11 I think Jon is right that cv-qualification should be ok in a friend declaration. I'm not sure, however, if we want to somehow allow that also in c++98 mode... I think we do. Jason

Re: [C++ Patch] PR 50344

2011-09-21 Thread Paolo Carlini
On 09/21/2011 06:55 PM, Jason Merrill wrote: I think we do. Agreed. I'm finishing testing the below, Ok if it passes? Thanks, Paolo. // /cp 2011-09-21 Jonathan Wakely jwakely@gmail.com Paolo Carlini paolo.carl...@oracle.com PR c++/50344