This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revert the support for new warning categories outside of "all"
authorÆvar Arnfjörð Bjarmason <avar@cpan.org>
Sun, 25 Jan 2015 14:10:13 +0000 (14:10 +0000)
committerÆvar Arnfjörð Bjarmason <avar@cpan.org>
Sun, 25 Jan 2015 15:16:21 +0000 (15:16 +0000)
commit3c3f8cd64edb32a0dac554f7a524cc222184c3ec
treea75cb811c9660e61940c6d7529b62ee7e9777163
parent75debb79e45d698f62a32fcd7d1b020a8a677eda
Revert the support for new warning categories outside of "all"

This reverts & amends my v5.21.7-151-gea5519d and Karl Williamson's
v5.21.7-183-g2f3cbe1, the latter was only need because of the
former.

I've also taken the opportunity to fix the long-standing trivial bug
with misaligned code in warnings.{pm,h}. That was easier to commit along
with this than to split it up from the other generated changes.

Why revert this? See the "use warnings 'absolutely-all-almost';" thread
on perl5-porters for the latest summary:

    http://www.nntp.perl.org/group/perl.perl5.porters/2015/01/msg225066.html

Basically as I explained in v5.21.7-151-gea5519d the current design of
the API makes it too contentious to freely add new warnings, but there's
no consensus on how to solve that. I.e. whether we should just add them
to "all", or do this change, or several other possible things outlined
in that thread and elsewhere.

Since the deadline for contentious changes for v5.22 is already past us
I'm backing this out for now.
lib/B/Deparse.t
lib/warnings.pm
mg.c
op.c
pod/perldiag.pod
pod/perlrun.pod
regen/warnings.pl
t/lib/warnings/op
t/op/caller.t
util.c
warnings.h