* installing *source* package 'QuickJSR' ...
** this is package 'QuickJSR' version '1.11.0'
** package 'QuickJSR' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.3.0'
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_08_23_01_04_21_29904/RtmpkTlZPC/R.INSTALL1035478bd4601/QuickJSR/src'
gcc -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -funsigned-char -std=gnu11 -c libquickjs.c
libquickjs.c:215:9: warning: "stdout" redefined
215 | #define stdout stdout_dummy
| ^~~~~~
In file included from libquickjs.c:1:
D:/rtools45/x86_64-w64-mingw32.static.posix/include/stdio.h:128:9: note: this is the location of the previous definition
128 | #define stdout (__acrt_iob_func(1))
| ^~~~~~
libquickjs.c:216:9: warning: "stderr" redefined
216 | #define stderr stderr_dummy
| ^~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/include/stdio.h:129:9: note: this is the location of the previous definition
129 | #define stderr (__acrt_iob_func(2))
| ^~~~~~
In file included from libquickjs.c:243:
quickjs/quickjs.c: In function 'mark_weak_map_value':
quickjs/quickjs.c:7234:17: warning: variable 's' set but not used [-Wunused-but-set-variable]
7234 | JSMapState *s;
| ^
quickjs/quickjs.c: In function 'num_keys_cmp':
quickjs/quickjs.c:9477:28: warning: variable 'atom2_is_integer' set but not used [-Wunused-but-set-variable]
9477 | bool atom1_is_integer, atom2_is_integer;
| ^~~~~~~~~~~~~~~~
quickjs/quickjs.c:9477:10: warning: variable 'atom1_is_integer' set but not used [-Wunused-but-set-variable]
9477 | bool atom1_is_integer, atom2_is_integer;
| ^~~~~~~~~~~~~~~~
quickjs/quickjs.c: In function 'js_array_toSpliced':
quickjs/quickjs.c:44424:43: warning: variable 'last' set but not used [-Wunused-but-set-variable]
44424 | JSValue arr, obj, ret, *arrp, *pval, *last;
| ^~~~
In file included from libquickjs.c:242:
quickjs/libunicode.c: In function 'cr_op':
quickjs/libunicode.c:501:12: warning: 'is_in' may be used uninitialized [-Wmaybe-uninitialized]
501 | if (is_in != (cr->len & 1)) {
| ^
quickjs/libunicode.c:458:23: note: 'is_in' was declared here
458 | int a_idx, b_idx, is_in;
| ^~~~~
quickjs/quickjs.c: In function 'js_compare_bigint':
quickjs/quickjs.c:15891:19: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized]
15891 | val = js_bigint_float64_cmp(ctx, p2, JS_VALUE_GET_FLOAT64(op1));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: 'p1' was declared here
15846 | JSBigInt *p1;
| ^~
quickjs/quickjs.c:15907:19: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized]
15907 | val = js_bigint_cmp(ctx, p1, p2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: 'p1' was declared here
15846 | JSBigInt *p1;
| ^~
quickjs/quickjs.c:15907:19: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized]
15907 | val = js_bigint_cmp(ctx, p1, p2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: 'p1' was declared here
15846 | JSBigInt *p1;
| ^~
quickjs/quickjs.c:15897:19: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized]
15897 | val = js_bigint_float64_cmp(ctx, p1, JS_VALUE_GET_FLOAT64(op2));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: 'p1' was declared here
15846 | JSBigInt *p1;
| ^~
quickjs/quickjs.c:15869:9: warning: 'res' may be used uninitialized [-Wmaybe-uninitialized]
15869 | int res, val, tag1, tag2;
| ^~~
quickjs/quickjs.c: In function 'js_closure2':
quickjs/quickjs.c:17598:25: warning: 'var_ref' may be used uninitialized [-Wmaybe-uninitialized]
17598 | var_refs[i] = var_ref;
| ~~~~~~~~~~~~^~~~~~~~~
quickjs/quickjs.c:17578:23: note: 'var_ref' was declared here
17578 | JSVarRef *var_ref;
| ^~~~~~~
quickjs/quickjs.c: In function '__JS_ToFloat64Free':
quickjs/quickjs.c:14046:11: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized]
14046 | *pres = d;
| ~~~~~~^~~
quickjs/quickjs.c:14029:12: note: 'd' was declared here
14029 | double d;
| ^
In function 'js_int64',
inlined from 'js_binary_arith_slow' at quickjs/quickjs.c:15476:18:
quickjs/quickjs.c:1618:24: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized]
1618 | if (v >= INT32_MIN && v <= INT32_MAX)
| ^
quickjs/quickjs.c: In function 'js_binary_arith_slow':
quickjs/quickjs.c:15439:17: note: 'v' was declared here
15439 | int64_t v;
| ^
quickjs/quickjs.c:15515:12: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
15515 | if (!r)
| ^
quickjs/quickjs.c:15479:29: note: 'r' was declared here
15479 | JSBigInt *p1, *p2, *r;
| ^
In file included from quickjs/dtoa.c:35,
from libquickjs.c:240:
quickjs/cutils.h:85:44: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized]
85 | # define likely(x) __builtin_expect(!!(x), 1)
| ^~~~~
quickjs/quickjs.c:15414:13: note: in expansion of macro 'likely'
15414 | if (likely(v >= JS_SHORT_BIG_INT_MIN && v <= JS_SHORT_BIG_INT_MAX)) {
| ^~~~~~
quickjs/quickjs.c:15383:21: note: 'v' was declared here
15383 | js_sdlimb_t v;
| ^
quickjs/quickjs.c:15549:18: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized]
15549 | sp[-2] = js_float64(dr);
| ^~~~~~~~~~~~~~
quickjs/quickjs.c:15519:16: note: 'dr' was declared here
15519 | double dr;
| ^~
quickjs/quickjs.c: In function 'js_binary_logic_slow':
quickjs/quickjs.c:15833:18: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
15833 | sp[-2] = js_int32(r);
| ^~~~~~~~~~~
quickjs/quickjs.c:15682:22: note: 'r' was declared here
15682 | uint32_t v1, v2, r;
| ^
quickjs/quickjs.c:15804:12: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
15804 | if (!r)
| ^
quickjs/quickjs.c:15760:29: note: 'r' was declared here
15760 | JSBigInt *p1, *p2, *r;
| ^
quickjs/quickjs.c:15742:18: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized]
15742 | sp[-2] = __JS_NewShortBigInt(ctx, v);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15690:28: note: 'v' was declared here
15690 | js_slimb_t v1, v2, v;
| ^
quickjs/quickjs.c: In function 'js_define_var':
quickjs/quickjs.c:26502:9: warning: 'var_def_type' may be used uninitialized [-Wmaybe-uninitialized]
26502 | if (define_var(s, fd, name, var_def_type) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:26462:18: note: 'var_def_type' was declared here
26462 | JSVarDefEnum var_def_type;
| ^~~~~~~~~~~~
quickjs/quickjs.c: In function 'js_unary_arith_slow':
quickjs/quickjs.c:15283:16: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
15283 | if (!r)
| ^
quickjs/quickjs.c:15256:23: note: 'r' was declared here
15256 | JSBigInt *r;
| ^
quickjs/quickjs.c: In function 'js_typed_array_sort':
quickjs/quickjs.c:61495:13: warning: 'cmpfun' may be used uninitialized [-Wmaybe-uninitialized]
61495 | rqsort(p->u.array.u.ptr, len, elt_size, cmpfun, &tsc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:61360:11: note: 'cmpfun' was declared here
61360 | int (*cmpfun)(const void *a, const void *b, void *opaque);
| ^~~~~~
quickjs/quickjs.c: In function 'js_parse_expr_binary':
quickjs/quickjs.c:27928:13: warning: 'opcode' may be used uninitialized [-Wmaybe-uninitialized]
27928 | int op, opcode;
| ^~~~~~
In function 'js_uint32',
inlined from 'js_atomics_op' at quickjs/quickjs.c:62521:15:
quickjs/quickjs.c:1610:11: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
1610 | if (v <= INT32_MAX)
| ^
quickjs/quickjs.c: In function 'js_atomics_op':
quickjs/quickjs.c:62394:17: note: 'a' was declared here
62394 | uint64_t v, a, rep_val, idx;
| ^
ar -rs ../inst/lib//x64/libquickjs.a libquickjs.o
D:\rtools45\x86_64-w64-mingw32.static.posix\bin\ar.exe: creating ../inst/lib//x64/libquickjs.a
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c quickjsr.cpp -o quickjsr.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.cpp -o init.o
g++ -std=gnu++20 -shared -s -static-libgcc -o QuickJSR.dll tmp.def quickjsr.o init.o ../inst/lib//x64/libquickjs.a -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.6.1/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2026_08_23_01_04_21_29904/RtmpkTlZPC/R.INSTALL1035478bd4601/QuickJSR/src'
make[1]: Entering directory '/d/temp/2026_08_23_01_04_21_29904/RtmpkTlZPC/R.INSTALL1035478bd4601/QuickJSR/src'
gcc -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -funsigned-char -std=gnu11 -c libquickjs.c
libquickjs.c:215:9: warning: "stdout" redefined
215 | #define stdout stdout_dummy
| ^~~~~~
In file included from libquickjs.c:1:
D:/rtools45/x86_64-w64-mingw32.static.posix/include/stdio.h:128:9: note: this is the location of the previous definition
128 | #define stdout (__acrt_iob_func(1))
| ^~~~~~
libquickjs.c:216:9: warning: "stderr" redefined
216 | #define stderr stderr_dummy
| ^~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/include/stdio.h:129:9: note: this is the location of the previous definition
129 | #define stderr (__acrt_iob_func(2))
| ^~~~~~
In file included from libquickjs.c:243:
quickjs/quickjs.c: In function 'mark_weak_map_value':
quickjs/quickjs.c:7234:17: warning: variable 's' set but not used [-Wunused-but-set-variable]
7234 | JSMapState *s;
| ^
quickjs/quickjs.c: In function 'num_keys_cmp':
quickjs/quickjs.c:9477:28: warning: variable 'atom2_is_integer' set but not used [-Wunused-but-set-variable]
9477 | bool atom1_is_integer, atom2_is_integer;
| ^~~~~~~~~~~~~~~~
quickjs/quickjs.c:9477:10: warning: variable 'atom1_is_integer' set but not used [-Wunused-but-set-variable]
9477 | bool atom1_is_integer, atom2_is_integer;
| ^~~~~~~~~~~~~~~~
quickjs/quickjs.c: In function 'js_array_toSpliced':
quickjs/quickjs.c:44424:43: warning: variable 'last' set but not used [-Wunused-but-set-variable]
44424 | JSValue arr, obj, ret, *arrp, *pval, *last;
| ^~~~
In file included from libquickjs.c:242:
quickjs/libunicode.c: In function 'cr_op':
quickjs/libunicode.c:501:12: warning: 'is_in' may be used uninitialized [-Wmaybe-uninitialized]
501 | if (is_in != (cr->len & 1)) {
| ^
quickjs/libunicode.c:458:23: note: 'is_in' was declared here
458 | int a_idx, b_idx, is_in;
| ^~~~~
quickjs/quickjs.c: In function 'js_compare_bigint':
quickjs/quickjs.c:15891:19: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized]
15891 | val = js_bigint_float64_cmp(ctx, p2, JS_VALUE_GET_FLOAT64(op1));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: 'p1' was declared here
15846 | JSBigInt *p1;
| ^~
quickjs/quickjs.c:15907:19: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized]
15907 | val = js_bigint_cmp(ctx, p1, p2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: 'p1' was declared here
15846 | JSBigInt *p1;
| ^~
quickjs/quickjs.c:15907:19: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized]
15907 | val = js_bigint_cmp(ctx, p1, p2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: 'p1' was declared here
15846 | JSBigInt *p1;
| ^~
quickjs/quickjs.c:15897:19: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized]
15897 | val = js_bigint_float64_cmp(ctx, p1, JS_VALUE_GET_FLOAT64(op2));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: 'p1' was declared here
15846 | JSBigInt *p1;
| ^~
quickjs/quickjs.c:15869:9: warning: 'res' may be used uninitialized [-Wmaybe-uninitialized]
15869 | int res, val, tag1, tag2;
| ^~~
quickjs/quickjs.c: In function 'js_closure2':
quickjs/quickjs.c:17598:25: warning: 'var_ref' may be used uninitialized [-Wmaybe-uninitialized]
17598 | var_refs[i] = var_ref;
| ~~~~~~~~~~~~^~~~~~~~~
quickjs/quickjs.c:17578:23: note: 'var_ref' was declared here
17578 | JSVarRef *var_ref;
| ^~~~~~~
quickjs/quickjs.c: In function '__JS_ToFloat64Free':
quickjs/quickjs.c:14046:11: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized]
14046 | *pres = d;
| ~~~~~~^~~
quickjs/quickjs.c:14029:12: note: 'd' was declared here
14029 | double d;
| ^
In function 'js_int64',
inlined from 'js_binary_arith_slow' at quickjs/quickjs.c:15476:18:
quickjs/quickjs.c:1618:24: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized]
1618 | if (v >= INT32_MIN && v <= INT32_MAX)
| ^
quickjs/quickjs.c: In function 'js_binary_arith_slow':
quickjs/quickjs.c:15439:17: note: 'v' was declared here
15439 | int64_t v;
| ^
quickjs/quickjs.c:15515:12: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
15515 | if (!r)
| ^
quickjs/quickjs.c:15479:29: note: 'r' was declared here
15479 | JSBigInt *p1, *p2, *r;
| ^
In file included from quickjs/dtoa.c:35,
from libquickjs.c:240:
quickjs/cutils.h:85:44: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized]
85 | # define likely(x) __builtin_expect(!!(x), 1)
| ^~~~~
quickjs/quickjs.c:15414:13: note: in expansion of macro 'likely'
15414 | if (likely(v >= JS_SHORT_BIG_INT_MIN && v <= JS_SHORT_BIG_INT_MAX)) {
| ^~~~~~
quickjs/quickjs.c:15383:21: note: 'v' was declared here
15383 | js_sdlimb_t v;
| ^
quickjs/quickjs.c:15549:18: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized]
15549 | sp[-2] = js_float64(dr);
| ^~~~~~~~~~~~~~
quickjs/quickjs.c:15519:16: note: 'dr' was declared here
15519 | double dr;
| ^~
quickjs/quickjs.c: In function 'js_binary_logic_slow':
quickjs/quickjs.c:15833:18: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
15833 | sp[-2] = js_int32(r);
| ^~~~~~~~~~~
quickjs/quickjs.c:15682:22: note: 'r' was declared here
15682 | uint32_t v1, v2, r;
| ^
quickjs/quickjs.c:15804:12: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
15804 | if (!r)
| ^
quickjs/quickjs.c:15760:29: note: 'r' was declared here
15760 | JSBigInt *p1, *p2, *r;
| ^
quickjs/quickjs.c:15742:18: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized]
15742 | sp[-2] = __JS_NewShortBigInt(ctx, v);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15690:28: note: 'v' was declared here
15690 | js_slimb_t v1, v2, v;
| ^
quickjs/quickjs.c: In function 'js_define_var':
quickjs/quickjs.c:26502:9: warning: 'var_def_type' may be used uninitialized [-Wmaybe-uninitialized]
26502 | if (define_var(s, fd, name, var_def_type) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:26462:18: note: 'var_def_type' was declared here
26462 | JSVarDefEnum var_def_type;
| ^~~~~~~~~~~~
quickjs/quickjs.c: In function 'js_unary_arith_slow':
quickjs/quickjs.c:15283:16: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
15283 | if (!r)
| ^
quickjs/quickjs.c:15256:23: note: 'r' was declared here
15256 | JSBigInt *r;
| ^
quickjs/quickjs.c: In function 'js_typed_array_sort':
quickjs/quickjs.c:61495:13: warning: 'cmpfun' may be used uninitialized [-Wmaybe-uninitialized]
61495 | rqsort(p->u.array.u.ptr, len, elt_size, cmpfun, &tsc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:61360:11: note: 'cmpfun' was declared here
61360 | int (*cmpfun)(const void *a, const void *b, void *opaque);
| ^~~~~~
quickjs/quickjs.c: In function 'js_parse_expr_binary':
quickjs/quickjs.c:27928:13: warning: 'opcode' may be used uninitialized [-Wmaybe-uninitialized]
27928 | int op, opcode;
| ^~~~~~
In function 'js_uint32',
inlined from 'js_atomics_op' at quickjs/quickjs.c:62521:15:
quickjs/quickjs.c:1610:11: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
1610 | if (v <= INT32_MAX)
| ^
quickjs/quickjs.c: In function 'js_atomics_op':
quickjs/quickjs.c:62394:17: note: 'a' was declared here
62394 | uint64_t v, a, rep_val, idx;
| ^
ar -rs ../inst/lib//x64/libquickjs.a libquickjs.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c quickjsr.cpp -o quickjsr.o
g++ -std=gnu++20 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.cpp -o init.o
make[1]: Leaving directory '/d/temp/2026_08_23_01_04_21_29904/RtmpkTlZPC/R.INSTALL1035478bd4601/QuickJSR/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-QuickJSR/00new/QuickJSR/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'QuickJSR' as QuickJSR_1.11.0.zip
* DONE (QuickJSR)