The Perl approach is to create a type that's large enough to store an int or a pointer: IV. Apparently, it's not used properly everywhere, or it's misconfigured in your environment.
I know that there were a number of places where I32 was used where it shouldn't, and IV values were assigned to STRLEN variables, even though the latter can be smaller. I fixed those problems in substr for 5.12.0, but some remain elsewhere.
In reply to Re: [OT] LLP64 .v. LP64 portability
by ikegami
in thread [OT] LLP64 .v. LP64 portability
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |