diff options
author | Abigail <abigail@abigail.be> | 2016-11-16 19:07:32 +0100 |
---|---|---|
committer | Abigail <abigail@abigail.be> | 2017-01-16 19:18:11 +0100 |
commit | ac6414262a1b4f261b44de47567879421546f605 (patch) | |
tree | 23bfd479e03d4b3802e3536e5bf39f75b7e5b679 /handy.h | |
parent | d1be68f6c29afe9530d0f04f52b6535313dc1ed2 (diff) | |
download | perl-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |