Re: [C++ Patch] PR 48489

2011-10-16 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] PR 48489

2011-10-16 Thread Paolo Carlini
On 10/16/2011 09:12 PM, Paolo Carlini wrote: 48489.C:11:11: error: ‘struct Derived’ has no member named ‘setValue’ of course there is a typo here, should read 48489.C:11:11: error: ‘struct Concrete’ has no member named ‘setValue’ Paolo.

[C++ Patch] PR 48489

2011-10-16 Thread Paolo Carlini
Hi, in this diagnostic PR the issue it that for: struct Base{ }; struct Concrete : Base { void setValue(); }; int main() { Concrete d; d.Base::setValue(); } the error message is: 48489.C:11:11: error: ‘struct Derived’ has no member named ‘setValue’ instead of: 48489.C:11:11: error: ‘struct