> Brent, what do you need to help work this out? Is there anyone out > there who could loan a PPC account to Brent, or perhaps be familiar > enough with stdarg to take a look directly? (Or how about some > grizzled grayhair who can tell us if this approach is doomed for > portability reasons? Not that all the code needs to be identical for > all platforms; beating this with the Configure club is fine.)
Perl-5.8.0's Configure contains an appropriate va_copy test, and perl-5.8.0's handy.h contains an appropriate macro to use. (Earlier perl's didn't have the test, so we'll have to copy the test, not just use the Config.pm result, but that's no big deal.) Perl-5.8.0's PerlIO system does sundry tricks with varargs, and they work, so there's an existing working basis. The bigger issue is that Brent's clever way of using the same core for both direct vararags and pmc types relies on using data.obj as either a va_list or a pmc. I'm not sure if that'll work on PPC (or he may have to use a union or some such). Direct testing on PPC is the best bet to answer such questions. -- Andy Dougherty [EMAIL PROTECTED]