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

Marco van de Voort marcov at stack.nl
Sun Feb 26 14:41:13 CET 2012


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)

I only noticed the lazarus breakage later, and wanted to wait what the laz
devels thought of it. If needed I can revert it for a while, so they can
work and test first.

I found no way to fix it under the hood.





More information about the Lazarus mailing list