[ROOT] Base class ambiguity

From: miha.puc@marvin.fmf.uni-lj.si
Date: Tue Feb 26 2002 - 21:12:44 MET


Hi!
I have a class 
class TModelFunction : public TF1, public TDataSet { .....

and when compiling I get messages like

TModelFunction.cxx:121: type `TObject' is ambiguous base class for type 
`TModelFunction'
TModelFunction.cxx:121: type `TModelFunction' is ambiguous baseclass of 
`TObject'

line 121 is:
_Foo = (TModelFunction *) (fList->After(_Foo));
where _Foo is a pointer to TModelFunction object.

What shall I do?

Regards,
Miha
-- 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:43 MET