[fpc-devel] Breaking change in FPC 2.6.1

Marcos Douglas md at delfire.net
Tue Apr 24 21:16:18 CEST 2012


On Tue, Apr 24, 2012 at 3:56 PM, Martin Schreiber <mse00000 at gmail.com> wrote:
> Hi,
> Changing TDataset.Bookmark from TBookmarkStr to TBookmark in fixes_2_6 breaks
> FPC 2.6.0 compatible code. Is this intended?
> TBookmark is defined as "Pointer" which has no automatic memory management so
> probably TDataset.FreeBookmark() must be called in a try finally block for
> 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).

Marcos Douglas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zeos7.0.0-alpha__fpc2.6.1
Type: application/octet-stream
Size: 1769 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20120424/7c9c8031/attachment.obj>


More information about the fpc-devel mailing list