develooper Front page | perl.perl5.porters | Postings from July 2018

[perl #133402] New compiler warning in core

Thread Previous | Thread Next
James E Keenan via RT
July 22, 2018 17:05
[perl #133402] New compiler warning in core
Message ID:
On Sun, 22 Jul 2018 15:58:08 GMT, khw wrote:
> Fixed by 
> 97331932894f78068865a177f5defc4d0ca89041
> 7ac2b6036a28da8067569cd6fc1714d40277fc49

Karl, as noted by randir in #p5p, I think those commits resolved 133401, not 133402.  I'm getting these compilation warnings during 'make':

$ grep -C10 'warning:' 133402.make.output.txt 
./miniperl -Ilib lib/auto/Data/Dumper/  MAKE="make" LIBPERL_A=libperl.a LINKTYPE=dynamic
Generating a Unix-style Makefile
Writing Makefile for Data::Dumper
make[1]: Entering directory '/home/jkeenan/gitwork/perl/dist/Data-Dumper'
Running Mkbootstrap for Dumper ()
chmod 644 ""
/home/jkeenan/gitwork/perl/dist/Data-Dumper/../../miniperl "-I../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- ../../lib/auto/Data/Dumper/ 644
"../../miniperl" "-I../../lib" "../../lib/ExtUtils/xsubpp"  -typemap '/home/jkeenan/gitwork/perl/dist/Data-Dumper/../../lib/ExtUtils/typemap'  Dumper.xs > Dumper.xsc
mv Dumper.xsc Dumper.c
clang -c   -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -Wall -Werror=declaration-after-statement -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings -O2   -DVERSION=\"2.171\" -DXS_VERSION=\"2.171\" -fPIC "-I../.."   Dumper.c
Dumper.xs:92:13: warning: unused function 'globname_supra_ascii' [-Wunused-function]
static bool globname_supra_ascii(const char *s, STRLEN len);
1 warning generated.
rm -f ../../lib/auto/Data/Dumper/
clang  -shared -O2 -L/usr/local/lib -fstack-protector-strong  Dumper.o  -o ../../lib/auto/Data/Dumper/  \
chmod 755 ../../lib/auto/Data/Dumper/
make[1]: Leaving directory '/home/jkeenan/gitwork/perl/dist/Data-Dumper'
./miniperl -Ilib lib/auto/DB_File/  MAKE="make" LIBPERL_A=libperl.a LINKTYPE=dynamic

James E Keenan (

via perlbug:  queue: perl5 status: resolved

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