Craig DeForest <[email protected]> writes:

> Alright, I checked in a new branch, 'fix-test-for-late-gcc', that
> builds okay on my mac (gcc 4.2.x) and declares the generic pdl_trans
> with an array of size 20. (The maximum value that occurs in live code
> in the tree is 14). Give it a shot if you don't mind, and see if it
> works on the new compiler.
>
> That may be the quickest fix - getting the mechanism Right with a true
> dynamically allocated helper structure would be enough of a mess that
> it might be best left for v3.0 if it works for you now.

That change does fix that issue. If you intend to push it, can you
change the comment, commit message to indicate that this really isn't
done to pacify the new compiler?

The new compiler removes unsafe code, while the old compiler just
blindly reads/writes out-of-bounds memory. This should have never
worked, and nobody fingered this earlier due purely to luck. The
compiler is fine.

dima

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to