develooper Front page | perl.perl5.porters | Postings from February 2020

Re: Scalar-List-Utils 1.54 breaks Win32 builds.

Thread Previous | Thread Next
February 8, 2020 13:31
Re: Scalar-List-Utils 1.54 breaks Win32 builds.
Message ID:
Just an FYI update-type-thingy on this.
1.54 didn't break anything that wasn't already broken in 1.53 or 1.52
(probably even earlier).
What it did do was to include a corrected t/uniq.t that *exposed* that
pre-existing failure - which is now fixed in current github

The CI tests that get run for Dual-Life/Scalar-List-Utils don't (AFAIK)
test Windows systems.
How will they detect issues specific to mingw-built Windows perls ?
The failing test on the Windows smokers has nothing to do with trunc() -
which is available to mingw-built Windows perls.

AFAIK, the trunc() problem surfaces only with older Microsoft Compilers.
Latest Visual Studio 2019 toolchains provide trunc().
I know that my MSVC++ 8.0 (and earlier) doesn't provide trunc() ... but I
don't know when the transition from non-support of trunc() to support of
trunc() occurred.
In any case, the problem with tunc() should show up as an NA, not a FAIL.

For a correct fix of the issue surrounding trunc(), we need to know when
that transition happened.
Anyone ?

A fix for the trunc() problem is to replace:

ret -= trunc(ret);
#ifdef _MSC_VER
ret -= ret > 0 ? floor(ret) : ceil(ret);
ret -= trunc(ret);

but we don't really want to be enforcing that workaround when we don't need

I've just noticed there's some linux failures showing up now, too ... I
don't know anything about them.


On Sat, Feb 8, 2020 at 10:13 PM demerphq <> wrote:

> Hi Chris (and Paul and all),
> Chris, I think you forgot to do a smoke test for Win32 builds when you
> pushed Scalar-List-Utils 1.54. It broke all of our Win32 builds so I
> reverted the push.
> See
> Next time push to a branch and create a PR, and then wait, if it passes
> the CI tests it is safe to merge. Isn't GitHub wonderful. :-)
> cheers,
> Yves
> --
> perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About