[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
RE: Test-Smoke improvements for Windows
On Thu, 11 Sep 2008, Steve Hay wrote:
> Why does your smoke have so many warnings?
>
> http://www.nntp.perl.org/group/perl.daily-build.reports/2008/09/msg59332.html
As I explained in my previous (private) message, those are
actually Win64 builds, not Win32 builds, you just can't tell from
the smoke report.
You see all those warnings because the Perl internals are not really
64-bit clean at all: Many APIs and internal variables are declared
as I32 and get assigned size_t, SSize_t or STRLEN values all over
the place.
You just don't notice this on most platforms because they use the ILP64
model, so "int", "long", "I32", and "IV" are all 64 bit wide. Win64 is
pretty much alone in using LLP64, where "int", "long" and "I32" are
all still 32 bits even when "IV" and pointers are 64 bit.
I once tried to clean this up, but did not manage to do this without
effectively turning almost all I32 uses into IV (with the exception
of the variables used to contain flags/bitmasks).
Cheers,
-Jan
- Follow-Ups from:
-
Andy Dougherty <doughera@lafayette.edu>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]