Subject: | C99 barf from compiler w/0.10 |
Date: | Fri, 10 Jan 2020 18:33:56 +0000 |
To: | bugs-Object-Pad [...] rt.cpan.org |
From: | Matt S Trout <mst [...] shadowcat.co.uk> |
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Data::Dump 0 ... Yes (1.23)
Checking if you have ExtUtils::CBuilder 0 ... Yes (0.280230)
Checking if you have indirect 0 ... Yes (0.38)
Checking if you have Test::More 0.88 ... Yes (1.302136)
Building and testing Object-Pad-0.10
Building Object-Pad
cc -I/home/matthewt/perl5/perlbrew/perls/perl-5.28.0/lib/5.28.0/x86_64-linux/COR
E -DVERSION="0.10" -DXS_VERSION="0.10" -fPIC -Ihax -c -fwrapv -fno-strict-aliasi
ng -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFS
ET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -o lib/Object/Pad.o lib/Object/Pad.c
lib/Object/Pad.xs: In function ‘injected_constructor’:
lib/Object/Pad.xs:520:9: error: ‘for’ loop initial declarations are only allowed
in C99 mode
lib/Object/Pad.xs:520:9: note: use option -std=c99 or -std=gnu99 to compile your
code
error building lib/Object/Pad.o from 'lib/Object/Pad.c' at /home/matthewt/perl5/
perlbrew/perls/perl-5.28.0/lib/5.28.0/ExtUtils/CBuilder/Base.pm line 185.
-> FAIL Installing Object::Pad failed. See /home/matthewt/.cpanm/work/1578681116
.29513/build.log for details. Retry with --force to force install it.
--
Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue
http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/
Email me now on mst (at) shadowcat.co.uk and let's chat about how our CPAN
commercial support, training and consultancy packages could help your team.