Hello Rooters, .O0 is a solution for my problem. It decreases the interpreter speed but it runs. Changing to a more recent version is difficult because there are some incompatibilities in one of our libraries. We will try that again after solving this problem. Thanks! Johann Rene Brun <Rene.Brun@cern.ch> writes: * Hi Johann, * When you encounter problems like this, try: * * 1- to run in noopt mode * Root > .O0 * * 2- If .O0 solves the problem, try to provide a macro as short as * possible * reproducing the problem. The time to fix a problem is in general * proportionnal to the size of the macro ! * * 3- if you use an old version of Root, try with a more recent version. * * Rene Brun * * Johann Gutauer wrote: * > * > Hi, * > * > I wrote a macro. Everything worked until I put two for-loops around the ma * jor * > part of it. I think I'm running into a limitation of cint, but I can't sol * ve * > the problem. * > * > The macro looks like this: * > * > void date_to_struct(char *datestring, tm *ptr_tm) * > { * > .... * > } * > long timestamp_from_tm(tm *ptr_tm) * > { * > .... * > } * > * > Int_t main() * > { * > ....... * > for(Int_t box1 = 1; box1 <= MAXBOX; box1++) * > { * > * > for(Int_t box2 = 1; box2 <= MAXBOX; box2++) * > { * > .... * > date_to_struct(startdate, ptr_newtime); * > timestamp1=timestamp_from_tm(ptr_newtime); * > .... * > * > } * > } * > ....... * > } * > * > I broke it down to the two function calls above. The programm will not rea * ch * > the functions itself. * > I'm using ROOT 2.21/08 with CINT 5.13.92 on Sun. * > * > Any help is welcome! * > * > Regards, * > Johann *
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:43 MET