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

[Perl/perl5] b18a13: ParseXS - Disable alias value collisionwarnings b...

From:
Yves Orton via perl5-changes
Date:
November 16, 2022 10:16
Subject:
[Perl/perl5] b18a13: ParseXS - Disable alias value collisionwarnings b...
Message ID:
Perl/perl5/push/refs/heads/yves/dev_mode_parsexs/000000-b18a13@github.com
  Branch: refs/heads/yves/dev_mode_parsexs
  Home:   https://github.com/Perl/perl5
  Commit: b18a133645ca97d4664d8096536c1c82f450cacf
      https://github.com/Perl/perl5/commit/b18a133645ca97d4664d8096536c1c82f450cacf
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
    M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
    M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/CountLines.pm
    M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Eval.pm
    M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
    M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
    M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Cmd.pm
    M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/InputMap.pm
    M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/OutputMap.pm
    M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Type.pm
    M dist/ExtUtils-ParseXS/lib/perlxs.pod
    M dist/ExtUtils-ParseXS/t/001-basic.t

  Log Message:
  -----------
  ParseXS - Disable alias value collision warnings by default

We always had a bug with the value 0, when fixing it, we discovered a lot
of people were doing duplicate aliases with 0. This patch disables the warnings
except when in a special dev mode, as it makes no sense to show warnings
like thus to end users, its not a system issue its a code issue, and only
the XS files author can fix it. It would seem most times its not an issue
and is entirely deliberate. So showing such warnings only on request also
makes sense.





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