in reply to Re^6: ExtUtils::ParseXS has changed
in thread ExtUtils::ParseXS has changed

When I read that link it seems to me that the current PDL code is totally misusing the NO_INIT keyword.

Yes, this.

No, it needs to go *before* CODE. (Perhaps that's what you meant.)

No, I meant after CODE, without NO_INIT , like you did in your tests, PDL_Long * pos;