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

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

From:
Yves Orton via perl5-changes
Date:
November 16, 2022 10:26
Subject:
[Perl/perl5] fa6606: ParseXS - Disable alias value collisionwarnings b...
Message ID:
Perl/perl5/push/refs/heads/yves/dev_mode_parsexs/b18a13-fa6606@github.com
  Branch: refs/heads/yves/dev_mode_parsexs
  Home:   https://github.com/Perl/perl5
  Commit: fa6606cf1e5a9bbf16ac51a45680b17659b256ca
      https://github.com/Perl/perl5/commit/fa6606cf1e5a9bbf16ac51a45680b17659b256ca
  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