GCC 4.0 Status Report (2005-04-05)
Stefan Strasser
sstrasser@systemhaus-gruppe.de
Tue Apr 5 04:41:00 GMT 2005
Mark Mitchell schrieb:
> Andrew Pinski wrote:
>
>>
>> On Apr 4, 2005, at 7:26 PM, Mark Mitchell wrote:
>>
>>> 20734 rejects valid pointer to member
>>>
>>> Not yet assigned.
>>
>>
>>
>> How is this less Critical?
>> This would breaks lots of code, it is template related too as it is not
>> rejected when not in templates.
>
>
> Clearly this is a judgement call.
>
> However, I think it's less critical because pointers-to-members and, in
> particular, pointers-to-members in templates are relatively less common.
> And, it's rejects-valid, so at least you know that you have a problem.
> And there are workarounds. In contrast, the top bug on the list is
> known to cause silent miscompilation of Qt, a very major package, and
> it's not easy to know where the problem is.
>
what is the workaround to this?
(in the case the class the pointer target is a member of is a template
parameter, unlike in the PR test case)
--
Stefan Strasser
More information about the Gcc
mailing list