Dear ROOTers,
It seems that early reported problem with "ambiguous TObject::delete" is
not related with ROOT only. The question about presence of
void TObject::operator delete(void *ptr, void *vp)
still remains, but...
This simple code (raw C++) can not be compiled by gcc-2.91.1. File b.c:
class A { public: void operator delete (void *ptr); };
class N: public A {};
class C1: virtual public A { public: ~C1(); };
class C2: public C1, virtual public N { public: ~C2(); };
C2::~C2(){}
$ g++ -c b.c
b.c: In method `C2::~C2()':
b.c:5: request for member `operator delete' is ambiguous
b.c:1: candidates are: static void A::operator delete(void *)
b.c:1: static void A::operator delete(void *)
Intresting and meaningfull error message.
The appropriate mail has been sent to gcc-bugs@gcc.gnu.org.
With best wishes,
Alexander Zvyagin.
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET