[fpc-devel] Ref documentation doesn't mention "deprecated" keyword

Daniël Mantione daniel.mantione at freepascal.org
Mon Jun 1 10:24:30 CEST 2009



Op Mon, 1 Jun 2009, schreef Graeme Geldenhuys:

> How do you mark a unit as deprecated?
> In the user.pdf I have seen many references to units being deprecated
> (eg: graph, oldlinux, etc), but I have only seen that being mentioned
> in the documentation. There doesn't seem to be any compiler reference
> or deprecated keyword marking that unit as deprecated. Or I clearly
> missed something. ;-)

There is a distinction between legacy & deprecated. I.e. Graph remains a 
supported unit. It may not be the best idea for new code, but there is no 
recommendation against using it.

Daniël


More information about the fpc-devel mailing list