Hello To avoid the guess job can Andreas elaborate a little bit what we are speaking about (as usually something like "how to reproduce" would be a help): 1. ROOT macro 2. Compiled code No correction in CINT may affect the compiled code. ---- Best regards Valeri > -----Original Message----- > From: brun@pcbrun.cern.ch [mailto:brun@pcbrun.cern.ch] On Behalf Of Rene Brun > Sent: Friday, March 05, 2004 8:11 AM > To: Andreas Zoglauer > Cc: Nick van Eijndhoven; Valeri Fine; roottalk@pcroot.cern.ch > Subject: Re: [ROOT] Different behaviour (i.e. Crash) of TString on Linux > andWindows > > This problem had been fixed in CINT 5.15.124 > If you run with an older version, upgrade your system to the current CVS. > > Rene Brun > > Andreas Zoglauer wrote: > > > > Hi Nick, > > > > Thanks for the reply. > > I am already using root 4.00.02. > > I have tested serveral root versions and the first one with which it > > does not appear is 3.04.02, which was compiled for Visual C++ 6 and not > > 7. unfortunately 3.04.02 has some other nasty problems... > > > > I know that "W.Data()" works. > > > > Nevertheless, since in the following function is defined: > > ostream& operator<<(ostream& str, const TString& s); > > also cout<<W<<endl; should work as expected from Linux. > > > > The problem is, at the moment I am trying to port 8 MB of source code > > based on ROOT from Linux to Windows. And really unfortunately I am > > relaying heavily on cout<<W<<endl; to work ... ;-(( > > > > Ciao, > > Andreas > > > > Nick van Eijndhoven wrote: > > > Hi Andreas, > > > I have seen this behaviour in the past as well, but understood > > > that the problem should be fixed now in ROOT version 4. > > > Anyhow, the way I solved the problem was by > > > > > > cout << W.Data() << endl; > > > > > > This works correctly on all platforms and gives the correct output. > > > > > > Cheers, > > > Nick. > > > > > >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET