[fpc-devel] Breaking change in FPC 2.6.1

Martin Schreiber mse00000 at gmail.com
Tue May 1 15:06:25 CEST 2012


On Tuesday 01 May 2012 14:48:48 Michael Van Canneyt wrote:
> On Tue, 1 May 2012, Martin Schreiber wrote:
> > On Tuesday 01 May 2012 13:50:49 Sven Barth wrote:
> >> On 01.05.2012 13:50, Martin Schreiber wrote:
> >>>> Anyway, the change is undone, we're back on TBookmarkStr.
> >>>> TBookMarkStr is now marked deprecated. Revision 21155.
> >>>
> >>> Thank you very much. That means it is not possible to work with
> >>> fixes_2_6 without "deprecated" warnings? TDataset.Bookmark is of type
> >>> TBookmarkStr but TBookmarkStr is deprecated?
> >>
> >> Exactly. These were added to remind everyone who uses TBookmarkStr that
> >> there WILL be a change after 2.6.2 has been released (thus in 2.6.3) as
> >> Michael explained.
> >
> > What do you suggest to avoid the warning?
>
> fpc yourproject |& grep -iv deprecated
>
I don't think MSEide users like that solution. What about real "deprecated" 
warnings where it is possible to use a not deprecated construct instead?
In MSEgui I probably will introduce "bookmarkty" in order to hide the change 
but what about Lazarus which must be Delphi compatible?

Martin




More information about the fpc-devel mailing list