On Sat, 27 Mar 1999, Wei Xie wrote: > > Dear Rooters, > > The attached file seems to show I can not derived simultaneously from > TGFrame and TTimer. The error message is : > > >> CC: "ControlPanel.h", line 12: error: ambiguous TObject::operator > >> new() and TObject::operator new() (no virtual base) (1302) > >> BCC: "ControlPanel.cxx", line 8: error: ambiguous TObject::operator > >> new() and TObject::operator new() (no virtual base) (1302) > >>*** Error exit code 1 > > What could be the reason ? > Hi Xie, both TGFrame and TTimer inherit from TObject, this wuold require virtual base classes, this is not supported by root. (See also previous discussions in roottalk. e.g. http://root.cern.ch/cgi-bin/print_hit_bold.pl/ root/roottalk/roottalk99/0323.html?virtualbaseclass#first_hit > cheers Otto ---------------------------------------------------------------------------- Otto Schaile Sektion Physik der LMU Muenchen Phone: (+49 89)289 14070 Am Coulombwall 1, D-85748 Garching, Germany FAX: (+49 89)289 14072 EMail: Otto.Schaile@Physik.Uni-Muenchen.DE
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:31 MET