This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revert "Fix Time::HiRes compile probe on VMS"
authorCraig A. Berry <craigberry@mac.com>
Sat, 2 Jan 2021 22:48:21 +0000 (16:48 -0600)
committerCraig A. Berry <craigberry@mac.com>
Sun, 3 Jan 2021 17:09:33 +0000 (11:09 -0600)
commit08ac607a2fe5c53538767d3fe608e98f726e0bec
tree1465c2415a53fe2687f7b79bf2ed7c82b88b3556
parent5bd38fbfd04fc614128ba3d481fc326ef9fddbfa
Revert "Fix Time::HiRes compile probe on VMS"

This reverts commit 9eebd4ca7bb8610f51a27d96c12e9b1676958d55.

It turns out that probing for the existence of functions also
only generates informational messages (and thus a successful
exit status) when the function is missing, e.g.:

    ret = clock_nanosleep(CLOCK_REALTIME, 0, &ts1, &ts2);
..........^
%CC-I-IMPLICITFUNC, In this statement, the identifier "clock_nanosleep" is implicitly declared as a function.
at line number 13 in file D0:[craig.blead.dist.Time-HiRes]try.c;1

And we aren't linking in Time::HiRes's probes on VMS since making
that work both in and out of core in a general way is no small
feat.

So we go back to requiring no compiler messages in the test
compiles.
Porting/Maintainers.pl
dist/Time-HiRes/Makefile.PL
t/porting/customized.dat