* installing *source* package ‘fastkmedoids’ ... ** this is package ‘fastkmedoids’ version ‘1.6’ ** package ‘fastkmedoids’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘clang version 23.1.0-rc2’ make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-clang-trunk/fastkmedoids/src' /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c RcppExports.cpp -o RcppExports.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c pam.cpp -o pam.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -I'/data/localhost/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c rcpp_fastkmedoids.cpp -o rcpp_fastkmedoids.o In file included from pam.cpp:21: ./pam.h:73:19: error: no member named 'strtod' in namespace 'std'; did you mean 'strtok'? 73 | double nd = std::strtod(tempStr, NULL); | ^~~~~~ | strtok /usr/local/clang23/bin/../include/c++/v1/cstring:100:9: note: 'strtok' declared here 100 | using ::strtok _LIBCPP_USING_IF_EXISTS; | ^ In file included from pam.cpp:21: ./pam.h:73:9: error: cannot initialize a variable of type 'double' with an rvalue of type 'char *' 73 | double nd = std::strtod(tempStr, NULL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./pam.h:73:35: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 73 | double nd = std::strtod(tempStr, NULL); | ^~~~ /usr/local/clang23/lib/clang/23/include/__stddef_null.h:21:14: note: expanded from macro 'NULL' 21 | #define NULL __null | ^~~~~~ pam.cpp:36:32: error: no member named 'sqrt' in namespace 'std'; did you mean simply 'sqrt'? 36 | int ssize = 10 + (int)ceil(std::sqrt((double)nn)); | ^~~~~~~~~ | sqrt /usr/local/clang23/bin/../include/c++/v1/math.h:509:20: note: 'sqrt' declared here 509 | using std::__math::sqrt; | ^ pam.cpp:36:37: error: no matching function for call to 'sqrt' 36 | int ssize = 10 + (int)ceil(std::sqrt((double)nn)); | ^~~~ /usr/local/clang23/bin/../include/c++/v1/__math/roots.h:36:37: note: candidate template ignored: requirement 'std::is_integral::value' was not satisfied [with _A1 = double] 36 | inline _LIBCPP_HIDE_FROM_ABI double sqrt(_A1 __x) _NOEXCEPT { | ^ pam.cpp:148:32: error: no member named 'sqrt' in namespace 'std'; did you mean simply 'sqrt'? 148 | int ssize = 10 + (int)ceil(std::sqrt((double)nn)); | ^~~~~~~~~ | sqrt /usr/local/clang23/bin/../include/c++/v1/math.h:509:20: note: 'sqrt' declared here 509 | using std::__math::sqrt; | ^ pam.cpp:148:37: error: no matching function for call to 'sqrt' 148 | int ssize = 10 + (int)ceil(std::sqrt((double)nn)); | ^~~~ /usr/local/clang23/bin/../include/c++/v1/__math/roots.h:36:37: note: candidate template ignored: requirement 'std::is_integral::value' was not satisfied [with _A1 = double] 36 | inline _LIBCPP_HIDE_FROM_ABI double sqrt(_A1 __x) _NOEXCEPT { | ^ pam.cpp:448:9: warning: variable 'fastswaps' set but not used [-Wunused-but-set-variable] 448 | int fastswaps = 0; // For statistics | ^ 2 warnings and 6 errors generated. make[1]: *** [/data/localhost/ripley/R/R-clang-trunk/etc/Makeconf:197: pam.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang-trunk/fastkmedoids/src' ERROR: compilation failed for package ‘fastkmedoids’ * removing ‘/data/localhost/ripley/R/packages/tests-clang-trunk/fastkmedoids.Rcheck/fastkmedoids’