RE: Changes in TChain

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Fri, 14 Jan 2005 09:16:02 -0600


Hi,

You need to run rootcint with the -p option:

        rootcint -f mydict.cxx -c -p .....

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Thomas Bretz
Sent: Friday, January 14, 2005 3:50 AM
To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] Changes in TChain

Hi,

you have changed the definition of TChain::LoadTree between 3.* and 4.02/00.

I tried to follow this in my derived class by
#if ROOT_VERSION_CODE < ROOT_VERSION(4,02,00)

     Int_t LoadTree(Int_t entry);
#else

     Long64_t LoadTree(Long64_t entry);
#endif

but creating the dictionary I got an error: Error: Too many '}' FILE:tmpfile LINE:1308 Error: Unexpected EOF G__exec_statement() FILE:tmpfile LINE:1309 Advice: You may need to use +P or -p option Warning: Error occured during reading source files Warning: Error occured during dictionary source generation !!!Removing FileIOCint.cc FileIOCint.h !!! Error: /data/cern/root-4.02.00/bin/rootcint: error loading headers... make: *** [FileIOCint.cc] Error 1

How do I get rid of this error?

Thanks,
Thomas. Received on Fri Jan 14 2005 - 16:21:02 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET