[fpc-devel] Breaking change in FPC 2.6.1

Vincent Snijders vincent.snijders at gmail.com
Tue Apr 24 21:25:31 CEST 2012


Op 24 april 2012 21:16 heeft Marcos Douglas <md at delfire.net> het
volgende geschreven:
> 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).
>

If this changes is kept, maybe it should be added to
http://wiki.freepascal.org/User_Changes_Trunk and
http://wiki.freepascal.org/User_Changes_2.6.2 (to be created).

Vincent



More information about the fpc-devel mailing list