develooper Front page | perl.perl5.porters | Postings from October 2017

Newly introduced build warnings

Thread Next
From:
James E Keenan
Date:
October 14, 2017 06:03
Subject:
Newly introduced build warnings
Message ID:
da7c9242-1d78-ee4a-8ded-626e3231f335@pobox.com
At commit b85413f2f7e3a987c10194a0773619f2538abf73, when I configure as 
I do everyday (unthreaded Linux; gcc-5.4.0) and call 'make', I now get 
113 instances of this warning:

#####
echo @`sh  cflags "optimize='-O2'" opmini.o`  -DPERL_IS_MINIPERL 
-DPERL_EXTERNAL_GLOB opmini.c
@cc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O2 -Wall -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB 
opmini.c
In file included from hv_func.h:35:0,
                  from hv.h:653,
                  from perl.h:3926,
                  from op.c:163:
sbox32_hash.h:4:1: warning: unknown option after ‘#pragma GCC 
diagnostic’ kind [-Wpragmas]
  GCC_DIAG_IGNORE(-Wimplicit-fallthrough)
  ^
#####

Can these warnings be removed so that we once again get a warnings-free 
build with this version of gcc?

Thank you very much.
Jim Keenan

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