Re: [ROOT] Problem with TString

From: Martijn Schellekens (Martijn.Schellekens@iota.u-psud.fr)
Date: Fri Jan 09 2004 - 14:42:35 MET


Hi,

Thanks for your answer,
I just tested the Win32gdk verion on a classic Windows 2000 machine: same 
problem
So the question remains,

Martijn

A 11:39 09/01/2004 +0100, Sebastien Greder a écrit :

>  Hi,
>
>  Usng the latest version of ROOT and gcc 2.96 on Linux RH 7.2 :
>
>  [greder@sbgat304 greder]$ root
>   *******************************************
>   *                                         *
>   *        W E L C O M E  to  R O O T       *
>   *                                         *
>   *   Version   3.10/02    5 January 2004   *
>   *                                         *
>   *  You are welcome to visit our Web site  *
>   *          http://root.cern.ch            *
>   *                                         *
>   *******************************************
>
>FreeType Engine v2.1.3 used to render TrueType fonts.
>Compiled for linux with thread support.
>
>CINT/ROOT C/C++ Interpreter version 5.15.115, Dec 9 2003
>Type ? for help. Commands must be C++ statements.
>Enclose multiple statements between { }.
>root [0] TString hello("hello")
>root [1] hello
>(class TString)"hello"
>root [2] hello.Append(" there")
>(class TString)"hello there"
>root [3]
>
>  No pb !
>
>  seb.
>
>
>
>
>On Fri, 9 Jan 2004, Martijn Schellekens wrote:
>
> > Hi Rooters,
> >
> > I just wanted to report a problem with TString in the latest version:
> > windows gdk 3.10/2
> >
> >  >TString hello("hello you")
> >  >hello
> > (class TString) ""
> >
> > whereas the result should have been off course
> > (class TString) "hello you"
> >
> > Generally speaking TString can not be given any content
> > Hence hello.Append(" there") results in the same void string
> >
> > This version has been used under windows XP pro, running in a vmware
> > workstation.
> > Other objects seemed to work yet I have not done extensive testing.
> >
> > Thanks and bye,
> >
> > Martijn Schellekens
> >
> >
>
>   ---------------------------------------------------------------------
>  | Sebastien GREDER                        tel :  +33 (0)3 88 10 63 54 |
>  | D0 Strasbourg,                                                      |
>  | Institut de Recherches Subatomiques     fax :  +33 (0)3 88 10 62 34 |
>  | 23, rue du loess - BP 28                secr : +33 (0)3 88 10 66 40 |
>  | F-67037- STRASBOURG cedex 2             e-mail : greder@in2p3.fr,   |
>  |                                                  greder@fnal.gov    |
>   ---------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET