On Tue, Mar 25, 2008 at 9:30 PM, chromatic <[EMAIL PROTECTED]> wrote:
> On Tuesday 25 March 2008 21:01:41 Will Coleda via RT wrote:
>
>  > On Sat Dec 01 14:22:59 2007, coke wrote:
>  > > from DEPRECATED.pod
>
>  > > The PMC union struct is deprecated and will be removed once all core PMCs
>  > > have been updated.
>
>  > This has happened, correct?
>
>  Not yet.  PDD 17 made this possible, but someone (and your first two guesses
>  don't count) has to update all of the core PMCs and the language PMCs not to
>  use the cache structure.
>
>
>  > Some pointers on how to implement this would probably turn this into a
>  > decent CAGE task...
>
>  1) Figure out what kind of data the PMC stores
>  2) Replace all uses of PMC_int_val(), PMC_float_val(), and PMC_str_val() with
>  attribute access within the PMC
>  3) Replace all uses of those macros with attribute access outside of the PMC
>  4) Fix any compilation errors
>
to that end, a patch that spews warnings within those macros with
file/line info would be a great help. i'll code one up when i get a
chance, which will likely not be soon. feel free to beat me if you
find it helpful. i'd like very much to have this conversion done by
the next release.
~jerry

Reply via email to