summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2016-11-16 19:07:32 +0100
committerAbigail <abigail@abigail.be>2017-01-16 19:18:11 +0100
commitac6414262a1b4f261b44de47567879421546f605 (patch)
tree23bfd479e03d4b3802e3536e5bf39f75b7e5b679 /handy.h
parentd1be68f6c29afe9530d0f04f52b6535313dc1ed2 (diff)
downloadperl-ac6414262a1b4f261b44de47567879421546f605.tar.gz
Setting ${^ENCODE} will be fatal by 5.28.
Hence, we adapted the warning, to mention the version in which it will become a fatal error.
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/handy.h b/handy.h
index 041d1c457d..4d2f4bc933 100644
--- a/handy.h
+++ b/handy.h
@@ -2480,6 +2480,9 @@ void Perl_mem_log_del_sv(const SV *sv, const char *filename, const int linenumbe
# define deprecate_disappears_in(when,message) \
Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED), \
message ", and will disappear in Perl " when)
+# define deprecate_fatal_in(when,message) \
+ Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED), \
+ message ". Its use will be fatal in Perl " when)
#endif
/* Internal macros to deal with gids and uids */