[fpc-devel] Breaking change in FPC 2.6.1

Michael Van Canneyt michael at freepascal.org
Tue May 1 17:37:08 CEST 2012



On Tue, 1 May 2012, Martin Schreiber wrote:

> On Tuesday 01 May 2012 17:08:55 Michael Van Canneyt wrote:
>> On Tue, 1 May 2012, Hans-Peter Diettrich wrote:
>>> Michael Van Canneyt schrieb:
>>>> Well, then they'll have to live with the warning.
>>>>
>>>> And this is the point of having the warning in the first place. Make
>>>> people aware of a coming change.
>>>
>>> As already mentioned in this thread, a mere hint about "may change
>>> somehow, in the next version" is of no real use. IMO "deprecated" means
>>> to the user that he should change his code *now*, in anticipation of the
>>> coming change. This obviously is not the case with the breaking change of
>>> the bookmark type, where *no* workaround exists in the current release.
>>
>> Instead of repeating the remark, suggesting a solution would be useful.
>>
>> Criticism is easy. Coming up with solutions obviously much less so.
>>
> As written before, in MSEgui I'll define a "bookmarkty" type, so MSEgui users
> have "bookmarkty" in order to avoid the warning. FPC and Lazarus probably
> can't do the same because of Delphi compatibility. Suggestion:
> remove "deprecated" from TBookmarkStr in fixes_2_6.

Well, I think it is better to warn people of a coming change.

So I have added a description that warns people that it will disappear in 2.6.3.

Michael.



More information about the fpc-devel mailing list