* installing *source* package ‘QuickJSR’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 18.1.5 (2)’ clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2024-01-13\" -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c quickjsr.cpp -o quickjsr.o In file included from quickjsr.cpp:1: In file included from ../inst/include/cpp11.hpp:5: ../inst/include/cpp11/R.hpp:13:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 13 | #define R_NO_REMAP | ^ :7:9: note: previous definition is here 7 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2024-01-13\" -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c init.cpp -o init.o In file included from init.cpp:1: In file included from ../inst/include/cpp11.hpp:5: ../inst/include/cpp11/R.hpp:13:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 13 | #define R_NO_REMAP | ^ :7:9: note: previous definition is here 7 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2024-01-13\" -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DSTRICT_R_HEADERS -funsigned-char -fwrapv -std=c11 -c quickjs/cutils.c -o quickjs/cutils.o clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2024-01-13\" -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DSTRICT_R_HEADERS -funsigned-char -fwrapv -std=c11 -c quickjs/libbf.c -o quickjs/libbf.o clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2024-01-13\" -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DSTRICT_R_HEADERS -funsigned-char -fwrapv -std=c11 -c quickjs/libregexp.c -o quickjs/libregexp.o clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2024-01-13\" -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DSTRICT_R_HEADERS -funsigned-char -fwrapv -std=c11 -c quickjs/libunicode.c -o quickjs/libunicode.o clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2024-01-13\" -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DSTRICT_R_HEADERS -funsigned-char -fwrapv -std=c11 -c quickjs/quickjs.c -o quickjs/quickjs.o quickjs/quickjs.c:2257:16: warning: unused variable 'rt' [-Wunused-variable] 2257 | JSRuntime *rt = ctx->rt; | ^~ quickjs/quickjs.c:2264:16: warning: unused variable 'rt' [-Wunused-variable] 2264 | JSRuntime *rt = ctx->rt; | ^~ quickjs/quickjs.c:6293:2: warning: embedding a directive within macro arguments has undefined behavior [-Wembedded-directive] 6293 | #ifdef CONFIG_BIGNUM | ^ quickjs/quickjs.c:6295:2: warning: embedding a directive within macro arguments has undefined behavior [-Wembedded-directive] 6295 | #endif | ^ quickjs/quickjs.c:7543:10: warning: variable 'atom1_is_integer' set but not used [-Wunused-but-set-variable] 7543 | BOOL atom1_is_integer, atom2_is_integer; | ^ quickjs/quickjs.c:7543:28: warning: variable 'atom2_is_integer' set but not used [-Wunused-but-set-variable] 7543 | BOOL atom1_is_integer, atom2_is_integer; | ^ quickjs/quickjs.c:10855:30: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] 10855 | 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 | ^~~~~~ :42:1: note: expanded from here 42 | 9223372036854775807L | ^~~~~~~~~~~~~~~~~~~~ quickjs/quickjs.c:12370:21: warning: unused variable 'p' [-Wunused-variable] 12370 | JSBigFloat *p = JS_VALUE_GET_PTR(val); | ^ quickjs/quickjs.c:34485:9: warning: unused variable 'eval_type' [-Wunused-variable] 34485 | int eval_type = eval_flags & JS_EVAL_TYPE_MASK; | ^~~~~~~~~ quickjs/quickjs.c:47179:17: warning: variable 's' set but not used [-Wunused-but-set-variable] 47179 | JSMapState *s; | ^ quickjs/quickjs.c:55457:25: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] 55457 | 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 | ^~~~~~ :106:1: note: expanded from here 106 | 9223372036854775807L | ^~~~~~~~~~~~~~~~~~~~ 11 warnings generated. clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE -DCONFIG_BIGNUM -DCONFIG_VERSION=\"2024-01-13\" -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DSTRICT_R_HEADERS -funsigned-char -fwrapv -std=c11 -c quickjs/quickjs-libc.c -o quickjs/quickjs-libc.o ar -rs ../inst/lib//libquickjs.a quickjs/cutils.o quickjs/libbf.o quickjs/libregexp.o quickjs/libunicode.o quickjs/quickjs.o quickjs/quickjs-libc.o ar: creating ../inst/lib//libquickjs.a clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-18/lib -Wl,-O1 -o QuickJSR.so quickjsr.o init.o ../inst/lib//libquickjs.a -L/home/hornik/tmp/R-d-clang-18/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)