bug-stow
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Operator precedence warning with Perl 5.40.0


From: Wolfgang Frisch
Subject: Operator precedence warning with Perl 5.40.0
Date: Thu, 11 Jul 2024 15:30:15 +0200
User-agent: Mozilla Thunderbird

Hi,

Perl 5.40.0 extended the scope of the precedence warning to include
ternary operators [1]. Stow now emits this warning at every run:

Possible precedence issue with control flow operator (exit) at /usr/bin/stow 
line 839

Please find a simple patch attached.

Best regards,
Wolfgang

[1] https://perldoc.perl.org/5.40.0/perldelta


--
Wolfgang Frisch <wolfgang.frisch@suse.com>
Security Engineer
OpenPGP fingerprint: A2E6 B7D4 53E9 544F BC13  D26B D9B3 56BD 4D4A 2D15
SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg

Attachment: avoid_precedence_warning.patch
Description: Text Data

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]