EGCS 1.1a: unreasonable/incorrect casting restriction
Jason Merrill
jason@cygnus.com
Thu Sep 3 17:34:00 GMT 1998
>>>>> Keith Hanlan <keithh@nortel.ca> writes:
> What's implicit about:
> typedef MyAutoPtr <OVwFieldValue,
> reinterpret_cast<Deleter>(OVwDbFreeFieldValue)>
> OVwFieldValue_auto_ptr;
> or
> typedef MyAutoPtr <OVwFieldValue,
> (Deleter)OVwDbFreeFieldValue>
> OVwFieldValue_auto_ptr;
> Both of which fail identically.
Sorry, I didn't read your mail closely enough. This is indeed a bug.
Jason
More information about the Gcc-bugs
mailing list