Building M/MO/MONGODB/BSON-XS-v0.8.3.tar.gz Loading internal logger. Log::Log4perl recommended for better logging CPAN: HTTP::Tiny loaded ok (v0.096) CPAN: Net::SSLeay loaded ok (v1.96) CPAN: IO::Socket::SSL loaded ok (v2.099) Fetching with HTTP::Tiny: https://cpan.org/authors/01mailrc.txt.gz Reading '/home/cpancover/.cpan/sources/authors/01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.223) ............................................................................DONE Fetching with HTTP::Tiny: https://cpan.org/modules/02packages.details.txt.gz Reading '/home/cpancover/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Sun, 02 Aug 2026 18:54:54 GMT CPAN: HTTP::Date loaded ok (v6.08) ............................................................................DONE Fetching with HTTP::Tiny: https://cpan.org/modules/03modlist.data.gz Reading '/home/cpancover/.cpan/sources/modules/03modlist.data.gz' DONE Writing /home/cpancover/.cpan/Metadata 'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/home/cpancover/.cpan/prefs' CPAN: CPAN::Kwalify loaded ok (v5.50) Fetching with HTTP::Tiny: https://cpan.org/authors/id/M/MO/MONGODB/BSON-XS-v0.8.3.tar.gz CPAN: Digest::SHA loaded ok (v6.04) Fetching with HTTP::Tiny: https://cpan.org/authors/id/M/MO/MONGODB/CHECKSUMS Checksum for /home/cpancover/.cpan/sources/authors/id/M/MO/MONGODB/BSON-XS-v0.8.3.tar.gz ok 'YAML' not installed, will not store persistent state CPAN: CPAN::Meta::Requirements loaded ok (v2.145) CPAN: Parse::CPAN::Meta loaded ok (v2.150013) CPAN: CPAN::Meta loaded ok (v2.150013) CPAN: Module::CoreList loaded ok (v5.20260708) ---- Unsatisfied dependencies detected during ---- ---- MONGODB/BSON-XS-v0.8.3.tar.gz ---- Config::AutoConf [build_requires] Running install for module 'Config::AutoConf' Fetching with HTTP::Tiny: https://cpan.org/authors/id/A/AM/AMBS/Config-AutoConf-0.320.tar.gz Fetching with HTTP::Tiny: https://cpan.org/authors/id/A/AM/AMBS/CHECKSUMS Checksum for /home/cpancover/.cpan/sources/authors/id/A/AM/AMBS/Config-AutoConf-0.320.tar.gz ok Configuring A/AM/AMBS/Config-AutoConf-0.320.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Config::AutoConf Writing MYMETA.yml and MYMETA.json AMBS/Config-AutoConf-0.320.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for A/AM/AMBS/Config-AutoConf-0.320.tar.gz cp lib/Config/AutoConf.pm blib/lib/Config/AutoConf.pm AMBS/Config-AutoConf-0.320.tar.gz /usr/bin/make -- OK AMBS/Config-AutoConf-0.320.tar.gz Skipping test because of notest pragma Running make install for AMBS/Config-AutoConf-0.320.tar.gz Installing /usr/local/lib/perl5/site_perl/5.44.0/Config/AutoConf.pm Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod AMBS/Config-AutoConf-0.320.tar.gz /usr/bin/make install -- OK MONGODB/BSON-XS-v0.8.3.tar.gz Has already been unwrapped into directory /home/cpancover/.cpan/build/BSON-XS-v0.8.3-0 Configuring M/MO/MONGODB/BSON-XS-v0.8.3.tar.gz with Makefile.PL Checking for cc... cc Checking for cc... cc Checking for timespec... Warning: prerequisite BSON 1.012000 not found. Warning: prerequisite BSON::OID 0 not found. Warning: prerequisite BSON::Types 0 not found. Warning: prerequisite Tie::IxHash 0 not found. Warning: prerequisite boolean 0 not found. no Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for BSON::XS Writing MYMETA.yml and MYMETA.json MONGODB/BSON-XS-v0.8.3.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for M/MO/MONGODB/BSON-XS-v0.8.3.tar.gz ---- Unsatisfied dependencies detected during ---- ---- MONGODB/BSON-XS-v0.8.3.tar.gz ---- BSON [requires] BSON::OID [build_requires] BSON::Types [build_requires] Tie::IxHash [build_requires] boolean [requires] Running install for module 'BSON' Fetching with HTTP::Tiny: https://cpan.org/authors/id/M/MO/MONGODB/BSON-v1.12.2.tar.gz Checksum for /home/cpancover/.cpan/sources/authors/id/M/MO/MONGODB/BSON-v1.12.2.tar.gz ok Configuring M/MO/MONGODB/BSON-v1.12.2.tar.gz with Makefile.PL Warning: prerequisite Crypt::URandom 0 not found. Warning: prerequisite Tie::IxHash 0 not found. Warning: prerequisite boolean 0.45 not found. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for BSON Writing MYMETA.yml and MYMETA.json MONGODB/BSON-v1.12.2.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for M/MO/MONGODB/BSON-v1.12.2.tar.gz ---- Unsatisfied dependencies detected during ---- ---- MONGODB/BSON-v1.12.2.tar.gz ---- Crypt::URandom [requires] Tie::IxHash [requires] boolean [requires] Running install for module 'Crypt::URandom' Fetching with HTTP::Tiny: https://cpan.org/authors/id/D/DD/DDICK/Crypt-URandom-0.55.tar.gz Fetching with HTTP::Tiny: https://cpan.org/authors/id/D/DD/DDICK/CHECKSUMS Checksum for /home/cpancover/.cpan/sources/authors/id/D/DD/DDICK/Crypt-URandom-0.55.tar.gz ok Configuring D/DD/DDICK/Crypt-URandom-0.55.tar.gz with Makefile.PL getrandom from sys/random is AVAILABLE Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Crypt::URandom Writing MYMETA.yml and MYMETA.json DDICK/Crypt-URandom-0.55.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for D/DD/DDICK/Crypt-URandom-0.55.tar.gz cp lib/Crypt/URandom.pm blib/lib/Crypt/URandom.pm Running Mkbootstrap for URandom () chmod 644 "URandom.bs" "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- URandom.bs blib/arch/auto/Crypt/URandom/URandom.bs 644 "/usr/local/bin/perl" "/usr/local/lib/perl5/5.44.0/ExtUtils/xsubpp" -noprototypes -typemap '/usr/local/lib/perl5/5.44.0/ExtUtils/typemap' URandom.xs > URandom.xsc mv URandom.xsc URandom.c cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.55\" -DXS_VERSION=\"0.55\" -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" -DHAVE_CRYPT_URANDOM_NATIVE_GETRANDOM URandom.c rm -f blib/arch/auto/Crypt/URandom/URandom.so cc -shared -O2 -L/usr/local/lib -fstack-protector-strong URandom.o -o blib/arch/auto/Crypt/URandom/URandom.so \ \ chmod 755 blib/arch/auto/Crypt/URandom/URandom.so DDICK/Crypt-URandom-0.55.tar.gz /usr/bin/make -- OK DDICK/Crypt-URandom-0.55.tar.gz Skipping test because of notest pragma Running make install for DDICK/Crypt-URandom-0.55.tar.gz "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- URandom.bs blib/arch/auto/Crypt/URandom/URandom.bs 644 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/auto/Crypt/URandom/URandom.so Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/Crypt/URandom.pm Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod DDICK/Crypt-URandom-0.55.tar.gz /usr/bin/make install -- OK Running install for module 'Tie::IxHash' Fetching with HTTP::Tiny: https://cpan.org/authors/id/C/CH/CHORNY/Tie-IxHash-1.23.tar.gz Fetching with HTTP::Tiny: https://cpan.org/authors/id/C/CH/CHORNY/CHECKSUMS Checksum for /home/cpancover/.cpan/sources/authors/id/C/CH/CHORNY/Tie-IxHash-1.23.tar.gz ok CPAN: Module::Build loaded ok (v0.4234) Configuring C/CH/CHORNY/Tie-IxHash-1.23.tar.gz with Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Tie-IxHash' version '1.23' CHORNY/Tie-IxHash-1.23.tar.gz /usr/local/bin/perl Build.PL -- OK Running Build for C/CH/CHORNY/Tie-IxHash-1.23.tar.gz Building Tie-IxHash CHORNY/Tie-IxHash-1.23.tar.gz ./Build -- OK CHORNY/Tie-IxHash-1.23.tar.gz Skipping test because of notest pragma Running Build install for CHORNY/Tie-IxHash-1.23.tar.gz Building Tie-IxHash Installing /usr/local/lib/perl5/site_perl/5.44.0/Tie/IxHash.pm CHORNY/Tie-IxHash-1.23.tar.gz ./Build install -- OK Running install for module 'boolean' Fetching with HTTP::Tiny: https://cpan.org/authors/id/I/IN/INGY/boolean-0.46.tar.gz Fetching with HTTP::Tiny: https://cpan.org/authors/id/I/IN/INGY/CHECKSUMS Checksum for /home/cpancover/.cpan/sources/authors/id/I/IN/INGY/boolean-0.46.tar.gz ok Configuring I/IN/INGY/boolean-0.46.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for boolean Writing MYMETA.yml and MYMETA.json INGY/boolean-0.46.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for I/IN/INGY/boolean-0.46.tar.gz cp lib/boolean.pod blib/lib/boolean.pod cp lib/boolean.pm blib/lib/boolean.pm INGY/boolean-0.46.tar.gz /usr/bin/make -- OK INGY/boolean-0.46.tar.gz Skipping test because of notest pragma Running make install for INGY/boolean-0.46.tar.gz Installing /usr/local/lib/perl5/site_perl/5.44.0/boolean.pod Installing /usr/local/lib/perl5/site_perl/5.44.0/boolean.pm Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod INGY/boolean-0.46.tar.gz /usr/bin/make install -- OK MONGODB/BSON-v1.12.2.tar.gz Has already been unwrapped into directory /home/cpancover/.cpan/build/BSON-v1.12.2-0 MONGODB/BSON-v1.12.2.tar.gz Has already been prepared Running make for M/MO/MONGODB/BSON-v1.12.2.tar.gz cp lib/BSON/Bytes.pm blib/lib/BSON/Bytes.pm cp lib/BSON/ObjectId.pm blib/lib/BSON/ObjectId.pm cp lib/BSON/Array.pm blib/lib/BSON/Array.pm cp lib/BSON/Regex.pm blib/lib/BSON/Regex.pm cp lib/BSON/Code.pm blib/lib/BSON/Code.pm cp lib/BSON/Symbol.pm blib/lib/BSON/Symbol.pm cp lib/BSON/Doc.pm blib/lib/BSON/Doc.pm cp lib/BSON/PP.pm blib/lib/BSON/PP.pm cp lib/BSON/Int32.pm blib/lib/BSON/Int32.pm cp lib/BSON/Int64.pm blib/lib/BSON/Int64.pm cp lib/BSON/String.pm blib/lib/BSON/String.pm cp lib/BSON/DBPointer.pm blib/lib/BSON/DBPointer.pm cp lib/BSON/Decimal128.pm blib/lib/BSON/Decimal128.pm cp lib/BSON/Binary.pm blib/lib/BSON/Binary.pm cp lib/BSON/Timestamp.pm blib/lib/BSON/Timestamp.pm cp lib/BSON/Time.pm blib/lib/BSON/Time.pm cp lib/BSON/Double.pm blib/lib/BSON/Double.pm cp lib/BSON/OID.pm blib/lib/BSON/OID.pm cp lib/BSON/DBRef.pm blib/lib/BSON/DBRef.pm cp lib/BSON/MaxKey.pm blib/lib/BSON/MaxKey.pm cp lib/BSON/Raw.pm blib/lib/BSON/Raw.pm cp lib/BSON/Bool.pm blib/lib/BSON/Bool.pm cp lib/BSON/Types.pm blib/lib/BSON/Types.pm cp lib/BSON.pm blib/lib/BSON.pm cp lib/BSON/MinKey.pm blib/lib/BSON/MinKey.pm MONGODB/BSON-v1.12.2.tar.gz /usr/bin/make -- OK MONGODB/BSON-v1.12.2.tar.gz Skipping test because of notest pragma Running make install for MONGODB/BSON-v1.12.2.tar.gz Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Bytes.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/ObjectId.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Array.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Regex.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Code.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Symbol.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Doc.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/PP.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Int32.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Int64.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/String.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/DBPointer.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Decimal128.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Binary.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Timestamp.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Time.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Double.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/OID.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/DBRef.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/MaxKey.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Raw.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Bool.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/Types.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/BSON/MinKey.pm Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod MONGODB/BSON-v1.12.2.tar.gz /usr/bin/make install -- OK BSON::OID is up to date (v1.12.2). BSON::Types is up to date (v1.12.2). MONGODB/BSON-XS-v0.8.3.tar.gz Has already been unwrapped into directory /home/cpancover/.cpan/build/BSON-XS-v0.8.3-0 MONGODB/BSON-XS-v0.8.3.tar.gz Has already been prepared Running make for M/MO/MONGODB/BSON-XS-v0.8.3.tar.gz cp lib/BSON/XS.pm blib/lib/BSON/XS.pm Running Mkbootstrap for XS () chmod 644 "XS.bs" "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/BSON/XS/XS.bs 644 "/usr/local/bin/perl" "/usr/local/lib/perl5/5.44.0/ExtUtils/xsubpp" -noprototypes -typemap '/usr/local/lib/perl5/5.44.0/ExtUtils/typemap' xs/XS.xs > xs/XS.xsc mv xs/XS.xsc xs/XS.c cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o xs/XS.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" xs/XS.c In file included from bson/bson-compat.h:38, from bson/bson.h:23, from xs/XS.xs:19: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ In file included from bson/bson.h:30: bson/bson-atomic.h:46:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | # if BSON_GNUC_IS_VERSION(4, 1) | ^ bson/bson-atomic.h:73:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | # if BSON_GNUC_CHECK_VERSION(4, 1) | ^ In file included from /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/perl.h:8004, from xs/XS.xs:21: /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_av_store_simple': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:101:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 101 | SV** ary; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_av_new_alloc': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:197:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 197 | AV * const av = newAV(); | ^~ In file included from /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/perl.h:46: /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_av_remove_offset': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/config.h:1216:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1216 | #define SSize_t ssize_t /* signed count of bytes */ | ^~~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:219:5: note: in expansion of macro 'SSize_t' 219 | SSize_t i = AvARRAY(av) - AvALLOC(av); | ^~~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_hv_common_key_len': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:304:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 304 | STRLEN klen; | ^~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_rpp_pop_1_norc': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:643:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 643 | SV *sv = *PL_stack_sp--; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_rpp_context': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1095:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1095 | SV *top = *svp; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_sv_can_existdelete': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1234:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1234 | HV *stash = SvSTASH(SvRV(SvTIED_obj(sv, mg))); | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_ReANY': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1263:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1263 | XPV* const p = (XPV*)SvANY(re); | ^~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_bytes_to_utf8_temp_pv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1306:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1306 | void * free_me = NULL; | ^~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_utf8_to_bytes_temp_pv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1335:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1335 | void* dummy = NULL; | ^~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_utf8_to_bytes_overwrite': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1351:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1351 | void* dummy = NULL; | ^~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_valid_utf8_to_uv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1383:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1383 | const UV expectlen = UTF8SKIP(s); | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1385:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1385 | UV uv = 0; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_utf8_invariant_string_loc': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1592:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1592 | const U8* send = s + len; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1602:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1602 | const U8 * const per_byte_end = WORTH_PER_WORD_LOOP(x, send, 1); | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_utf8_string_flags': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:2331:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2331 | const U8 * first_variant; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_utf8_string_loclen': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:2379:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2379 | const U8 * first_variant; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_strict_utf8_string_loclen': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:2668:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2668 | const U8 * first_variant; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_c9strict_utf8_string_loclen': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:2718:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2718 | const U8 * first_variant; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_utf8_string_loclen_flags': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:2773:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2773 | const U8 * first_variant; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_utf8_fixed_width_buf_loclen_flags': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3292:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3292 | const U8 * maybe_partial; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_utf8_to_uv_msgs': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3350:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3350 | const U8 * s = s0; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3392:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3392 | bool success = utf8_to_uv_msgs_helper_(s0, e, cp_p, advance_p, | ^~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_utf8_to_uv_or_die': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3403:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3403 | UV cp; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_utf8n_to_uvchr_msgs': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3419:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3419 | UV cp; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_utf8_to_uvchr_buf': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3439:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3439 | UV cp; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_sv_only_taint_gmagic': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3977:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3977 | MAGIC *mg = SvMAGIC(sv); | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_gimme_V': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4000:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4000 | I32 cxix; | ^~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_pushblock': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4020:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4020 | PERL_CONTEXT * cx; | ^~~~~~~~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_pushsub': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4089:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4089 | U8 phlags = CX_PUSHSUB_GET_LVALUE_MASK(Perl_was_lvalue_sub); | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_popsub_common': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4111:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4111 | CV *cv; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_popsub_args': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4132:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4132 | AV *av; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_popformat': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4192:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4192 | CV *cv; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_popeval': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4256:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4256 | SV *sv; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_poploop': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4352:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4352 | PADOFFSET how_many = iterop->op_targ; | ^~~~~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4370:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4370 | MAGIC *mg = SvMAGIC(itervar); | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4375:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4375 | GV *gv = (GV *)mg->mg_obj; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_popgiven': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4444:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4444 | SV *sv; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_push_stackinfo': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4519:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4519 | PERL_SI *next = PL_curstackinfo->si_next; | ^~~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_pop_stackinfo': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4559:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4559 | PERL_SI * const prev = PL_curstackinfo->si_prev; | ^~~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_newPADxVOP': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4601:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4601 | OP *o = newOP(type, flags); | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_foldEQ': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4635:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4635 | const U8 *a = (const U8 *)s1; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_foldEQ_latin1': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4660:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4660 | const U8 *a = (const U8 *)s1; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_foldEQ_locale': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4679:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4679 | const U8 *a = (const U8 *)s1; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_mortal_getenv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4791:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4791 | char * ret; | ^~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_savepvn': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:5095:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 5095 | char *newaddr; | ^~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_savesvpv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:5115:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 5115 | STRLEN len; | ^~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_savesharedsvpv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:5129:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 5129 | STRLEN len; | ^~~~~~ In file included from /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/perl.h:8005: /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h: In function 'Perl_new_sv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h:72:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 72 | SV* sv; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h: In function 'Perl_newSV_type': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h:376:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 376 | SV *sv; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h: In function 'Perl_newSV_type_mortal': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h:544:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 544 | SV *sv = newSV_type(type); | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h: In function 'Perl_SvREFCNT_dec_NN': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h:724:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 724 | U32 rc = SvREFCNT(sv); | ^~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h: In function 'Perl_newRV_noinc': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h:998:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 998 | SV *sv = newSV_type(SVt_IV); | ^~ xs/XS.xs: In function 'iter_src_to_bson': xs/XS.xs:642:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 642 | STRLEN len; | ^~~~~~ xs/XS.xs:615:7: warning: unused variable 'i' [-Wunused-variable] 615 | int i; | ^ xs/XS.xs: In function 'sv_to_bson_elem': xs/XS.xs:967:16: warning: unused variable 'str_len' [-Wunused-variable] 967 | STRLEN str_len; | ^~~~~~~ xs/XS.xs:966:15: warning: unused variable 'str' [-Wunused-variable] 966 | char *str; | ^~~ xs/XS.xs:975:16: warning: unused variable 'str_len' [-Wunused-variable] 975 | STRLEN str_len; | ^~~~~~~ xs/XS.xs:974:15: warning: unused variable 'str' [-Wunused-variable] 974 | char *str; | ^~~ xs/XS.xs:1125:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1125 | I32 is_number = looks_like_number(sv); | ^~~ xs/XS.xs: In function 'get_regex_flags': xs/XS.xs:1281:7: warning: variable 'pat_sv' set but not used [-Wunused-but-set-variable] 1281 | SV *pat_sv; | ^~~~~~ xs/XS.xs: In function 'bson_doc_to_hashref': xs/XS.xs:1443:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1443 | int is_dbref = 1; | ^~~ xs/XS.xs: In function 'bson_doc_to_tiedhash': xs/XS.xs:1490:7: warning: unused variable 'tie' [-Wunused-variable] 1490 | SV *tie; | ^~~ xs/XS.xs: In function 'bson_elem_to_sv': xs/XS.xs:1655:19: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 1655 | if ( sublen != len ) { | ^~ xs/XS.xs:1715:9: warning: unused variable 'temp' [-Wunused-variable] 1715 | SV *temp; | ^~~~ xs/XS.xs: At top level: xs/XS.xs:138:12: warning: 'int64_as_SV' declared 'static' but never defined [-Wunused-function] 138 | static SV* int64_as_SV(int64_t value); | ^~~~~~~~~~~ xs/XS.xs:1350:12: warning: 'int64_to_math_bigint' defined but not used [-Wunused-function] 1350 | static SV* int64_to_math_bigint(int64_t value) { | ^~~~~~~~~~~~~~~~~~~~ xs/XS.xs:305:1: warning: 'call_sv_va' defined but not used [-Wunused-function] 305 | call_sv_va (SV *func, int num, ...) { | ^~~~~~~~~~ xs/XS.xs:247:1: warning: 'call_method_with_pairs_va' defined but not used [-Wunused-function] 247 | call_method_with_pairs_va (SV *self, const char *method, ...) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-atomic.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-atomic.c In file included from bson/bson-compat.h:38, from bson/bson-atomic.h:23, from bson/bson-atomic.c:18: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ bson/bson-atomic.h:46:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | # if BSON_GNUC_IS_VERSION(4, 1) | ^ bson/bson-atomic.h:73:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | # if BSON_GNUC_CHECK_VERSION(4, 1) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-clock.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-clock.c In file included from bson/bson-compat.h:38, from bson/bson-clock.c:27: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-context.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-context.c In file included from bson/bson-compat.h:38, from bson/bson-context.c:17: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ In file included from bson/bson-context.c:29: bson/bson-atomic.h:46:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | # if BSON_GNUC_IS_VERSION(4, 1) | ^ bson/bson-atomic.h:73:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | # if BSON_GNUC_CHECK_VERSION(4, 1) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-decimal128.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-decimal128.c In file included from bson/bson-decimal128.h:28, from bson/bson-decimal128.c:23: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ bson/bson-decimal128.c: In function 'bson_decimal128_to_string': bson/bson-decimal128.c:281:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 281 | for (i = 0; i < radix_position; i++) { | ^ bson/bson-decimal128.c: In function 'bson_decimal128_from_string': bson/bson-decimal128.c:588:17: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 588 | if (exponent <= radix_position && radix_position - exponent > (1 << 14)) { | ^~ bson/bson-decimal128.c:661:15: warning: unused variable 'round_bit' [-Wunused-variable] 661 | uint8_t round_bit = 0; | ^~~~~~~~~ bson/bson-decimal128.c:659:14: warning: unused variable 'end_of_string' [-Wunused-variable] 659 | size_t end_of_string = ndigits_read + includes_sign + saw_radix; | ^~~~~~~~~~~~~ bson/bson-decimal128.c:687:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] Devel::Cover: buffering ... 687 | for (; d_idx <= last_digit; d_idx++) { | ^~ bson/bson-decimal128.c:696:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 696 | for (; d_idx <= last_digit - 17; d_idx++) { | ^~ bson/bson-decimal128.c:703:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 703 | for (; d_idx <= last_digit; d_idx++) { | ^~ bson/bson-decimal128.c:466:11: warning: unused variable 'i' [-Wunused-variable] 466 | size_t i = 0; /* loop index over array */ | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-error.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-error.c In file included from bson/bson-compat.h:38, from bson/bson-error.c:21: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-iso8601.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-iso8601.c In file included from bson/bson-compat.h:38, from bson/bson-iso8601.c:18: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-iter.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-iter.c In file included from bson/bson-compat.h:38, from bson/bson.h:23, from bson/bson-iter.h:27, from bson/bson-iter.c:18: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ In file included from bson/bson.h:30: bson/bson-atomic.h:46:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | # if BSON_GNUC_IS_VERSION(4, 1) | ^ bson/bson-atomic.h:73:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | # if BSON_GNUC_CHECK_VERSION(4, 1) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-keys.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-keys.c In file included from bson/bson-keys.h:22, from bson/bson-keys.c:20: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-md5.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-md5.c In file included from bson/bson-compat.h:38, from bson/bson-md5.c:59: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ bson/bson-md5.c: In function 'bson_md5_append': bson/bson-md5.c:363:44: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 363 | int copy = (offset + nbytes > 64 ? 64 - offset : nbytes); | ^~~~~~~~~~~ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-memory.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-memory.c In file included from bson/bson-compat.h:38, from bson/bson-atomic.h:23, from bson/bson-memory.c:21: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ bson/bson-atomic.h:46:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | # if BSON_GNUC_IS_VERSION(4, 1) | ^ bson/bson-atomic.h:73:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | # if BSON_GNUC_CHECK_VERSION(4, 1) | ^ bson/bson-memory.c:35:1: warning: missing initializer for field 'padding' of 'bson_mem_vtable_t' {aka 'struct _bson_mem_vtable_t'} [-Wmissing-field-initializers] 35 | }; | ^ In file included from bson/bson-memory.c:23: bson/bson-memory.h:47:10: note: 'padding' declared here 47 | void *padding [4]; | ^~~~~~~ bson/bson-memory.c: In function 'bson_realloc_ctx': bson/bson-memory.c:185:27: warning: unused parameter 'ctx' [-Wunused-parameter] 185 | void *ctx) /* IN */ | ~~~~~~~~^~~ bson/bson-memory.c: In function 'bson_mem_restore_vtable': bson/bson-memory.c:302:4: warning: missing initializer for field 'padding' of 'bson_mem_vtable_t' {aka 'struct _bson_mem_vtable_t'} [-Wmissing-field-initializers] 302 | }; | ^ bson/bson-memory.h:47:10: note: 'padding' declared here 47 | void *padding [4]; | ^~~~~~~ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-oid.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-oid.c In file included from bson/bson-compat.h:38, from bson/bson-oid.c:17: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-reader.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-reader.c In file included from bson/bson-compat.h:38, from bson/bson.h:23, from bson/bson-reader.c:17: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ In file included from bson/bson.h:30: bson/bson-atomic.h:46:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | # if BSON_GNUC_IS_VERSION(4, 1) | ^ bson/bson-atomic.h:73:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | # if BSON_GNUC_CHECK_VERSION(4, 1) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-string.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-string.c In file included from bson/bson-compat.h:38, from bson/bson-string.c:22: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-timegm.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-timegm.c In file included from bson/bson-compat.h:38, from bson/bson-timegm.c:11: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-utf8.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-utf8.c In file included from bson/bson-memory.h:27, from bson/bson-utf8.c:20: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-value.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-value.c In file included from bson/bson-memory.h:27, from bson/bson-value.c:18: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-version.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-version.c cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-writer.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-writer.c In file included from bson/bson-private.h:22, from bson/bson-writer.c:18: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ In file included from bson/bson.h:30, from bson/bson-writer.h:22, from bson/bson-writer.c:19: bson/bson-atomic.h:46:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | # if BSON_GNUC_IS_VERSION(4, 1) | ^ bson/bson-atomic.h:73:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | # if BSON_GNUC_CHECK_VERSION(4, 1) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O2 -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson.c In file included from bson/bson-compat.h:38, from bson/bson.h:23, from bson/bson.c:18: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ In file included from bson/bson.h:30: bson/bson-atomic.h:46:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | # if BSON_GNUC_IS_VERSION(4, 1) | ^ bson/bson-atomic.h:73:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | # if BSON_GNUC_CHECK_VERSION(4, 1) | ^ bson/bson.c: In function '_bson_as_json_visit_utf8': bson/bson.c:2362:46: warning: unused parameter 'iter' [-Wunused-parameter] 2362 | _bson_as_json_visit_utf8 (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2363:46: warning: unused parameter 'key' [-Wunused-parameter] 2363 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_int32': bson/bson.c:2386:47: warning: unused parameter 'iter' [-Wunused-parameter] 2386 | _bson_as_json_visit_int32 (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2387:47: warning: unused parameter 'key' [-Wunused-parameter] 2387 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_int64': bson/bson.c:2400:47: warning: unused parameter 'iter' [-Wunused-parameter] 2400 | _bson_as_json_visit_int64 (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2401:47: warning: unused parameter 'key' [-Wunused-parameter] 2401 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_decimal128': bson/bson.c:2414:58: warning: unused parameter 'iter' [-Wunused-parameter] 2414 | _bson_as_json_visit_decimal128 (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2415:58: warning: unused parameter 'key' [-Wunused-parameter] 2415 | const char *key, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_double': bson/bson.c:2432:48: warning: unused parameter 'iter' [-Wunused-parameter] 2432 | _bson_as_json_visit_double (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2433:48: warning: unused parameter 'key' [-Wunused-parameter] 2433 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_undefined': bson/bson.c:2454:51: warning: unused parameter 'iter' [-Wunused-parameter] 2454 | _bson_as_json_visit_undefined (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2455:51: warning: unused parameter 'key' [-Wunused-parameter] 2455 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_null': bson/bson.c:2467:46: warning: unused parameter 'iter' [-Wunused-parameter] 2467 | _bson_as_json_visit_null (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2468:46: warning: unused parameter 'key' [-Wunused-parameter] 2468 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_oid': bson/bson.c:2480:45: warning: unused parameter 'iter' [-Wunused-parameter] 2480 | _bson_as_json_visit_oid (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2481:45: warning: unused parameter 'key' [-Wunused-parameter] 2481 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_binary': bson/bson.c:2498:49: warning: unused parameter 'iter' [-Wunused-parameter] 2498 | _bson_as_json_visit_binary (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2499:49: warning: unused parameter 'key' [-Wunused-parameter] 2499 | const char *key, | ~~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_bool': bson/bson.c:2525:46: warning: unused parameter 'iter' [-Wunused-parameter] 2525 | _bson_as_json_visit_bool (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2526:46: warning: unused parameter 'key' [-Wunused-parameter] 2526 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_date_time': bson/bson.c:2539:51: warning: unused parameter 'iter' [-Wunused-parameter] 2539 | _bson_as_json_visit_date_time (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2540:51: warning: unused parameter 'key' [-Wunused-parameter] 2540 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_regex': bson/bson.c:2555:47: warning: unused parameter 'iter' [-Wunused-parameter] 2555 | _bson_as_json_visit_regex (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2556:47: warning: unused parameter 'key' [-Wunused-parameter] 2556 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_timestamp': bson/bson.c:2574:51: warning: unused parameter 'iter' [-Wunused-parameter] 2574 | _bson_as_json_visit_timestamp (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2575:51: warning: unused parameter 'key' [-Wunused-parameter] 2575 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_dbpointer': bson/bson.c:2593:51: warning: unused parameter 'iter' [-Wunused-parameter] 2593 | _bson_as_json_visit_dbpointer (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2594:51: warning: unused parameter 'key' [-Wunused-parameter] 2594 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c:2595:51: warning: unused parameter 'v_collection_len' [-Wunused-parameter] 2595 | size_t v_collection_len, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ bson/bson.c: In function '_bson_as_json_visit_minkey': bson/bson.c:2621:48: warning: unused parameter 'iter' [-Wunused-parameter] 2621 | _bson_as_json_visit_minkey (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2622:48: warning: unused parameter 'key' [-Wunused-parameter] 2622 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_maxkey': bson/bson.c:2634:48: warning: unused parameter 'iter' [-Wunused-parameter] 2634 | _bson_as_json_visit_maxkey (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2635:48: warning: unused parameter 'key' [-Wunused-parameter] 2635 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_before': bson/bson.c:2649:48: warning: unused parameter 'iter' [-Wunused-parameter] 2649 | _bson_as_json_visit_before (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c: In function '_bson_as_json_visit_code': bson/bson.c:2679:46: warning: unused parameter 'iter' [-Wunused-parameter] 2679 | _bson_as_json_visit_code (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2680:46: warning: unused parameter 'key' [-Wunused-parameter] 2680 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_symbol': bson/bson.c:2703:48: warning: unused parameter 'iter' [-Wunused-parameter] 2703 | _bson_as_json_visit_symbol (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2704:48: warning: unused parameter 'key' [-Wunused-parameter] 2704 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c:2705:48: warning: unused parameter 'v_symbol_len' [-Wunused-parameter] 2705 | size_t v_symbol_len, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ bson/bson.c: In function '_bson_as_json_visit_codewscope': bson/bson.c:2720:52: warning: unused parameter 'iter' [-Wunused-parameter] 2720 | _bson_as_json_visit_codewscope (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2721:52: warning: unused parameter 'key' [-Wunused-parameter] 2721 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c:2724:52: warning: unused parameter 'v_scope' [-Wunused-parameter] 2724 | const bson_t *v_scope, | ~~~~~~~~~~~~~~~~~~~^~~~~~~ bson/bson.c: At top level: bson/bson.c:2770:1: warning: missing initializer for field 'padding' of 'bson_visitor_t' [-Wmissing-field-initializers] 2770 | }; | ^ In file included from bson/bson-context.h:28, from bson/bson.h:31: bson/bson-types.h:511:10: note: 'padding' declared here 511 | void *padding[7]; | ^~~~~~~ bson/bson.c: In function '_bson_as_json_visit_document': bson/bson.c:2780:4: warning: missing initializer for field 'depth' of 'bson_json_state_t' [-Wmissing-field-initializers] 2780 | bson_json_state_t child_state = { 0, true }; | ^~~~~~~~~~~~~~~~~ bson/bson.c:63:19: note: 'depth' declared here 63 | uint32_t depth; | ^~~~~ bson/bson.c:2774:50: warning: unused parameter 'iter' [-Wunused-parameter] 2774 | _bson_as_json_visit_document (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2775:50: warning: unused parameter 'key' [-Wunused-parameter] 2775 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_as_json_visit_array': bson/bson.c:2808:4: warning: missing initializer for field 'depth' of 'bson_json_state_t' [-Wmissing-field-initializers] 2808 | bson_json_state_t child_state = { 0, false }; | ^~~~~~~~~~~~~~~~~ bson/bson.c:63:19: note: 'depth' declared here 63 | uint32_t depth; | ^~~~~ bson/bson.c:2802:47: warning: unused parameter 'iter' [-Wunused-parameter] 2802 | _bson_as_json_visit_array (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c:2803:47: warning: unused parameter 'key' [-Wunused-parameter] 2803 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_iter_validate_utf8': bson/bson.c:2936:46: warning: unused parameter 'key' [-Wunused-parameter] 2936 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function '_bson_iter_validate_codewscope': bson/bson.c:3020:52: warning: unused parameter 'key' [-Wunused-parameter] 3020 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c:3021:52: warning: unused parameter 'v_code_len' [-Wunused-parameter] 3021 | size_t v_code_len, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ bson/bson.c:3022:52: warning: unused parameter 'v_code' [-Wunused-parameter] 3022 | const char *v_code, | ~~~~~~~~~~~~~~~~~~~^~~~~~ bson/bson.c: In function '_bson_iter_record_unsupported_type': bson/bson.c:3038:56: warning: unused parameter 'iter' [-Wunused-parameter] 3038 | _bson_iter_record_unsupported_type (const bson_iter_t *iter, | ~~~~~~~~~~~~~~~~~~~^~~~ bson/bson.c: At top level: bson/bson.c:3081:1: warning: missing initializer for field 'padding' of 'bson_visitor_t' [-Wmissing-field-initializers] 3081 | }; | ^ bson/bson-types.h:511:10: note: 'padding' declared here 511 | void *padding[7]; | ^~~~~~~ bson/bson.c: In function '_bson_iter_validate_document': bson/bson.c:3086:50: warning: unused parameter 'key' [-Wunused-parameter] 3086 | const char *key, | ~~~~~~~~~~~~~~~~~~~^~~ bson/bson.c: In function 'bson_validate': bson/bson.c:3127:4: warning: missing initializer for field 'invalid_key' of 'bson_validate_state_t' [-Wmissing-field-initializers] 3127 | bson_validate_state_t state = { flags, -1, BSON_VALIDATE_PHASE_START }; | ^~~~~~~~~~~~~~~~~~~~~ bson/bson.c:54:26: note: 'invalid_key' declared here 54 | const char * invalid_key; | ^~~~~~~~~~~ rm -f blib/arch/auto/BSON/ ... LD_RUN_PATH="/usr/lib/x86_64-linux-gnu" cc -shared -O2 -L/usr/local/lib -fstack-protector-strong xs/XS.o bson/bson-atomic.o bson/bson-clock.o bson/bson-context.o bson/bson-decimal128.o bson/bson-error.o bson/bson-iso8601.o bson/bson-iter.o bson/bson-keys.o bson/bson-md5.o bson/bson-memory.o bson/bson-oid.o bson/bson-reader.o bson/bson-string.o bson/bson-timegm.o bson/bson-utf8.o bson/bson-value.o bson/bson-version.o bson/bson-writer.o bson/bson.o -o blib/arch/auto/BSON/XS/XS.so \ -lrt \ chmod 755 blib/arch/auto/BSON/XS/XS.so MONGODB/BSON-XS-v0.8.3.tar.gz /usr/bin/make -- OK MONGODB/BSON-XS-v0.8.3.tar.gz Skipping test because of notest pragma Running make install for MONGODB/BSON-XS-v0.8.3.tar.gz "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/BSON/XS/XS.bs 644 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/auto/BSON/XS/XS.so Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/BSON/XS.pm Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod MONGODB/BSON-XS-v0.8.3.tar.gz /usr/bin/make install -- OK Checking coverage of BSON-XS-v0.8.3 cover: Reading database from /home/cpancover/.cpan/build/BSON-XS-v0.8.3-0/cover_db cover: JSON output written to /home/cpancover/.cpan/build/BSON-XS-v0.8.3-0/cover_db/cover.json ================================================================================ **** Checking coverage of BSON-XS-v0.8.3 **** Testing BSON-XS-v0.8.3 in /home/cpancover/.cpan/build/BSON-XS-v0.8.3-0 dc -> /usr/local/bin/perl /usr/local/bin/cover --test --report html --outputfile index.html --select_dir blib cover: Deleting database /home/cpancover/.cpan/build/BSON-XS-v0.8.3-0/cover_db cover: running make test "OPTIMIZE=-O0 -fprofile-arcs -ftest-coverage" "OTHERLDFLAGS=-fprofile-arcs -ftest-coverage" "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/BSON/XS/XS.bs 644 cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o xs/XS.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" xs/XS.c In file included from bson/bson-compat.h:38, from bson/bson.h:23, from xs/XS.xs:19: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ In file included from bson/bson.h:30: bson/bson-atomic.h:46:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | # if BSON_GNUC_IS_VERSION(4, 1) | ^ bson/bson-atomic.h:73:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | # if BSON_GNUC_CHECK_VERSION(4, 1) | ^ In file included from /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/perl.h:8004, from xs/XS.xs:21: /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_av_store_simple': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:101:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 101 | SV** ary; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_av_new_alloc': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:197:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 197 | AV * const av = newAV(); | ^~ In file included from /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/perl.h:46: /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_av_remove_offset': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/config.h:1216:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1216 | #define SSize_t ssize_t /* signed count of bytes */ | ^~~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:219:5: note: in expansion of macro 'SSize_t' 219 | SSize_t i = AvARRAY(av) - AvALLOC(av); | ^~~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_hv_common_key_len': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:304:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 304 | STRLEN klen; | ^~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_rpp_pop_1_norc': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:643:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 643 | SV *sv = *PL_stack_sp--; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_rpp_context': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1095:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1095 | SV *top = *svp; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_sv_can_existdelete': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1234:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1234 | HV *stash = SvSTASH(SvRV(SvTIED_obj(sv, mg))); | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_ReANY': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1263:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1263 | XPV* const p = (XPV*)SvANY(re); | ^~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_bytes_to_utf8_temp_pv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1306:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1306 | void * free_me = NULL; | ^~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_utf8_to_bytes_temp_pv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1335:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1335 | void* dummy = NULL; | ^~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_utf8_to_bytes_overwrite': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1351:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1351 | void* dummy = NULL; | ^~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_valid_utf8_to_uv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1383:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1383 | const UV expectlen = UTF8SKIP(s); | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1385:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1385 | UV uv = 0; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_utf8_invariant_string_loc': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1592:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1592 | const U8* send = s + len; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:1602:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1602 | const U8 * const per_byte_end = WORTH_PER_WORD_LOOP(x, send, 1); | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_utf8_string_flags': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:2331:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2331 | const U8 * first_variant; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_utf8_string_loclen': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:2379:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2379 | const U8 * first_variant; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_strict_utf8_string_loclen': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:2668:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2668 | const U8 * first_variant; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_c9strict_utf8_string_loclen': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:2718:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2718 | const U8 * first_variant; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_utf8_string_loclen_flags': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:2773:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2773 | const U8 * first_variant; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_is_utf8_fixed_width_buf_loclen_flags': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3292:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3292 | const U8 * maybe_partial; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_utf8_to_uv_msgs': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3350:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3350 | const U8 * s = s0; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3392:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3392 | bool success = utf8_to_uv_msgs_helper_(s0, e, cp_p, advance_p, | ^~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_utf8_to_uv_or_die': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3403:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3403 | UV cp; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_utf8n_to_uvchr_msgs': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3419:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3419 | UV cp; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_utf8_to_uvchr_buf': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3439:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3439 | UV cp; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_sv_only_taint_gmagic': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:3977:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3977 | MAGIC *mg = SvMAGIC(sv); | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_gimme_V': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4000:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4000 | I32 cxix; | ^~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_pushblock': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4020:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4020 | PERL_CONTEXT * cx; | ^~~~~~~~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_pushsub': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4089:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4089 | U8 phlags = CX_PUSHSUB_GET_LVALUE_MASK(Perl_was_lvalue_sub); | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_popsub_common': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4111:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4111 | CV *cv; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_popsub_args': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4132:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4132 | AV *av; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_popformat': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4192:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4192 | CV *cv; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_popeval': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4256:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4256 | SV *sv; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_poploop': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4352:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4352 | PADOFFSET how_many = iterop->op_targ; | ^~~~~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4370:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4370 | MAGIC *mg = SvMAGIC(itervar); | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4375:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4375 | GV *gv = (GV *)mg->mg_obj; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_cx_popgiven': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4444:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4444 | SV *sv; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_push_stackinfo': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4519:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4519 | PERL_SI *next = PL_curstackinfo->si_next; | ^~~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_pop_stackinfo': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4559:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4559 | PERL_SI * const prev = PL_curstackinfo->si_prev; | ^~~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_newPADxVOP': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4601:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4601 | OP *o = newOP(type, flags); | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_foldEQ': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4635:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4635 | const U8 *a = (const U8 *)s1; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_foldEQ_latin1': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4660:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4660 | const U8 *a = (const U8 *)s1; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_foldEQ_locale': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4679:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4679 | const U8 *a = (const U8 *)s1; | ^~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_mortal_getenv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:4791:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4791 | char * ret; | ^~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_savepvn': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:5095:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 5095 | char *newaddr; | ^~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_savesvpv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:5115:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 5115 | STRLEN len; | ^~~~~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h: In function 'Perl_savesharedsvpv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/inline.h:5129:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 5129 | STRLEN len; | ^~~~~~ In file included from /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/perl.h:8005: /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h: In function 'Perl_new_sv': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h:72:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 72 | SV* sv; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h: In function 'Perl_newSV_type': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h:376:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 376 | SV *sv; | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h: In function 'Perl_newSV_type_mortal': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h:544:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 544 | SV *sv = newSV_type(type); | ^~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h: In function 'Perl_SvREFCNT_dec_NN': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h:724:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 724 | U32 rc = SvREFCNT(sv); | ^~~ /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h: In function 'Perl_newRV_noinc': /usr/local/lib/perl5/5.44.0/x86_64-linux/CORE/sv_inline.h:998:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 998 | SV *sv = newSV_type(SVt_IV); | ^~ xs/XS.xs: In function 'iter_src_to_bson': xs/XS.xs:642:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 642 | STRLEN len; | ^~~~~~ xs/XS.xs:615:7: warning: unused variable 'i' [-Wunused-variable] 615 | int i; | ^ xs/XS.xs: In function 'sv_to_bson_elem': xs/XS.xs:967:16: warning: unused variable 'str_len' [-Wunused-variable] 967 | STRLEN str_len; | ^~~~~~~ xs/XS.xs:966:15: warning: unused variable 'str' [-Wunused-variable] 966 | char *str; | ^~~ xs/XS.xs:975:16: warning: unused variable 'str_len' [-Wunused-variable] 975 | STRLEN str_len; | ^~~~~~~ xs/XS.xs:974:15: warning: unused variable 'str' [-Wunused-variable] 974 | char *str; | ^~~ xs/XS.xs:1125:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1125 | I32 is_number = looks_like_number(sv); | ^~~ xs/XS.xs: In function 'get_regex_flags': xs/XS.xs:1281:7: warning: variable 'pat_sv' set but not used [-Wunused-but-set-variable] 1281 | SV *pat_sv; | ^~~~~~ xs/XS.xs: In function 'bson_doc_to_hashref': xs/XS.xs:1443:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1443 | int is_dbref = 1; | ^~~ xs/XS.xs: In function 'bson_doc_to_tiedhash': xs/XS.xs:1490:7: warning: unused variable 'tie' [-Wunused-variable] 1490 | SV *tie; | ^~~ xs/XS.xs: In function 'bson_elem_to_sv': xs/XS.xs:1655:19: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 1655 | if ( sublen != len ) { | ^~ xs/XS.xs:1715:9: warning: unused variable 'temp' [-Wunused-variable] 1715 | SV *temp; | ^~~~ xs/XS.xs: At top level: xs/XS.xs:138:12: warning: 'int64_as_SV' declared 'static' but never defined [-Wunused-function] 138 | static SV* int64_as_SV(int64_t value); | ^~~~~~~~~~~ xs/XS.xs:1350:12: warning: 'int64_to_math_bigint' defined but not used [-Wunused-function] 1350 | static SV* int64_to_math_bigint(int64_t value) { | ^~~~~~~~~~~~~~~~~~~~ xs/XS.xs:305:1: warning: 'call_sv_va' defined but not used [-Wunused-function] 305 | call_sv_va (SV *func, int num, ...) { | ^~~~~~~~~~ xs/XS.xs:247:1: warning: 'call_method_with_pairs_va' defined but not used [-Wunused-function] 247 | call_method_with_pairs_va (SV *self, const char *method, ...) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-atomic.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-atomic.c In file included from bson/bson-compat.h:38, from bson/bson-atomic.h:23, from bson/bson-atomic.c:18: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ bson/bson-atomic.h:46:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | # if BSON_GNUC_IS_VERSION(4, 1) | ^ bson/bson-atomic.h:73:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | # if BSON_GNUC_CHECK_VERSION(4, 1) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-clock.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-clock.c In file included from bson/bson-compat.h:38, from bson/bson-clock.c:27: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-context.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-context.c In file included from bson/bson-compat.h:38, from bson/bson-context.c:17: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ In file included from bson/bson-context.c:29: bson/bson-atomic.h:46:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | # if BSON_GNUC_IS_VERSION(4, 1) | ^ bson/bson-atomic.h:73:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | # if BSON_GNUC_CHECK_VERSION(4, 1) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-decimal128.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-decimal128.c In file included from bson/bson-decimal128.h:28, from bson/bson-decimal128.c:23: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ bson/bson-decimal128.c: In function 'bson_decimal128_to_string': bson/bson-decimal128.c:281:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 281 | for (i = 0; i < radix_position; i++) { | ^ bson/bson-decimal128.c: In function 'bson_decimal128_from_string': bson/bson-decimal128.c:588:17: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 588 | if (exponent <= radix_position && radix_position - exponent > (1 << 14)) { | ^~ bson/bson-decimal128.c:661:15: warning: unused variable 'round_bit' [-Wunused-variable] 661 | uint8_t round_bit = 0; | ^~~~~~~~~ bson/bson-decimal128.c:659:14: warning: unused variable 'end_of_string' [-Wunused-variable] 659 | size_t end_of_string = ndigits_read + includes_sign + saw_radix; | ^~~~~~~~~~~~~ bson/bson-decimal128.c:687:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 687 | for (; d_idx <= last_digit; d_idx++) { | ^~ bson/bson-decimal128.c:696:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 696 | for (; d_idx <= last_digit - 17; d_idx++) { | ^~ bson/bson-decimal128.c:703:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 703 | for (; d_idx <= last_digit; d_idx++) { | ^~ bson/bson-decimal128.c:466:11: warning: unused variable 'i' [-Wunused-variable] 466 | size_t i = 0; /* loop index over array */ | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-error.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-error.c In file included from bson/bson-compat.h:38, from bson/bson-error.c:21: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-iso8601.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-iso8601.c In file included from bson/bson-compat.h:38, from bson/bson-iso8601.c:18: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-iter.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-iter.c In file included from bson/bson-compat.h:38, from bson/bson.h:23, from bson/bson-iter.h:27, from bson/bson-iter.c:18: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ In file included from bson/bson.h:30: bson/bson-atomic.h:46:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | # if BSON_GNUC_IS_VERSION(4, 1) | ^ bson/bson-atomic.h:73:34: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | # if BSON_GNUC_CHECK_VERSION(4, 1) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-keys.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-keys.c In file included from bson/bson-keys.h:22, from bson/bson-keys.c:20: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-md5.o -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" bson/bson-md5.c In file included from bson/bson-compat.h:38, from bson/bson-md5.c:59: bson/bson-macros.h:175:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 175 | #if BSON_GNUC_CHECK_VERSION(4, 0) && !defined(_WIN32) | ^ bson/bson-macros.h:195:35: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 195 | #elif BSON_GNUC_CHECK_VERSION(4, 4) | ^ bson/bson-macros.h:225:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 225 | #if BSON_GNUC_CHECK_VERSION(3, 1) | ^ bson/bson-macros.h:232:33: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 232 | #if BSON_GNUC_CHECK_VERSION(4, 5) | ^ bson/bson-md5.c: In function 'bson_md5_append': bson/bson-md5.c:363:44: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 363 | int copy = (offset + nbytes > 64 ? 64 - offset : nbytes); | ^~~~~~~~~~~ cc -c -I. -Ibson -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wuninitialized -Wdeclaration-after-statement -D_GNU_SOURCE -DMONGO_USE_64_BIT_INT -DBSON_COMPILATION -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"v0.8.3\" -DXS_VERSION=\"v0.8.3\" -o bson/bson-memory.o -fPIC ... b/perl5/site_perl/5.44.0/BSON.pm line 99. t/corpus/symbol.t ................ ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/corpus/timestamp.t ............. ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/corpus/top.t ................... ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/corpus/undefined.t ............. ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/binary.t ............... ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/boolean.t .............. ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/code.t ................. ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/dbref.t ................ ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/decimal128.t ........... ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/double.t ............... ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/hashref.t .............. ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/int32.t ................ ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/int64.t ................ ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/minmaxkey.t ............ ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/oid.t .................. ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/regex.t ................ ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/string.t ............... ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/time.t ................. ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/mapping/timestamp.t ............ ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/regression/boolean_copy.t ...... ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/regression/scalar_ref_value.t .. ok Possible precedence problem between ! and string eq at /usr/local/lib/perl5/site_perl/5.44.0/BSON.pm line 99. t/regression/undef_round_trip.t .. ok All tests successful. Files=59, Tests=1342, 103 wallclock secs ( 1.68 usr 0.51 sys + 90.16 cusr 9.51 csys = 101.86 CPU) Result: PASS cover: Reading database from /home/cpancover/.cpan/build/BSON-XS-v0.8.3-0/cover_db cover: Added 1 file(s) from --select_dir ------------------- ------ ------ ------ ------ ------ ------ ------ ------ File stmt bran cond mcdc sub pod total scar ------------------- ------ ------ ------ ------ ------ ------ ------ ------ blib/lib/BSON/XS.pm 100.0 n/a n/a n/a 100.0 n/a 100.0 0.0 Total 100.0 n/a n/a n/a 100.0 n/a 100.0 0.0 ------------------- ------ ------ ------ ------ ------ ------ ------ ------ cover: HTML output written to /home/cpancover/.cpan/build/BSON-XS-v0.8.3-0/cover_db/index.html dc -> /usr/local/bin/perl /usr/local/bin/cover -report json_summary -nosummary ================================================================================ Successfully copied 164kB to /remote_staging/pjcj-cpancover_dev-M-MO-MONGODB-BSON-XS-v0.8.3.tar.gz--1785699883.959497-1785699884-003312392