* installing *source* package ‘genepop’ ... ** this is package ‘genepop’ version ‘1.2.11’ ** package ‘genepop’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.6.3.2)’ using SDK: ‘MacOSX26.2.sdk’ clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c CT_tests.cpp -o CT_tests.o In file included from CT_tests.cpp:40: In file included from ./CT_tests.h:38: In file included from ./GenepopS.h:42: ./MersenneTwister.h:13:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'result_type' (aka 'unsigned int') [-Wshorten-64-to-32] 13 | void seed(unsigned long alea_seed) {MTRAND.seed(alea_seed);} | ~~~~ ^~~~~~~~~ In file included from CT_tests.cpp:40: ./CT_tests.h:115:42: warning: unused variable 'pp' [-Wunused-variable] 115 | std::vector::iterator p,pp; // CPopulation contient les popName() | ^~ ./CT_tests.h:116:39: warning: unused variable 'p1' [-Wunused-variable] 116 | std::vector::iterator p1,p2; // CGenotypes contient toute l'info sauf les popName() | ^~ ./CT_tests.h:116:42: warning: unused variable 'p2' [-Wunused-variable] 116 | std::vector::iterator p1,p2; // CGenotypes contient toute l'info sauf les popName() | ^~ In file included from CT_tests.cpp:47: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ CT_tests.cpp:783:34: warning: unused variable 'p1' [-Wunused-variable] 783 | vector::iterator p1,p2; // CGenotypes contient toute l'info sauf les popName() | ^~ CT_tests.cpp:783:37: warning: unused variable 'p2' [-Wunused-variable] 783 | vector::iterator p1,p2; // CGenotypes contient toute l'info sauf les popName() | ^~ 7 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c F_est.cpp -o F_est.o In file included from F_est.cpp:38: ./MersenneTwister.h:13:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'result_type' (aka 'unsigned int') [-Wshorten-64-to-32] 13 | void seed(unsigned long alea_seed) {MTRAND.seed(alea_seed);} | ~~~~ ^~~~~~~~~ In file included from F_est.cpp:52: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from F_est.cpp:54: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ F_est.cpp:175:2: error: reference to 'identity' is ambiguous 175 | identity=identBool; | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:541:3: error: reference to 'identity' is ambiguous 541 | identity=identitybool; | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:549:8: error: reference to 'identity' is ambiguous 549 | if (identity) { | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:549:8: error: reference to 'identity' is ambiguous 549 | if (identity) { | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:549:16: error: expected unqualified-id 549 | if (identity) { | ^ F_est.cpp:647:1: error: reference to 'identity' is ambiguous 647 | identity=identitybool; | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:654:13: error: reference to 'identity' is ambiguous 654 | if (identity) { | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:654:13: error: reference to 'identity' is ambiguous 654 | if (identity) { | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:654:21: error: expected unqualified-id 654 | if (identity) { | ^ F_est.cpp:666:21: error: reference to 'identity' is ambiguous 666 | if (identity) { | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:666:21: error: reference to 'identity' is ambiguous 666 | if (identity) { | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:666:29: error: expected unqualified-id 666 | if (identity) { | ^ F_est.cpp:692:13: error: reference to 'identity' is ambiguous 692 | if (identity) { | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:692:13: error: reference to 'identity' is ambiguous 692 | if (identity) { | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:692:21: error: expected unqualified-id 692 | if (identity) { | ^ F_est.cpp:807:10: error: reference to 'identity' is ambiguous 807 | if (identity) { | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:807:10: error: reference to 'identity' is ambiguous 807 | if (identity) { | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ F_est.cpp:807:18: error: expected unqualified-id 807 | if (identity) { | ^ F_est.cpp:842:13: error: reference to 'identity' is ambiguous 842 | if (identity) { | ^ F_est.cpp:97:17: note: candidate found by name lookup is 'NS_F_est::identity' 97 | static bool identity; //indic allele size/identity | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/identity.h:45:8: note: candidate found by name lookup is 'std::identity' 45 | struct identity { | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. make[1]: *** [F_est.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c GenepopS.cpp -o GenepopS.o In file included from GenepopS.cpp:50: In file included from ./GenepopS.h:42: ./MersenneTwister.h:13:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'result_type' (aka 'unsigned int') [-Wshorten-64-to-32] 13 | void seed(unsigned long alea_seed) {MTRAND.seed(alea_seed);} | ~~~~ ^~~~~~~~~ In file included from GenepopS.cpp:56: ./CT_tests.h:115:42: warning: unused variable 'pp' [-Wunused-variable] 115 | std::vector::iterator p,pp; // CPopulation contient les popName() | ^~ ./CT_tests.h:116:39: warning: unused variable 'p1' [-Wunused-variable] 116 | std::vector::iterator p1,p2; // CGenotypes contient toute l'info sauf les popName() | ^~ ./CT_tests.h:116:42: warning: unused variable 'p2' [-Wunused-variable] 116 | std::vector::iterator p1,p2; // CGenotypes contient toute l'info sauf les popName() | ^~ In file included from GenepopS.cpp:64: In file included from ./RGenepop.h:46: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ GenepopS.cpp:1489:16: warning: variable 'popit' set but not used [-Wunused-but-set-variable] 1489 | size_t nb_all,popit; | ^ GenepopS.cpp:2148:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 2148 | ABC.bootstrapOverLoci(bootmethod, &mean, | ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ GenepopS.cpp:2151:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 2151 | ABC.bootstrapOverLoci(bootmethod, &slope," for SLOPE",isolde_file); | ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ GenepopS.cpp:2155:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 2155 | ABC.bootstrapOverLoci(bootmethod, &intercept, | ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ GenepopS.cpp:2385:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 2385 | ABC.bootstrapOverLoci(bootmethod, &mean_from_creatMat_isolde, | ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ GenepopS.cpp:2389:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 2389 | ABC.bootstrapOverLoci(bootmethod, &slope_from_creatMat_isolde, | ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ GenepopS.cpp:2411:29: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 2411 | ABC.bootstrapOverLoci(bootmethod, &intercept_from_creatMat_isolde, | ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ 12 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c HW_tests.cpp -o HW_tests.o In file included from HW_tests.cpp:55: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from HW_tests.cpp:57: ./MersenneTwister.h:13:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'result_type' (aka 'unsigned int') [-Wshorten-64-to-32] 13 | void seed(unsigned long alea_seed) {MTRAND.seed(alea_seed);} | ~~~~ ^~~~~~~~~ HW_tests.cpp:191:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 191 | check_restriction(nb_locus, nb_sam); | ~~~~~~~~~~~~~~~~~ ^~~~~~ HW_tests.cpp:191:27: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 191 | check_restriction(nb_locus, nb_sam); | ~~~~~~~~~~~~~~~~~ ^~~~~~~~ HW_tests.cpp:247:23: warning: variable 'necess_mark' set but not used [-Wunused-but-set-variable] 247 | int possible_exact=0, necess_mark=0; | ^ HW_tests.cpp:1650:10: warning: variable 'kfi' set but not used [-Wunused-but-set-variable] 1650 | size_t kfi,allele, k; | ^ HW_tests.cpp:1815:32: warning: implicit conversion when assigning computation result loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 1815 | chiHW+=2.*log(batchnbr*batchlgth); // i.e. *-=* 2 log(bound on freq) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c RGenepop.cpp -o RGenepop.o In file included from RGenepop.cpp:39: In file included from ./RGenepop.h:46: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from RGenepop.cpp:40: In file included from ./GenepopS.h:42: ./MersenneTwister.h:13:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'result_type' (aka 'unsigned int') [-Wshorten-64-to-32] 13 | void seed(unsigned long alea_seed) {MTRAND.seed(alea_seed);} | ~~~~ ^~~~~~~~~ 2 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ 1 warning generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c bootstrap.cpp -o bootstrap.o In file included from bootstrap.cpp:40: In file included from ./GenepopS.h:42: ./MersenneTwister.h:13:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'result_type' (aka 'unsigned int') [-Wshorten-64-to-32] 13 | void seed(unsigned long alea_seed) {MTRAND.seed(alea_seed);} | ~~~~ ^~~~~~~~~ In file included from bootstrap.cpp:48: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from bootstrap.cpp:50: In file included from /Users/ripley/R/Library/RcppProgress/include/progress.hpp:12: /Users/ripley/R/Library/RcppProgress/include/interruptable_progress_monitor.hpp:139:45: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 139 | if (is_display_on()) _progress_bar.update(progress(current)); | ~~~~~~ ^~~~~~~~~~~~~~~~~ bootstrap.cpp:447:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_type' (aka 'unsigned long') [-Wfloat-conversion] 447 | double tk = t_sorted[k-1]; | ~~~~~~~~ ~^~ bootstrap.cpp:448:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_type' (aka 'unsigned long') [-Wfloat-conversion] 448 | double tk1 = t_sorted[k]; | ~~~~~~~~ ^ 5 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c conversions.cpp -o conversions.o In file included from conversions.cpp:37: In file included from ./GenepopS.h:42: ./MersenneTwister.h:13:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'result_type' (aka 'unsigned int') [-Wshorten-64-to-32] 13 | void seed(unsigned long alea_seed) {MTRAND.seed(alea_seed);} | ~~~~ ^~~~~~~~~ In file included from conversions.cpp:43: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ 2 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c genepop.cpp -o genepop.o In file included from genepop.cpp:51: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from genepop.cpp:54: In file included from ./GenepopS.h:42: ./MersenneTwister.h:13:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'result_type' (aka 'unsigned int') [-Wshorten-64-to-32] 13 | void seed(unsigned long alea_seed) {MTRAND.seed(alea_seed);} | ~~~~ ^~~~~~~~~ 2 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c multimig.cpp -o multimig.o In file included from multimig.cpp:42: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from multimig.cpp:45: In file included from ./GenepopS.h:42: ./MersenneTwister.h:13:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'result_type' (aka 'unsigned int') [-Wshorten-64-to-32] 13 | void seed(unsigned long alea_seed) {MTRAND.seed(alea_seed);} | ~~~~ ^~~~~~~~~ 2 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c proba.cpp -o proba.o In file included from proba.cpp:51: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ proba.cpp:254:35: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 254 | else if (chi < nu+1.0) pchi= 1.0-gser(0.5*nu,0.5*chi); // Use the series representation. | ~ ~~~^~~~~~~~~~~~~~~~~~~~~ proba.cpp:255:14: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion] 255 | else pchi= gcf(0.5*nu,0.5*chi); // Use the continued fraction representation. | ~ ^~~~~~~~~~~~~~~~~~~ 3 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c settings.cpp -o settings.o In file included from settings.cpp:40: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from settings.cpp:42: In file included from ./GenepopS.h:42: ./MersenneTwister.h:13:51: warning: implicit conversion loses integer precision: 'unsigned long' to 'result_type' (aka 'unsigned int') [-Wshorten-64-to-32] 13 | void seed(unsigned long alea_seed) {MTRAND.seed(alea_seed);} | ~~~~ ^~~~~~~~~ 2 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -DCOMPATIBILITYRCPP -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppProgress/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c tools.cpp -o tools.o In file included from tools.cpp:46: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ 1 warning generated. make[1]: Target `all' not remade because of errors. ERROR: compilation failed for package ‘genepop’ * removing ‘/Users/ripley/R/packages/tests-devel/genepop.Rcheck/genepop’