[Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

Martin Schreiber mse00000 at gmail.com
Sun Feb 26 15:22:32 CET 2012


On Sunday, 26. February 2012 14.41:13 Marco van de Voort wrote:
> On Sun, Feb 26, 2012 at 08:15:13AM +0100, zeljko wrote:
> > On Saturday 25 of February 2012 20:20:51 Max Vlasov wrote:
> > > Tried make it from scratch on a machine without fpc and lazarus.
> > > Download both trunk, but 35594 can't compile with
> > >
> > > dbgrids.pas(1991,31) Error: Incompatible types: got "Pointer" expected
> > > "AnsiString"
> >
> > That have nothing to do with problem you've mentioned. Probably somebody
> > commited code which works on 2.6/2.7 but not on 2.4.5.
>
> No. 2.7.x changed tbookmark from binary-data-encoded-in-an-ansistring to an
> abstract type for compat of D2006+. The idea is to merge this back to 2.6.1
> too. (so fix with fullversion>20600)
>
How does the memory release work? With tbookmarkstr it was done automatically 
by the compiler.

Martin




More information about the Lazarus mailing list