On 2015-09-16 15:50, Klaus Hartnegg wrote: > if the docs and the compiler say that a function is deprecated, how can > I find out which other function should be used instead?
I suggest you report those as a bug in FPC, and a bug in the Documentation. The Object Pascal language supports the syntax that allows a short message to guide the developer to the replacement or alternative: <deprecated ['some message'];> That message will also appear in the compiler output. For example: procedure UpdateWindowPosition; deprecated 'use UpdatePosition'; The fpdoc documentation tool also supports the ability to correctly document deprecated methods, classes etc. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal