[lazarus] CVS Updated
Michael Van Canneyt
michael.vancanneyt at wisa.be
Tue May 25 09:51:28 EDT 1999
On Tue, 25 May 1999, Shane Miller wrote:
>
>
> >>> Michael Van Canneyt <michael.vancanneyt at wisa.be> 05/25 4:51 AM >>>
>
>
> On Mon, 24 May 1999, Michael A. Hess wrote:
>
> > Shane Miller wrote:
> > >
> > > 2) Run it, if you CAN open a file then go into the EDITOR.pp file and
> > > comment out line number 337 (a writeln) and run it again. Does it
> > > crash? Mine does.
> > >
> > > Can anyone figure out why commenting out a WRITELN would cause it to
> > > crawsh?
> >
> > It isn't the writeln that is causing the problem it is the IntToStr that
> > is causing the problem. Comment out the writeln and replace it with
> > something like
> >
> > temp := InttoStr(3);
> >
> > where temp was defined as an integer.
> >
> > You will see that it now also still works correctly. It looks like
> > something with strings is being fixed with the IntToStr call.
>
> >>Nope, temp ansistring management :(
>
> So what can be done about this?
Make MINIMAL code that reproduces this, and we'll fix it ASAP.
And by MINIMAL I understand a standalone program that can be compiled
with the minimum of neede units. I.e. no FCL, GTK etc.
(just trying to lure you out of 'compile lazarus, line .. in ..' :-) )
Florian has done a MAJOR overhaul of the ansistrings code, but apparently, not
everything has been fixed yet :(
Michael.
More information about the Lazarus
mailing list