Re: automake-1.17 fails with latest Perl (5.41.8) - Possible precedence problem between ! and numeric eq (==)

Igor Todorovski <[email protected]> Thu, 30 Jan 2025 02:45:22 +0000
Newsgroups gmane.comp.sysutils.automake.general
Message-ID <SJ0PR15MB46960FE655C7BFB91171E0C9EDE92@SJ0PR15MB4696.namprd15.prod.outlook.com>
Here’s the thread where I have reported the issue to the perl community : https://github.com/Perl/perl5/issues/22954#issuecomment-2622966302

From: Igor Todorovski <[email protected]>
Date: Wednesday, January 29, 2025 at 4:48 PM
To: [email protected] <[email protected]>
Subject: automake-1.17 fails with latest Perl (5.41.8) - Possible precedence problem between ! and numeric eq (==)
With the latest version of Perl (Perl 5.41.8), automake 1.17 exits due to an error:

./bin/automake-1.17 ; echo $?
Possible precedence problem between ! and numeric eq (==) at ./bin/automake-1.17 line 6875.
255

This is the relevant code:

  return (!!$val == $neg) ? '##%' : '';