[fpc-devel] deprecated keyword
Graeme Geldenhuys
graemeg.lists at gmail.com
Tue Aug 28 11:31:14 CEST 2007
Hi
FPC seems to allow the 'deprecated' keyword after a method
declaration, but what exactly does the compiler do with that keyword?
I don't see any special messages or anything from the compiler.
I think at compile time the compiler should raise a warning wherever
that deprecated method is used somewhere.
The deprecated keyword could be used in frameworks or libraries
designed with Free Pascal and that get maintained over many years. As
code evolves, things change. I think this will be very handy for
developers giving them a early warning to update their code without
breaking it.
Just my thoughts...
Regards,
- Graeme -
More information about the fpc-devel
mailing list