I'm pretty sure that the problem with all the failed tests is that the test machines use different word sizes for C data types such as "unsigned short" and "unsigned long" and that's what's causing all the failures.

I'm fairly sure you're on the right track there. I think you'll find that all of the failures have the following in common:
$Config{intsize} is 4
$Config{longsize} is 8
$Config{ivtype} is long
$Config{ivsize} is 8

(All of this can be gleaned from the tester's reports, btw.) The key thing might well be that a 'long' is 64 bits on these architectures.

Cheers,
Rob

In reply to Re: A clean way to account for machine word sizes in XS code? by syphilis
in thread A clean way to account for machine word sizes in XS code? by dec

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.