[C++ Patch] PR 48630 (PR 31423)

Gabriel Dos Reis gdr@integrable-solutions.net
Thu Oct 20 00:47:00 GMT 2011


On Wed, Oct 19, 2011 at 6:36 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> On 10/20/2011 12:32 AM, Jason Merrill wrote:
>>
>> Surely we should only make this change for function members.
>
> Thanks Gaby and Jason. So, what about the below?

I believe the effect of your new patch is that if will
always emit the suggest "did you forget "()"?" for member functions,
even in the case where the current suggestion is correct.
Using the type context would prevent that regression.

If it unfortunate that we put this diagnostic in the same category
as real 'incomplete type usage.'  We should probably dissociate it.



More information about the Gcc-patches mailing list