Hi Colin, On Mon, 14 May 2001, Colin Bernet wrote: > TThreadframe.cxx: In method > `Int_t TThreadframe::Threadstart ()': TThreadframe.cxx:129: ISO C++ > forbids taking the address of a non-static member function to form a > pointer to > member > function. Say `&TThreadframe::Thread0' I encountered the same error. My workaraound was to call a global function with a void* pointer to the class (here TThreadFrame) and re-enter the class in the global function. The example can be found in ROOTtalk: Re: [ROOT] Standalone version of CalcPiThread Andreas Zoglauer (Mon May 14 2001 - 05:17:16 MEST) Andreas ---------------------------------------------------------------------- Andreas Zoglauer MPI fuer extraterrestrische Physik Phone: +49/89-30000-3848 Postfach 1312 Fax: +49/89-30000-3569 85741 Garching, Germany Email: zog@mpe.mpg.de ----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:45 MET