...
In file included from /usr/lib/x86_64-linux-gnu/perl/5.24/CORE/perl.h:3905:0,
from /home/christian/prj/ai/freeciv/dependencies/freeciv/client/gui-swig/fc_swig_perl_side.h:53,
from /home/christian/prj/ai/freeciv/dependencies/freeciv/client/gui-swig/fc_swig_cside.c:36:
/usr/lib/x86_64-linux-gnu/perl/5.24/CORE/inline.h: Dans la fonction « S_cx_popsub_args »:
/usr/lib/x86_64-linux-gnu/perl/5.24/CORE/cop.h:612:13: erreur : declaration of « av » shadows a previous local [-Werror=shadow]
AV *av = GvAV(PL_defgv); \
^
/usr/lib/x86_64-linux-gnu/perl/5.24/CORE/cop.h:612:13: note : in definition of macro « CX_POP_SAVEARRAY »
AV *av = GvAV(PL_defgv); \
^~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.24/CORE/perl.h:5859:0,
from /home/christian/prj/ai/freeciv/dependencies/freeciv/client/gui-swig/fc_swig_perl_side.h:53,
from /home/christian/prj/ai/freeciv/dependencies/freeciv/client/gui-swig/fc_swig_cside.c:36:
/usr/lib/x86_64-linux-gnu/perl/5.24/CORE/inline.h:518:9: note : shadowed declaration is here
AV *av;
...
####
#define PERL_NO_INLINE_FUNCTIONS 1
####
//....
#ifdef __cplusplus
#include
#include
extern "C" {
#endif
#ifndef __cplusplus
#define PERL_NO_INLINE_FUNCTIONS 1
#endif
#include "EXTERN.h"
#if defined _
#undef _
#endif
#include "perl.h"
#include "XSUB.h"
#include
#ifdef __cplusplus
}
#endif
####
PERL_STATIC_NO_RET void S_croak_memory_wrap(void) {Perl_croak_nocontext("panic: memory wrap");}