------- Comment #2 from mmitchel at gcc dot gnu dot org 2006-09-10 22:09 ------- The rules in the standard regarding destructor lookup, what constitues the same name, etc., are not well-specified. The last time I investigated this, the EDG front end used rules which did not seem to match the standard, but, IIRC, John Spicer argued that was a bug in the standard.
In any case, this case is certainly invalid, but it may also be dangerous to try to fix it. -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28985