[ROOT] Problem with TString::ReadLine on SUN

From: lobo (lobo@irmm.jrc.be)
Date: Wed May 08 2002 - 21:27:11 MEST


Hi all,
I have a small problem concerning the TString::Readline. I installed the
last release of ROOT on the new SUN machine we got. Previously this worked
everywhere.  Here my small macro.
{

ifstream file("f75_r01.rep");
TString line;
line.ReadLine(file);
}
And on the SUN I have this message
Error: Can't call TString::ReadLine(file) in current scope FILE:test.C
LINE:4
Possible candidates are...
filename       line:size busy function type and name  (in TString)
(compiled)        0:0    0 public: istream& ReadLine(istream& str,Bool_t
skipWhite=kTRUE); //Read to EOF or newline
*** Interpreter error recovered ***



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:52 MET