Hi Eddy, the system tries to warn you for using a non portable data type. (Long_t and ULong_t are currenty not portable data types either 32 or 64 bits). Probably the message could a bit more clear. Cheers, Fons. PS: a soon as all 32 bit systems support "long long" we can remove this restriction. On Fri, Dec 29, 2000 at 02:58:38PM -0500, Eddy Offermann wrote: > Hi Root-ers, > > When creating a tree > > TTree *tree = new TTree("T","An example of a ROOT tree"); > > Int_t split = 1; > Int_t bsize = 64000; > TTrade *trade = new TTrade(); > TBranch *br = tree->Branch("TTrade","TTrade",&trade,bsize,split); > > > I get the following warning: > > Cannot create branch for rdname=fStartBussDate, code=4 > > where fStartBussDate is of type Long_t, if I change it to Int_t, the > warning disappears > > Eddy -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:40 MET