--- Comment #2 from rguenth at gcc dot gnu dot org 2006-05-10 08:06 ---
Fixed in 4.0.3:
/tmp> /space/rguenther/install/gcc-4.0.3/bin/g++ -Wall -S t.C
t.C:11: error: declaration of '~TPoligon' as member of 'TPoints'
--
rguenth at gcc dot gnu dot org changed:
What|Remo
--- Comment #1 from fang at csl dot cornell dot edu 2006-05-09 18:34
---
With the following reduced case:
//->8 snip 8<-
class TPoints {
public:
~TPoints();
};
class TPoligon: public TPoints {
public:
~TPoligon();
};
TPoints::~TPoligon() { }
TPoints::~TPoints(){}