In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/53dfb2b77ebf8ed9ec272b080bee192fb878051a?hp=790acddeaa0d2c73524596048b129561225cf100>
- Log ----------------------------------------------------------------- commit 53dfb2b77ebf8ed9ec272b080bee192fb878051a Author: James E Keenan <jkee...@cpan.org> Date: Sun May 14 09:57:21 2017 -0400 Avoid unused-parameter warning when compiling with g++. ----------------------------------------------------------------------- Summary of changes: XSUB.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XSUB.h b/XSUB.h index e74abae26f..ec7b58db95 100644 --- a/XSUB.h +++ b/XSUB.h @@ -119,7 +119,7 @@ is a lexical C<$_> in scope. * "STATIC", ie. it exports XSUB symbols. You probably don't want that. */ -#define XSPROTO(name) void name(pTHX_ CV* cv) +#define XSPROTO(name) void name(pTHX_ CV* cv __attribute__unused__) #undef XS #undef XS_EXTERNAL -- Perl5 Master Repository