This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
64-bit work. Now 32-bit platforms get a 100% make test
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 1 Aug 1999 22:22:51 +0000 (22:22 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 1 Aug 1999 22:22:51 +0000 (22:22 +0000)
commitcf2093f6405d08be483e037b6052608c46952a75
treea2572a825ae30eabcd1fee0cac65751bef6a4d05
parentad7e816fc202b9506cd8e0633196331ccf37f264
64-bit work.  Now 32-bit platforms get a 100% make test
with -Duse64bits (using long long).
Tested in Solaris 2.6 sparc  RH Linux 6.0 x86
(and Digital IX 4.0D, to get a true 64-bit opinion).  Now e.g.
'print unpack "q", pack "q", 12345678901'
should work on such 32-bit platforms.
Still a lot of printf()s behind -D which wrongly assume
that %ld/%lx and (long) are a good combination.
Introducing a slew of new macros intended to be used in printf()
format strings: e. g. PERL_PRId64 is the string to be used
when printing an IV, printf("%" PERL_PRId64 "\n", iv).
The PRI... naming follows the C9X naming of <inttypes.h> macros.

p4raw-id: //depot/cfgperl@3861
14 files changed:
Configure
config_h.SH
doio.c
dump.c
mg.c
op.c
perl.h
pp_ctl.c
pp_hot.c
pp_sys.c
sv.c
t/pragma/warn/sv
toke.c
util.c