Hi Rene!
I dont use CINT, I compile my program. If you want to have a closer look, tell me, what further details you need. (I also could send you my program...)
to Olivier:
I didnt check it explicitly, whether TLatex worked where TText failed. I just kept in mind, that I didnt encounter segmentation violations with TLatex.
So I assume, that I will see the same problem with TLatex and TText, as you do. Since TLatex inherits from TText.
Bernd.
-----Original Message-----
From: Rene Brun on behalf of Rene Brun
Sent: Tue 4/20/2004 6:28 PM
To: Olivier Couet
Cc: Bernd Reinhold; roottalk@pcroot.cern.ch
Subject: Re: [ROOT] auto-wrapping
Bernd,
This is a CINT limitation for the length of the constant strings.
Instead of an explicit string like you do, use a variable like in the example in
the attachement
Rene Brun
Olivier Couet wrote:
>
> Hi Bernd,
>
> Well, not for me. In the little example I sent you if you replace TText
> by TLatex it crashes too with string longer than 283 characters.
>
> Cheers, Olivier
>
> On Tue, 20 Apr 2004, Bernd Reinhold wrote:
>
> > Hi Olivier!
> >
> >
> > TLatex worked where TText failed (at least for the example below). But has it a limit, too?
> >
> > Cheers, Bernd.
> >
> >
> > -----Original Message-----
> > From: Olivier Couet
> > Sent: Tue 4/20/2004 4:38 PM
> > To: Bernd Reinhold
> > Cc: Olivier Couet; roottalk@pcroot.cern.ch
> > Subject: RE: [ROOT] auto-wrapping
> >
> > Hi Bernd,
> >
> > Yes it seems there is some limit. I can produce a crash with the following
> > macro:
> >
> > {
> > TText t(0.,0,"
> > XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX... // 284 X make it crash 283 is fine
> > ");
> > }
> >
> > I do not know why yet ...
> >
> > Cheers, Olivier
> >
> >
>
> --
> Org: CERN - European Laboratory for Particle Physics.
> Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910
> E-Mail: Olivier.Couet@cern.ch Phone: +41 22 7676522
> WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7677155
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET