Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests fail when Perl uses 32-bit integers #12

Closed
cubranic opened this issue May 7, 2014 · 1 comment
Closed

Unit tests fail when Perl uses 32-bit integers #12

cubranic opened this issue May 7, 2014 · 1 comment

Comments

@cubranic
Copy link
Owner

cubranic commented May 7, 2014

Running t/io-parser.t on a 32-bit Ubuntu box, or in this CPAN Testers report:

Argument must be a number 0-4294967295: 305419896 at lib/Statistics/R/IO/Parser.pm line 145.
   # Child (int parsers) exited without calling finalize()

#   Failed test 'int parsers'
@cubranic
Copy link
Owner Author

cubranic commented May 7, 2014

Parser.pm:145 is the argument validity check in uint32:

die 'Argument must be a number 0-4294967295: ' . $arg
    unless looks_like_number($arg) && $arg < 1<<32 && $arg >= 0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant