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

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

From:
Yves Orton via perl5-changes
Date:
November 16, 2022 12:09
Subject:
[Perl/perl5] 6cc063: ParseXS - Disable alias value collisionwarnings b...
Message ID:
Perl/perl5/push/refs/heads/yves/dev_mode_parsexs/fa6606-6cc063@github.com
  Branch: refs/heads/yves/dev_mode_parsexs
  Home:   https://github.com/Perl/perl5
  Commit: 6cc0635065b26db066df8f0f385886926dd53c17
      https://github.com/Perl/perl5/commit/6cc0635065b26db066df8f0f385886926dd53c17
  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 author mode, as it makes no sense to show these warnings
to end users. It would seem most times creating such aliases is not an issue and
is entirely deliberate. So showing such warnings only to module authors and 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