* installing *source* package ‘QuickJSR’ ... ** using staged installation ** libs using C compiler: ‘Debian clang version 17.0.6 (2)’ using C++ compiler: ‘Debian clang version 17.0.6 (2)’ clang-17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I"../inst/include" -DSTRICT_R_HEADERS -D_GNU_SOURCE -DCONFIG_VERSION=\"2023-12-09\" -DCONFIG_BIGNUM -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c quickjsr_impl.c -o quickjsr_impl.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I"../inst/include" -DSTRICT_R_HEADERS -D_GNU_SOURCE -DCONFIG_VERSION=\"2023-12-09\" -DCONFIG_BIGNUM -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c quickjsr.cpp -o quickjsr.o In file included from quickjsr.cpp:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from quickjsr.cpp:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 3 warnings generated. clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I"../inst/include" -DSTRICT_R_HEADERS -D_GNU_SOURCE -DCONFIG_VERSION=\"2023-12-09\" -DCONFIG_BIGNUM -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c init.cpp -o init.o In file included from init.cpp:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:128: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/routines.h:26: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ In file included from init.cpp:1: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:181: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | Rf_warningcall(call, s.c_str()); | ^~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this 30 | Rf_warningcall(call, s.c_str()); | ^ | "%s", 3 warnings generated. clang-17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I"../inst/include" -DSTRICT_R_HEADERS -D_GNU_SOURCE -DCONFIG_VERSION=\"2023-12-09\" -DCONFIG_BIGNUM -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -std=gnu11 -c quickjs/cutils.c -o quickjs/cutils.o clang-17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I"../inst/include" -DSTRICT_R_HEADERS -D_GNU_SOURCE -DCONFIG_VERSION=\"2023-12-09\" -DCONFIG_BIGNUM -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -std=gnu11 -c quickjs/libbf.c -o quickjs/libbf.o clang-17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I"../inst/include" -DSTRICT_R_HEADERS -D_GNU_SOURCE -DCONFIG_VERSION=\"2023-12-09\" -DCONFIG_BIGNUM -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -std=gnu11 -c quickjs/libregexp.c -o quickjs/libregexp.o clang-17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I"../inst/include" -DSTRICT_R_HEADERS -D_GNU_SOURCE -DCONFIG_VERSION=\"2023-12-09\" -DCONFIG_BIGNUM -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -std=gnu11 -c quickjs/libunicode.c -o quickjs/libunicode.o clang-17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I"../inst/include" -DSTRICT_R_HEADERS -D_GNU_SOURCE -DCONFIG_VERSION=\"2023-12-09\" -DCONFIG_BIGNUM -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -std=gnu11 -c quickjs/quickjs-libc.c -o quickjs/quickjs-libc.o clang-17 -I"/home/hornik/tmp/R-d-clang-17/include" -DNDEBUG -I"../inst/include" -DSTRICT_R_HEADERS -D_GNU_SOURCE -DCONFIG_VERSION=\"2023-12-09\" -DCONFIG_BIGNUM -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -std=gnu11 -c quickjs/quickjs.c -o quickjs/quickjs.o quickjs/quickjs.c:6247:2: warning: embedding a directive within macro arguments has undefined behavior [-Wembedded-directive] 6247 | #ifdef CONFIG_BIGNUM | ^ quickjs/quickjs.c:6249:2: warning: embedding a directive within macro arguments has undefined behavior [-Wembedded-directive] 6249 | #endif | ^ quickjs/quickjs.c:10768:30: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] 10768 | else if (d > INT64_MAX) | ~ ^~~~~~~~~ /usr/include/stdint.h:124:22: note: expanded from macro 'INT64_MAX' 124 | # define INT64_MAX (__INT64_C(9223372036854775807)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdint.h:106:24: note: expanded from macro '__INT64_C' 106 | # define __INT64_C(c) c ## L | ^~~~~~ :208:1: note: expanded from here 208 | 9223372036854775807L | ^~~~~~~~~~~~~~~~~~~~ quickjs/quickjs.c:47954:9: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 47954 | n = min_int(argc, end_field - first_field); | ^ quickjs/quickjs.c:47950:5: note: previous statement is here 47950 | if (res < 0) | ^ quickjs/quickjs.c:53716:25: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] 53716 | if (isnan(d) || d > INT64_MAX) | ~ ^~~~~~~~~ /usr/include/stdint.h:124:22: note: expanded from macro 'INT64_MAX' 124 | # define INT64_MAX (__INT64_C(9223372036854775807)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdint.h:106:24: note: expanded from macro '__INT64_C' 106 | # define __INT64_C(c) c ## L | ^~~~~~ :56:1: note: expanded from here 56 | 9223372036854775807L | ^~~~~~~~~~~~~~~~~~~~ 5 warnings generated. ar -rs ../inst/lib//libquickjs.a quickjs/cutils.o quickjs/libbf.o quickjs/libregexp.o quickjs/libunicode.o quickjs/quickjs-libc.o quickjs/quickjs.o ar: creating ../inst/lib//libquickjs.a clang++-17 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-17/lib -Wl,-O1 -o QuickJSR.so quickjsr_impl.o quickjsr.o init.o ../inst/lib//libquickjs.a -L/home/hornik/tmp/R-d-clang-17/lib -lR installing to /srv/hornik/tmp/CRAN/QuickJSR.Rcheck/00LOCK-QuickJSR/00new/QuickJSR/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (QuickJSR)