diff options
author | Karl Williamson <khw@cpan.org> | 2017-12-19 16:03:39 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-01-19 11:20:11 -0700 |
commit | ba52ce15fe5ca68de1be69e394f41ccb48a731cc (patch) | |
tree | 12d167bb59e39ac5943c1a249f2cbe626170dfff /op.h | |
parent | 78ba90076f5958f9830fb2559e21420018be4f8d (diff) | |
download | perl-ba52ce15fe5ca68de1be69e394f41ccb48a731cc.tar.gz |
Deprecate above \xFF in bitwise string ops
This is already a fatal error for operations whose outcome depends on
them, but in things like
"abc" & "def\x{100}"
the wide character doesn't actually need to participate in the AND, and
so perl doesn't. As a result of the discussion in the thread beginning
with http://nntp.perl.org/group/perl.perl5.porters/244884, it was
decided to deprecate these ones too.
Diffstat (limited to 'op.h')
-rw-r--r-- | op.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1112,6 +1112,10 @@ C<sib> is non-null. For a higher-level interface, see C<L</op_sibling_splice>>. static const char * const fatal_above_ff_msg = "Use of strings with code points over 0xFF as arguments to " "%s operator is not allowed"; +static const char * const deprecated_above_ff_msg + = "Use of strings with code points over 0xFF as arguments to " + "%s operator is deprecated. This will be a fatal error in " + "Perl 5.32"; #endif |