[fpc-devel] Breaking change in FPC 2.6.1

Martin Schreiber mse00000 at gmail.com
Wed May 2 11:32:09 CEST 2012


 On 02.05.2012 10:47, michael.vancanneyt at wisa.be wrote:
>> For users who do not want to see the "deprecated" warnings in
>> fixes_2_6 do
>>
>> In MSEide+MSEgui:
>>
>> Use "bookmarkty" instead of "TBookmarkStr" for bookmark variables.
>>
>> In Lazarus:
>>
>> Use "string" instead of "TBookmarkStr" for bookmark variables.
>
>
> This last one is bad advice, this code will break as soon as they
> switch to 2.6.3. Which, presumably, eventually they will. 

That's the idea. When one switches to trunk the compiler will stop at
the wrong types and one can change the types possibly in conditional
defines if one needs FPC 2.6.0 compatibility.
Or maybe Lazarus can define "bookmarkty" too for those who don't care
about Delphi compatibility?

Martin



More information about the fpc-devel mailing list