diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-10-13 16:04:18 +0100 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2009-10-16 12:30:17 -0400 |
commit | d1d15184c41c6ad4f16829561163cd118e5ae917 (patch) | |
tree | 65d9365479cc68a7c33c3388058bc9654e4a500b /gv.c | |
parent | 43b3daf05d64926950dcc26b6a3e77b7c8f513da (diff) | |
download | perl-d1d15184c41c6ad4f16829561163cd118e5ae917.tar.gz |
Enable deprecation warnings by default.
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -729,9 +729,9 @@ Perl_gv_autoload4(pTHX_ HV *stash, const char *name, STRLEN len, I32 method) */ if (!method && (GvCVGEN(gv) || GvSTASH(gv) != stash) ) - Perl_ck_warner(aTHX_ packWARN(WARN_DEPRECATED), - "Use of inherited AUTOLOAD for non-method %s::%.*s() is deprecated", - packname, (int)len, name); + Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED), + "Use of inherited AUTOLOAD for non-method %s::%.*s() is deprecated", + packname, (int)len, name); if (CvISXSUB(cv)) { /* rather than lookup/init $AUTOLOAD here |