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

[Bug Perl 5.24] warning from cop.h

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
May 17, 2016 03:08
Subject:
[Bug Perl 5.24] warning from cop.h
Message ID:
20160517030818.GB24465@math.berkeley.edu
I see
In file included from /home/njh/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/arm-freebsd-thread-multi/CORE/perl.h:5853:
/home/njh/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/arm-freebsd-thread-multi/CORE/inline.h:526:5: warning: declaration shadows a local variable [-Wshadow]
    CX_POP_SAVEARRAY(cx);
    ^
/home/njh/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/arm-freebsd-thread-multi/CORE/cop.h:612:13: note: expanded from macro 'CX_POP_SAVEARRAY'
        AV *av = GvAV(PL_defgv);                                        \
            ^
/home/njh/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/arm-freebsd-thread-multi/CORE/inline.h:518:9: note: previous declaration is here
    AV *av;
        ^

For details, see
   http://www.cpantesters.org/cpan/report/5a642070-1a5e-11e6-b928-8293027c4940

Apparently, this is new in v5.24.

Hope this helps,
Ilya


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