[fpc-devel] Breaking change in FPC 2.6.1

Marcos Douglas md at delfire.net
Wed Apr 25 02:30:51 CEST 2012


On Tue, Apr 24, 2012 at 6:18 PM, Marco van de Voort <marcov at stack.nl> wrote:
> In our previous episode, Marcos Douglas said:
>> > every assignment of TDataset.Bookmark to a variable.
>> > As intended too?
>>
>> This broke the ZEOS 6.6.6-stable and 7.0.0-alpha too (patch to zeos 7
>> in attachment for somebody want).
>
> zeoslib_testing (7 trunk) has a "have_tbookmark" define to handle it, and it was
> already prepared for these (and the recordbuffer) changes:
>
> {$IF FPC_FULLVERSION>20600} // will be introduced in 2.6.2 (and up to date
> 2.6.1)
>    {$DEFINE WITH_TRECORDBUFFER}
>    {$DEFINE WITH_TBOOKMARK}              // Have TBookmark
>  {$IFEND}

I didn't know that. But I'm using 7-alpha now.
Anyway, thanks for the tip.

> ZEOS 6.6.6 stable was already broken on 2.6.0 anyway due to the "constref"
> changes.

Yes, but I changed the code to work.

Marcos Douglas



More information about the fpc-devel mailing list