[C++ Patch] PR 51047

2011-11-09 Thread Paolo Carlini
Hi, looks like one of the usual cases of 'complain' not propagated enough, in this case, from finish_class_member_access_expr to lookup_member. Tested x86_64-linux. Thanks, Paolo. // /cp 2011-11-09 Paolo Carlini paolo.carl...@oracle.com PR c++/51047 *

Re: [C++ Patch] PR 51047

2011-11-09 Thread Paolo Carlini
On 11/09/2011 06:09 PM, Jason Merrill wrote: On 11/09/2011 09:17 AM, Paolo Carlini wrote: looks like one of the usual cases of 'complain' not propagated enough, in this case, from finish_class_member_access_expr to lookup_member. Hmm, the function already has a protect parameter that overlaps