develooper Front page | perl.perl5.porters | Postings from March 2016

Re: [perl #125887] warning: "PERL_UNUSED_DECL" redefined

Thread Previous
From:
Dave Mitchell
Date:
March 25, 2016 10:51
Subject:
Re: [perl #125887] warning: "PERL_UNUSED_DECL" redefined
Message ID:
20160325105102.GE29332@iabyn.com
On Mon, Aug 24, 2015 at 10:23:27AM -0700, KES wrote:
> AutoSplitting blib/lib/Text/VisualWidth.pm (blib/lib/auto/Text/VisualWidth)
> Running Mkbootstrap for Text::VisualWidth ()
> chmod 644 "VisualWidth.bs"
> "/usr/bin/perl" "/usr/share/perl/5.20/ExtUtils/xsubpp"  -typemap "/usr/share/perl/5.20/ExtUtils/typemap"  VisualWidth.xs > VisualWidth.xsc && mv VisualWidth.xsc VisualWidth.c
> cc -c  -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.20/CORE"   VisualWidth.c
> In file included from VisualWidth.xs:5:0:
> ppport.h:2979:0: warning: "PERL_UNUSED_DECL" redefined
>  #  define PERL_UNUSED_DECL
>  ^
> In file included from VisualWidth.xs:2:0:
> /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:302:0: note: this is the location of the previous definition
>  #    define PERL_UNUSED_DECL __attribute__unused__

This appears to be an issue with the ppport.h file included in an 8-year
old CPAN module, and not a problem with perl. I'll close this ticket

-- 
I before E. Except when it isn't.

Thread Previous


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