This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add Perl_ck_warner_d(), which combines Perl_ckwarn_d() and Perl_warner().
authorNicholas Clark <nick@ccl4.org>
Mon, 12 Oct 2009 15:39:02 +0000 (16:39 +0100)
committerNicholas Clark <nick@ccl4.org>
Mon, 12 Oct 2009 15:39:02 +0000 (16:39 +0100)
commit9b38784150c0aca5746105b5f00bfc653322bcd1
tree48457d0d7c2cf65438740ec90bf3382203837dba
parenta2a5de9516c1b256b060768ac6dad252a3aa3be7
Add Perl_ck_warner_d(), which combines Perl_ckwarn_d() and Perl_warner().

Replace ckWARN_d{,2,3,4}() && Perl_warner() with it, which trades reduced code
size for 1 more function call if warnings are not enabled.
19 files changed:
av.c
doio.c
dump.c
embed.fnc
embed.h
global.sym
gv.c
hv.c
malloc.c
numeric.c
op.c
pad.c
perl.c
proto.h
sv.c
taint.c
toke.c
utf8.c
util.c