develooper Front page | perl.perl5.changes | Postings from November 2022

[Perl/perl5] a503b7: Figure out I32df, U32uf, etc. in Configurerather ...

TAKAI Kousuke via perl5-changes
November 14, 2022 04:41
[Perl/perl5] a503b7: Figure out I32df, U32uf, etc. in Configurerather ...
Message ID:
  Branch: refs/heads/blead
  Commit: a503b7406f4be5b6577fc63261184ffbe58009a1
  Author: TAKAI Kousuke <>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M Configure
    M Cross/
    M Cross/
    M Porting/Glossary
    M Porting/
    M config_h.SH
    M perl.h
    M plan9/config.plan9
    M plan9/config_h.sample
    M plan9/config_sh.sample
    M pod/perldelta.pod
    M uconfig.h
    M win32/config.gc
    M win32/
    M win32/config_H.gc
    M win32/

  Log Message:
  Figure out I32df, U32uf, etc. in Configure rather than in perl.h

These macros were defined in perl.h using preprocessor conditionals,
but determining wheter I32 is "int" or "long" is pretty hard with
preprocessor, when INTSIZE == LONGSIZE.  The Configure script
should know exact underlying type of I32, so it should be able to
determine whether %d or %ld shall be used to format I32 value
more robustly.

Various pre-configured files, such as uconfig.h, are updated to
align with this. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About