Bug#826420: libfile-write-rotate-perl: Use of code point 0xFFFFFFFFFFFFD9C5 is deprecated

gregor herrmann gregoa at debian.org
Sun Jun 5 14:07:11 UTC 2016


On Sun, 05 Jun 2016 16:37:50 +0300, Niko Tyni wrote:

> The test suite of this package triggers deprecation warnings on Perl 5.24
> (currently in experimental):
> 
>   Use of strings with code points over 0xFF as arguments to 1's complement (~) operator is deprecated at t/write.t line 51.
>   Use of code point 0xFFFFFFFFFFFFD9C5 is deprecated; the permissible max is 0x7FFFFFFFFFFFFFFF at t/write.t line 51.
>   Use of code point 0xFFFFFFFFFFFFD9C5 is deprecated; the permissible max is 0x7FFFFFFFFFFFFFFF in 1's complement (~) at t/write.t line 51.
>   Use of strings with code points over 0xFF as arguments to 1's complement (~) operator is deprecated at t/write.t line 51.
>   Use of code point 0xFFFFFFFFFFFFD9C5 is deprecated; the permissible max is 0x7FFFFFFFFFFFFFFF in 1's complement (~) at t/write.t line 51.
>   Use of strings with code points over 0xFF as arguments to 1's complement (~) operator is deprecated at t/write.t line 51.
>   Use of code point 0xFFFFFFFFFFFFD9C5 is deprecated; the permissible max is 0x7FFFFFFFFFFFFFFF at t/write.t line 51.
>   Use of code point 0xFFFFFFFFFFFFD9C5 is deprecated; the permissible max is 0x7FFFFFFFFFFFFFFF in 1's complement (~) at t/write.t line 51.
>   Use of strings with code points over 0xFF as arguments to 1's complement (~) operator is deprecated at t/write.t line 51.
>   Use of code point 0xFFFFFFFFFFFFD9C5 is deprecated; the permissible max is 0x7FFFFFFFFFFFFFFF in 1's complement ( ~) at t/write.t line 51.

Background:
https://metacpan.org/pod/release/RJBS/perl-5.24.0/pod/perldelta.pod#Doing-bitwise-operations-on-strings-containing-code-points-above-0xFF-is-deprecated

http://perldoc.perl.org/perldiag.html

  Use of strings with code points over 0xFF as arguments to %s operator is deprecated

  (D deprecated) You tried to use one of the string bitwise operators
  (& or | or ^ or ~ ) on a string containing a code point over 0xFF.
  The string bitwise operators treat their operands as strings of
  bytes, and values beyond 0xFF are nonsensical in this context.


Cheers,
gregor

-- 
 .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Bruce Springsteen: The Fuse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160605/70fe6343/attachment.sig>


More information about the pkg-perl-maintainers mailing list