In perl.git, the branch smoke-me/davem/cpan-build3 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/42f03cfe72660b94801706f26c763c3d11f91eba?hp=0000000000000000000000000000000000000000>
at 42f03cfe72660b94801706f26c763c3d11f91eba (commit)
- Log -----------------------------------------------------------------
commit 42f03cfe72660b94801706f26c763c3d11f91eba
Author: David Mitchell <[email protected]>
Date: Fri Dec 12 18:28:57 2014 +0000
Unicode::Collate: reduce noise in STDERR
output a note on STDOUT rather than STDERR.
M cpan/Unicode-Collate/Makefile.PL
commit af8898a5c5b598b454c867c6454e778127fddd9d
Author: David Mitchell <[email protected]>
Date: Mon Dec 15 17:46:18 2014 +0000
Time::Piece: silence some compiler warnings
There were a few "signed > unsigned" comparisons, and a couple
of static identifier strings weren't used. Silencing the latter
was problematic for achieving it on both gcc and clang' in the end
I created a fake function that uses the unused vars.
M cpan/Time-Piece/Piece.xs
commit f3a6a3ed63ad822d629c6748c37b6031d1be74cf
Author: David Mitchell <[email protected]>
Date: Tue Dec 16 12:53:19 2014 +0000
Time::HiRes: fix compiler warnings
On some platforms the 1st arg to get/setitimer is an enum, which
causes -Wc++-compat to complain about passing an int instead.
Since we don't portably know the enum type (on my linux system
it's __itimer_which_t), we cant reliably cast it. So just temporarily
disable -Wc++-compat.
M cpan/Time-HiRes/HiRes.xs
commit 0a38aa3ee8d2a2170263469d6a453dac79643b77
Author: David Mitchell <[email protected]>
Date: Fri Dec 12 16:30:49 2014 +0000
Test::Simple: silence some STDERR noise
t/Behavior/MonkeyPatching_diag.t calls diag() a few times, which causes
non-error stuff to appear on STDERR. I've silenced this by using
Test::Stream->intercept_start/stop, but I'm not at all familiar with the
IO model in Test::Simple and so don't know whether this is the best way to
do it
Ditto t/Test-Stream-Event-Diag.t.
M cpan/Test-Simple/t/Behavior/MonkeyPatching_diag.t
M cpan/Test-Simple/t/Test-Stream-Event-Diag.t
commit 4d7f8866d38cbf9b0f076c49ad496bacad2efd6d
Author: David Mitchell <[email protected]>
Date: Tue Dec 16 13:55:13 2014 +0000
Test::Simple: avoid warnings in subtest tests
Test::Simple can produce warnings when all subtests are skipped, e.g.
SKIP_ALL in subtest could not find flow-control label, using exception
for flow control
SKIP_ALL in subtest via 'BEGIN' or 'use', using exception for flow
control
(whether these should be warnings rather than going to STDOUT, I don't
have an opinion on).
A couple of tests in Test::Simple exercise this, resulting in output
to STDERR. Instead, trap the warnings and test that they are what we
expect.
M cpan/Test-Simple/t/Behavior/skip_all_in_subtest.t
M cpan/Test-Simple/t/Legacy/subtest/basic.t
commit fc393fbbda8269a28d2d990cbafb1277498e31f3
Author: David Mitchell <[email protected]>
Date: Tue Dec 9 10:30:47 2014 +0000
Test::Simple: less test noise on STDERR
Output info about successful forking to STDOUT rather than STDERR, which
should be reserved for when things have gone wrong.
M cpan/Test-Simple/t/Test-Stream-ForceExit.t
commit 31ce2fab9e5b4b76c9188f6b22def9f5c62fcfc2
Author: David Mitchell <[email protected]>
Date: Tue Dec 16 12:58:15 2014 +0000
Test::Harness: don't pollute STDERR
Make the informational message
No saved state, selection will be empty
appear on stdout rather than stderr.
M cpan/Test-Harness/lib/App/Prove/State.pm
commit 85c4290e7807b725e0ea82dfa643999f7c8ff2b8
Author: David Mitchell <[email protected]>
Date: Sat Dec 6 14:17:59 2014 +0000
Pod::Perldoc: don't make perldoc.1 during build
During the build of perl core, cpan/Pod-Perldoc tries to make perldoc.1,
but since lots of modules haven't been built yet, MM.pm fails to run
Pod::Man and spews warnings to STDERR. So skip it if PERL_CORE is true.
M cpan/Pod-Perldoc/Makefile.PL
commit 55b0a8da2aca5fe2e086126d8ac84d3bb90efeff
Author: David Mitchell <[email protected]>
Date: Tue Dec 9 10:46:25 2014 +0000
Module::Metadata: less test noise on STDERR
Output info about tmp dir creation to stdout rather than stderr, which
should be reserved for when things have gone wrong.
M cpan/Module-Metadata/t/metadata.t
commit 7f901352ce567dfed2b05678bfd448cc083500ca
Author: David Mitchell <[email protected]>
Date: Wed Dec 17 14:33:07 2014 +0000
Scalar-List-Utils: avoid warning
On clang with Address Sanitizer, ref addresses can be > 2**31,
so avoid these warnings:
Hexadecimal number > 0xffffffff non-portable
The code already did 'local $^W' but apparently this isn't enough.
M cpan/Scalar-List-Utils/t/refaddr.t
commit 3189532c3c7efdcf75e802ec3abe80369f029ebb
Author: David Mitchell <[email protected]>
Date: Fri Dec 19 17:52:03 2014 +0000
MIME::Base64: fix a couple of compiler warnings
A win32 smoker is showing:
Base64.xs(394) : warning C4146: unary minus operator applied to unsigned
type,
result still unsigned
Base64.xs(396) : warning C4146: unary minus operator applied to unsigned
type,
result still unsigned
Since I don't run windows, I can't yet confirm whether this commit
actually silences the warnings.
M cpan/MIME-Base64/Base64.xs
commit f23526b2d87ce879bdacba18161e264e5da436e4
Author: David Mitchell <[email protected]>
Date: Mon Dec 15 17:19:06 2014 +0000
List::Util: silence some compiler warnings
* the dMULTICALL stuff defines and sets a variable newsp which
isn't subsequently used
* in a couple of places the vars a and b are declared and set to
GvSV(agv) etc, but not subsequently used; get rid of them;
* in one place, the compiler is too dumb to determine that in all cases,
retval is initialised; so manually initialise it at the start.
M cpan/Scalar-List-Utils/ListUtil.xs
commit d37494696b768dfeacb830e9c4926f7a51d502f8
Author: David Mitchell <[email protected]>
Date: Mon Dec 8 12:43:04 2014 +0000
libnet: less test noise on STDERR
Change the tests so that information about the port a server has started
on etc, goes to to STDOUT rather than STDERR - which should be reserved for
when things have gone wrong.
M cpan/libnet/t/nntp_ipv6.t
M cpan/libnet/t/nntp_ssl.t
M cpan/libnet/t/pop3_ipv6.t
M cpan/libnet/t/pop3_ssl.t
M cpan/libnet/t/smtp_ipv6.t
M cpan/libnet/t/smtp_ssl.t
commit 7eb9f11cf686b5299cfb351826ca5e1d61b76568
Author: David Mitchell <[email protected]>
Date: Mon Dec 15 16:47:30 2014 +0000
Filter::Util::Call: silence two compiler warnings
There was a (cond ? unsigned : signed); and the variable
'package' is set, but not used, in unimport().
M cpan/Filter-Util-Call/Call.xs
commit 75d931fbc1632401366080a2821e19618815c1d8
Author: David Mitchell <[email protected]>
Date: Tue Dec 9 11:08:49 2014 +0000
EU::MakeMaker: reduce clutter on STDERR
Don't output to STDERR the message 'Processing hints file foo',
as STDERR should be reserved for warnings and errors.
Instead, sent it to STDOUT - and even then, only with $Verbose,
as otherwise it appears as spurious output when running t/hints.t
M cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm
M cpan/ExtUtils-MakeMaker/t/hints.t
commit 6e75a046251d8cae5e977099e455c4814832453e
Author: David Mitchell <[email protected]>
Date: Wed Dec 17 13:49:19 2014 +0000
ExtUtils::Install: avoid find warnings in -j build
Avoid warnings like:
Can't cd to (/foo/cpan/ExtUtils-Install/../../lib/auto/) ExtTest:
No such file or directory
at /foo/cpan/ExtUtils-Install/../../lib/ExtUtils/Installed.pm line
201.
on parallel 'make tests' when running a parallel build in perl core.
M cpan/ExtUtils-Install/lib/ExtUtils/Installed.pm
commit 06ed3f1cbbc0070cc01ec50b607e38c605babb24
Author: David Mitchell <[email protected]>
Date: Mon Dec 15 16:14:13 2014 +0000
EU::Constant: avoid 'uninit' warning
The code generated by ExtUtils::Constant can look something like:
static int
constant (..., IV *iv_return) {
switch (...) {
case ...:
*iv_return = ...;
return PERL_constant_ISIV;
...
}
}
{
int type;
IV iv;
type = constant(..., &iv);
switch (type) {
case PERL_constant_ISIV:
PUSHi(iv);
...
}
}
and the compiler isn't clever enough to realise that the value of iv
is only used in the code path where its been set.
So initialise it to zero to shut gcc up. Ditto nv and pv.
M cpan/ExtUtils-Constant/lib/ExtUtils/Constant.pm
commit 0bb4ac9e8114a2cf881ac329a6e5b3ef3c2d9dbd
Author: David Mitchell <[email protected]>
Date: Tue Dec 16 15:31:45 2014 +0000
encoding::warnings: don't warn about ${^ENCODING}
Assigning a non-undef value to ${^ENCODING} is deprecated, but presumably
encoding::warnings is allowed to do this.
M cpan/encoding-warnings/lib/encoding/warnings.pm
commit 899719ecbba2ff5cfc6e612203597a9f8cdf5a06
Author: David Mitchell <[email protected]>
Date: Tue Dec 16 17:22:13 2014 +0000
Encode::Unicode: avoid 'always true' warning
Introduce an attr_true() variant of the attr() macro to replace uses of
SvTRUE(attr(...)).
This avoids the code trying to determine the truthiness of &PL_sv_undef,
with the associated 'always true' warning.
M cpan/Encode/Unicode/Unicode.xs
commit f8b7cb0f522a3fa799c834b17fd09cd436f56b13
Author: David Mitchell <[email protected]>
Date: Fri Dec 5 16:28:33 2014 +0000
Encode/bin/enc2xs: don't write to STDERR
Progress reports aren't errors or warnings, so they should
got to STDOUT instead.
M cpan/Encode/bin/enc2xs
commit 70afcda1afc810a1582456a48948fbc6ebe022a2
Author: David Mitchell <[email protected]>
Date: Mon Dec 15 13:38:09 2014 +0000
update t/porting/customized.dat for MD5 mod
M t/porting/customized.dat
commit ded50410794bef3fae208cee7dd578519564f6c9
Author: David Mitchell <[email protected]>
Date: Mon Dec 15 13:04:49 2014 +0000
Digest::MD5: silence some compiler warnings
In
SvOBJECT(sv) && strEQ(HvNAME(SvSTASH(sv)), "Digest::MD5")
The compiler isn't psychic enough to know that HvNAME() will be non-null,
so assign it to a temp var and test for nullness.
M cpan/Digest-MD5/MD5.xs
M cpan/Digest-MD5/t/files.t
commit 6f806d38e06bd090a93e505e4755b471d0cdf105
Author: David Mitchell <[email protected]>
Date: Fri Dec 19 17:43:37 2014 +0000
Devel::PPPort: fix a couple of compiler warns
Some hand-crafted XS doesn't automatically get the
PERL_UNUSED_VAR(cv)
injected.
M cpan/Devel-PPPort/parts/inc/misc
commit 9d6cda049d80726498480f52ee7edbe4ba4f1780
Author: David Mitchell <[email protected]>
Date: Fri Dec 12 17:01:07 2014 +0000
Devel::PPPort: silence some build warnings
Some entries of the form
=for apidoc PL_parser-E<gt>linestr
have crept into the perl source (documenting structs rather than functions
or macros). Make PPPort silently ignore them rather than warning.
Whether it's wise for there to be such apidoc entries, and whether
its wise for PPPort to ignore them, I don't know.
M cpan/Devel-PPPort/parts/ppptools.pl
commit 4f5312af89fb8d986141aa48602e864d46f4df0e
Author: David Mitchell <[email protected]>
Date: Mon Dec 15 16:59:49 2014 +0000
Compress::Raw::Zlib: silence some compiler warnings
Some function args aren't used sometimes.
M cpan/Compress-Raw-Zlib/Zlib.xs
-----------------------------------------------------------------------
--
Perl5 Master Repository