SGI and TLego.h

From: Thomas Hadig (hadig@toots.physik.rwth-aachen.de)
Date: Fri May 08 1998 - 14:00:53 MEST


Dear Rooters,

i have a problem using the TLego.h include file (or any other include file
using this, e.g. TH1.h).

I get an assembler (!) error due to the definition :

public:
   typedef void (TLego::*DrawFaceFunc_t)(Int_t *, Float_t *, Int_t, Int_t *, Float_t *);
   typedef void (TLego::*LegoFunc_t)(Int_t,Int_t,Int_t&,Float_t*,Float_t*,Float_t*);
   typedef void (TLego::*SurfaceFunc_t)(Int_t,Int_t,Float_t*,Float_t*);

If i change them into :

public:
   typedef void *(TLego::DrawFaceFunc_t)(Int_t *, Float_t *, Int_t, Int_t *, Float_t *);
   typedef void *(TLego::LegoFunc_t)(Int_t,Int_t,Int_t&,Float_t*,Float_t*,Float_t*);
   typedef void *(TLego::SurfaceFunc_t)(Int_t,Int_t,Float_t*,Float_t*);

everything compiles fine ....

Ciao
Thomas

----------------------------------------------------------------------------
Thomas Hadig, Ottensen, Donnerstr. 20, D-22763 Hamburg   (++49 40 39901186)
  office : I. Phys. Institut AAC, Room 1c354, Notkestr. 85, D-22603 Hamburg
           hadig@rwth-aachen.de                      Tel. ++49 40 8998 2312
http://www-h1.desy.de/~hadig/                        FAX  ++49 40 8998 4385
----------------------------------------------------------------------------
In a world without walls and fences, who needs windows and gates ?
----------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:32 MET