Inhereting

Selim Issever (issever@mail.desy.de)
Mon, 12 Jan 1998 13:49:52 +0100 (MET)


Dear all,..

does anyone see what wrong with this?

>>> file ab.C ----------------------
class TC : public TCanvas {
public:
TC():TCanvas("c", "abc") {

}
private:

};

void ab() {
cout << "start" << endl;
TC a;
cout << "end" << endl;
}
<<< -------------------------------

>>> root session ------------------
root [0] .x ab.C
start
end
Fatal in <operator delete>: storage area overwritten
aborting
IOT trap/Abort (core dumped)
<<< -------------------------------

Best Regards
Selim

S E L I M I S S E V E R
DESY-F15, Notkestr. 85, 22603 Hamburg, Germany; Tel/Fax: 040 8998-2843/4033
http://www.physik.uni-dortmund.de/~issevers; selim.issever@desy.de
Ete kemige burundum, Yunus diye gorundum. Yunus Emre