Rakudo build broken as of parrot RELEASE_2_10_1-633-ga3ca6c8

Nicholas Clark nick at ccl4.org
Wed Dec 1 11:21:23 UTC 2010


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


More information about the parrot-dev mailing list