RE: [ROOT] Error in TStreamerInfo::Build

From: Philippe Canal (pcanal@fnal.gov)
Date: Tue Jul 31 2001 - 17:22:25 MEST


Hi,

This means that you have in your class a something like:

class MArrayS {
....
	short fN; // actually it might be a char or something other than int
....
	UShort_t *fArray; //[fN]
....
};

Currently, using this syntax, the new ROOT I/O (i.e. StreamerInfo) 
does support ONLY the date type 'Int_t' for the index of the variable 
length array. This means that fN has to be defined as:
	Int_t fN;

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Thomas Bretz
Sent: Tuesday, July 31, 2001 4:43 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] Error in TStreamerInfo::Build


Hello rooters,

Does somebody know what this 'new' error message stands for?

Error in <TStreamerInfo::Build>: MArrayS, discarding: UShort_t* fArray,
 illegal [fN] (must be Int_t)

BTW: I want to make a suggestion. The output of root is sometimes not
very concrete. Is it possible to make the output more infomative or add
some number to it which makes it possible to look in a 'User Guide' what
it really means?

Thanks,
Thomas.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:53 MET