On Tue, Nov 30, 2010 at 04:34:08PM -0800, Jonathan Leto wrote: > Howdy, > > Whiteknight++ asks some good questions that we need to seriously think about. > > I think a utility that reads HLL source code and then prints out a > list of deprecations > with links to deprecation pages would mostly solve this problem. I am > willing to help > hack on this.
There's a gcc attribute deprecated, which you could use to annotate the relevant functions. It will generate warnings (IIRC) at compile time if anything uses the function. We're using it (with conditional code to enable it where supported) in the perl 5 core for things, and it seems to be a good fit for this problem. Nicholas Clark _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
