This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
diag.t, perldiag.pod: Make sure S is used for Perl_warn
authorFather Chrysostomos <sprout@cpan.org>
Tue, 28 May 2013 01:02:21 +0000 (18:02 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 28 May 2013 01:02:21 +0000 (18:02 -0700)
commitff9c1ae817f5e4013e88b98792d9dba6b0010a29
treede0f1c6bfc0dd305ee173ba646a2b6d1211be361
parent4587c5322c964beac01a38188957ca11026dc766
diag.t, perldiag.pod: Make sure S is used for Perl_warn

Perl_warn does not allow a category, and is not used in conjunction
with ckWARN checks (if it is, that is a bug, as such warnings will
be emitted when the category is enabled, but not fatal when the
category is fatal).  So such warnings are mandatory and should be
marked with S.
pod/perldiag.pod
t/porting/diag.t