[fpc-devel]Weird isn't it ?
Michael Van Canneyt
michael.vancanneyt at wisa.be
Thu Feb 13 09:27:34 CET 2003
On Thu, 13 Feb 2003, Maly wrote:
> Anton Tichawa wrote:
> > Convernig the optimization .. try replacing the last line,
> >
> > FFS.ChDir(SavedPath);
> >
> > with
> >
> > AFS.ChDir(SavedPath);
> >
> > Because, it might seem to the compiler, that the last instruction is
> > write-only and should be deleted.
>
>
> /me bows deeply in respect :)
>
> i don't know how did You figure it out but i commented the
> Write and applied Your suggestion. and now everything's OK
Nevertheless, there is a bug in the compiler, since it should work
correctly both ways. Jonas, any comments ?
Michael.
More information about the fpc-devel
mailing list