[fpc-devel] Breaking change in FPC 2.6.1

Martin Schreiber mse00000 at gmail.com
Tue May 1 17:23:38 CEST 2012


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.

Martin



More information about the fpc-devel mailing list