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

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

From:
TAKAI Kousuke via perl5-changes
Date:
November 14, 2022 04:41
Subject:
[Perl/perl5] a503b7: Figure out I32df, U32uf, etc. in Configurerather ...
Message ID:
Perl/perl5/push/refs/heads/blead/ba63af-a503b7@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: a503b7406f4be5b6577fc63261184ffbe58009a1
      https://github.com/Perl/perl5/commit/a503b7406f4be5b6577fc63261184ffbe58009a1
  Author: TAKAI Kousuke <62541129+t-a-k@users.noreply.github.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M Configure
    M Cross/config.sh-arm-linux
    M Cross/config.sh-arm-linux-n770
    M Porting/Glossary
    M Porting/config.sh
    M config_h.SH
    M configure.com
    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 uconfig.sh
    M uconfig64.sh
    M win32/config.gc
    M win32/config.vc
    M win32/config_H.gc
    M win32/config_H.vc

  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.





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About