Interesting CINT problem...

From: Tim Miller (tim.miller@vanderbilt.edu)
Date: Fri Mar 13 1998 - 04:52:29 MET


I'm having the following problem (1.03/09):

root [3] TSortedList *gMultSort = new TSortedList; 
root [4] for(Int_t Loop = 0; Loop < 10; Loop++) {  
end with '}'>      cout << "Loop was " << Loop << endl; 
end with '}'>      gMultSort->Add(gMultEvts+Loop);     
end with '}'> }
Loop was 10

 *** Break *** segmentation violation

However, if I squeeze the 2 statements of the loop on one line,
everything goes fine.  Is this a bug or a feature?  (Sorry, 
haven't been able to get to 2.0Beta yet).

Tim

-- 
~~ WWW Page:  http://quantum.phy.vanderbilt.edu/~tim/ ~~~~~~~~~~
Tim Miller                   |  "Am I mature enough to get old?"
   Vanderbilt University     |                  --Me.
                             |  "With the amount of horse manure
 Graduate Studies in Physics |   currently in the air, the
   Relativistic Heavy Ions   |   pigs are starting to complain!"
                             |                  --Andrew Rose
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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