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

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

From:
Yves Orton via perl5-changes
Date:
November 20, 2022 12:13
Subject:
[Perl/perl5] 78582e: ParseXS - Disable alias value collisionwarnings b...
Message ID:
Perl/perl5/push/refs/heads/blead/d569e7-78582e@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 78582e3195abdcf1b1a30de9faa509b874c7d89c
      https://github.com/Perl/perl5/commit/78582e3195abdcf1b1a30de9faa509b874c7d89c
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-11-20 (Sun, 20 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