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

[perl #133402] New compiler warning in core

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
July 22, 2018 17:05
Subject:
[perl #133402] New compiler warning in core
Message ID:
rt-4.0.24-1012-1532279128-1279.133402-15-0@perl.org
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 make_ext.pl lib/auto/Data/Dumper/Dumper.so  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 "Dumper.bs"
/home/jkeenan/gitwork/perl/dist/Data-Dumper/../../miniperl "-I../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- Dumper.bs ../../lib/auto/Data/Dumper/Dumper.bs 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/Dumper.so
clang  -shared -O2 -L/usr/local/lib -fstack-protector-strong  Dumper.o  -o ../../lib/auto/Data/Dumper/Dumper.so  \
      \
  
chmod 755 ../../lib/auto/Data/Dumper/Dumper.so
make[1]: Leaving directory '/home/jkeenan/gitwork/perl/dist/Data-Dumper'
./miniperl -Ilib make_ext.pl lib/auto/DB_File/DB_File.so  MAKE="make" LIBPERL_A=libperl.a LINKTYPE=dynamic
#####

-- 
James E Keenan (jkeenan@cpan.org)

---
via perlbug:  queue: perl5 status: resolved
https://rt.perl.org/Ticket/Display.html?id=133402

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About