* installing *source* package 'luajr' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.3.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -Iluajit/src -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c lua_api.cpp -o lua_api.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -Iluajit/src -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c push_to.cpp -o push_to.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -Iluajit/src -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c registry_entry.cpp -o registry_entry.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -Iluajit/src -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c run_func.cpp -o run_func.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -Iluajit/src -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c setup.cpp -o setup.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -Iluajit/src -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c state.cpp -o state.o make[1]: Entering directory '/d/temp/RtmpIf2JrO/R.INSTALL9c283402191e/luajr/src/luajit' ==== Building LuaJIT 2.1 (amalgamation) ==== /usr/bin/make -C src amalg make[2]: Entering directory '/d/temp/RtmpIf2JrO/R.INSTALL9c283402191e/luajr/src/luajit/src' /usr/bin/make all "LJCORE_O=ljamalg.o" make[3]: Entering directory '/d/temp/RtmpIf2JrO/R.INSTALL9c283402191e/luajr/src/luajit/src' HOSTCC host/minilua.o HOSTLINK host/minilua.exe VERSION luajit.h DYNASM host/buildvm_arch.h HOSTCC host/buildvm.o HOSTCC host/buildvm_asm.o HOSTCC host/buildvm_peobj.o HOSTCC host/buildvm_lib.o HOSTCC host/buildvm_fold.o HOSTLINK host/buildvm.exe BUILDVM lj_vm.o BUILDVM lj_ffdef.h BUILDVM lj_bcdef.h BUILDVM lj_folddef.h BUILDVM lj_recdef.h BUILDVM lj_libdef.h CC ljamalg.o In file included from lj_gc.c:30, from ljamalg.c:22: lj_vmevent.h:22:23: warning: enumerator value for 'LJ_VMEVENT_TRACE' is not an integer constant expression [-Wpedantic] 22 | LJ_VMEVENT_##name = ((LJ_VMEVENT_##name##_) & 7)|((hash) << 3) | ^ lj_vmevent.h:27:3: note: in expansion of macro 'VMEVENT_DEF' 27 | VMEVENT_DEF(TRACE, 0x12d91467), | ^~~~~~~~~~~ lj_vmevent.h:22:23: warning: enumerator value for 'LJ_VMEVENT_RECORD' is not an integer constant expression [-Wpedantic] 22 | LJ_VMEVENT_##name = ((LJ_VMEVENT_##name##_) & 7)|((hash) << 3) | ^ lj_vmevent.h:28:3: note: in expansion of macro 'VMEVENT_DEF' 28 | VMEVENT_DEF(RECORD, 0x1284bf4f), | ^~~~~~~~~~~ lj_vmevent.h:22:23: warning: enumerator value for 'LJ_VMEVENT_TEXIT' is not an integer constant expression [-Wpedantic] 22 | LJ_VMEVENT_##name = ((LJ_VMEVENT_##name##_) & 7)|((hash) << 3) | ^ lj_vmevent.h:29:3: note: in expansion of macro 'VMEVENT_DEF' 29 | VMEVENT_DEF(TEXIT, 0x129df2b0), | ^~~~~~~~~~~ lj_vmevent.h:22:23: warning: enumerator value for 'LJ_VMEVENT_ERRFIN' is not an integer constant expression [-Wpedantic] 22 | LJ_VMEVENT_##name = ((LJ_VMEVENT_##name##_) & 7)|((hash) << 3) | ^ lj_vmevent.h:30:3: note: in expansion of macro 'VMEVENT_DEF' 30 | VMEVENT_DEF(ERRFIN, 0x12d93888), | ^~~~~~~~~~~ In file included from ljamalg.c:23: lj_err.c: In function 'lj_err_unwind_win': lj_err.c:330:22: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 330 | RtlUnwindEx(f, (void *)((cframe_unwind_ff(cf2) && errcode != LUA_YIELD) ? | ^ In file included from lj_gc.c:12: lj_meta.c: In function 'mmcall': lj_obj.h:891:34: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 891 | #define contptr(f) ((void *)(f)) | ^ lj_obj.h:892:66: note: in expansion of macro 'contptr' 892 | #define setcont(o, f) ((o)->u64 = (uint64_t)(uintptr_t)contptr(f)) | ^~~~~~~ lj_meta.c:123:3: note: in expansion of macro 'setcont' 123 | setcont(top++, cont); /* Assembler VM stores PC in upper word or FR2. */ | ^~~~~~~ lj_meta.c: In function 'lj_meta_cat': lj_obj.h:891:34: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 891 | #define contptr(f) ((void *)(f)) | ^ lj_obj.h:892:66: note: in expansion of macro 'contptr' 892 | #define setcont(o, f) ((o)->u64 = (uint64_t)(uintptr_t)contptr(f)) | ^~~~~~~ lj_meta.c:268:7: note: in expansion of macro 'setcont' 268 | setcont(top-1, lj_cont_cat); | ^~~~~~~ lj_meta.c: In function 'lj_meta_equal': lj_obj.h:891:34: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 891 | #define contptr(f) ((void *)(f)) | ^ lj_obj.h:892:66: note: in expansion of macro 'contptr' 892 | #define setcont(o, f) ((o)->u64 = (uint64_t)(uintptr_t)contptr(f)) | ^~~~~~~ lj_meta.c:342:5: note: in expansion of macro 'setcont' 342 | setcont(top++, ne ? lj_cont_condf : lj_cont_condt); | ^~~~~~~ In file included from ljamalg.c:33: lj_debug.c: In function 'lj_debug_dumpstack': lj_debug.c:635:39: warning: ISO C forbids passing argument 2 of 'lj_strfmt_putptr' between function pointer and 'void *' [-Wpedantic] 635 | lj_strfmt_putptr(sb, fn->c.f); | ~~~~~^~ In file included from lj_err.c:19: lj_strfmt.h:97:67: note: expected 'const void *' but argument is of type 'lua_CFunction' {aka 'int (*)(lua_State *)'} 97 | LJ_FUNC SBuf * LJ_FASTCALL lj_strfmt_putptr(SBuf *sb, const void *v); | ~~~~~~~~~~~~^ In file included from lj_gc.c:21: lj_state.c: In function 'lua_newstate': lj_state.h:36:34: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 36 | #define LJ_ALLOCF_INTERNAL ((lua_Alloc)(void *)(uintptr_t)(1237<<4)) | ^ lj_state.c:231:17: note: in expansion of macro 'LJ_ALLOCF_INTERNAL' 231 | if (allocf == LJ_ALLOCF_INTERNAL) { | ^~~~~~~~~~~~~~~~~~ lj_dispatch.c: In function 'lj_dispatch_init': lj_vm.h:114:38: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 114 | #define makeasmfunc(ofs) lj_ptr_sign((ASMFunction)(lj_vm_asm_begin + (ofs)), 0) | ^ lj_obj.h:1055:32: note: in definition of macro 'lj_ptr_sign' 1055 | #define lj_ptr_sign(ptr, ctx) (ptr) | ^~~ lj_dispatch.c:65:38: note: in expansion of macro 'makeasmfunc' 65 | disp[GG_LEN_DDISP+i] = disp[i] = makeasmfunc(lj_bc_ofs[i]); | ^~~~~~~~~~~ lj_vm.h:114:38: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 114 | #define makeasmfunc(ofs) lj_ptr_sign((ASMFunction)(lj_vm_asm_begin + (ofs)), 0) | ^ lj_obj.h:1055:32: note: in definition of macro 'lj_ptr_sign' 1055 | #define lj_ptr_sign(ptr, ctx) (ptr) | ^~~ lj_dispatch.c:67:15: note: in expansion of macro 'makeasmfunc' 67 | disp[i] = makeasmfunc(lj_bc_ofs[i]); | ^~~~~~~~~~~ lj_dispatch.c: In function 'lj_dispatch_update': lj_vm.h:114:38: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 114 | #define makeasmfunc(ofs) lj_ptr_sign((ASMFunction)(lj_vm_asm_begin + (ofs)), 0) | ^ lj_obj.h:1055:32: note: in definition of macro 'lj_ptr_sign' 1055 | #define lj_ptr_sign(ptr, ctx) (ptr) | ^~~ lj_dispatch.c:128:16: note: in expansion of macro 'makeasmfunc' 128 | f_forl = makeasmfunc(lj_bc_ofs[BC_FORL]); | ^~~~~~~~~~~ lj_vm.h:114:38: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 114 | #define makeasmfunc(ofs) lj_ptr_sign((ASMFunction)(lj_vm_asm_begin + (ofs)), 0) | ^ lj_obj.h:1055:32: note: in definition of macro 'lj_ptr_sign' 1055 | #define lj_ptr_sign(ptr, ctx) (ptr) | ^~~ lj_dispatch.c:129:17: note: in expansion of macro 'makeasmfunc' 129 | f_iterl = makeasmfunc(lj_bc_ofs[BC_ITERL]); | ^~~~~~~~~~~ lj_vm.h:114:38: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 114 | #define makeasmfunc(ofs) lj_ptr_sign((ASMFunction)(lj_vm_asm_begin + (ofs)), 0) | ^ lj_obj.h:1055:32: note: in definition of macro 'lj_ptr_sign' 1055 | #define lj_ptr_sign(ptr, ctx) (ptr) | ^~~ lj_dispatch.c:130:17: note: in expansion of macro 'makeasmfunc' 130 | f_itern = makeasmfunc(lj_bc_ofs[BC_ITERN]); | ^~~~~~~~~~~ lj_vm.h:114:38: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 114 | #define makeasmfunc(ofs) lj_ptr_sign((ASMFunction)(lj_vm_asm_begin + (ofs)), 0) | ^ lj_obj.h:1055:32: note: in definition of macro 'lj_ptr_sign' 1055 | #define lj_ptr_sign(ptr, ctx) (ptr) | ^~~ lj_dispatch.c:131:16: note: in expansion of macro 'makeasmfunc' 131 | f_loop = makeasmfunc(lj_bc_ofs[BC_LOOP]); | ^~~~~~~~~~~ lj_vm.h:114:38: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 114 | #define makeasmfunc(ofs) lj_ptr_sign((ASMFunction)(lj_vm_asm_begin + (ofs)), 0) | ^ lj_obj.h:1055:32: note: in definition of macro 'lj_ptr_sign' 1055 | #define lj_ptr_sign(ptr, ctx) (ptr) | ^~~ lj_dispatch.c:132:17: note: in expansion of macro 'makeasmfunc' 132 | f_funcf = makeasmfunc(lj_bc_ofs[BC_FUNCF]); | ^~~~~~~~~~~ lj_vm.h:114:38: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 114 | #define makeasmfunc(ofs) lj_ptr_sign((ASMFunction)(lj_vm_asm_begin + (ofs)), 0) | ^ lj_obj.h:1055:32: note: in definition of macro 'lj_ptr_sign' 1055 | #define lj_ptr_sign(ptr, ctx) (ptr) | ^~~ lj_dispatch.c:133:17: note: in expansion of macro 'makeasmfunc' 133 | f_funcv = makeasmfunc(lj_bc_ofs[BC_FUNCV]); | ^~~~~~~~~~~ lj_vm.h:114:38: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 114 | #define makeasmfunc(ofs) lj_ptr_sign((ASMFunction)(lj_vm_asm_begin + (ofs)), 0) | ^ lj_obj.h:1055:32: note: in definition of macro 'lj_ptr_sign' 1055 | #define lj_ptr_sign(ptr, ctx) (ptr) | ^~~ lj_dispatch.c:139:17: note: in expansion of macro 'makeasmfunc' 139 | f_funcf = makeasmfunc(lj_bc_ofs[BC_IFUNCF]); | ^~~~~~~~~~~ lj_vm.h:114:38: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 114 | #define makeasmfunc(ofs) lj_ptr_sign((ASMFunction)(lj_vm_asm_begin + (ofs)), 0) | ^ lj_obj.h:1055:32: note: in definition of macro 'lj_ptr_sign' 1055 | #define lj_ptr_sign(ptr, ctx) (ptr) | ^~~ lj_dispatch.c:140:17: note: in expansion of macro 'makeasmfunc' 140 | f_funcv = makeasmfunc(lj_bc_ofs[BC_IFUNCV]); | ^~~~~~~~~~~ lj_vm.h:114:38: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 114 | #define makeasmfunc(ofs) lj_ptr_sign((ASMFunction)(lj_vm_asm_begin + (ofs)), 0) | ^ lj_obj.h:1055:32: note: in definition of macro 'lj_ptr_sign' 1055 | #define lj_ptr_sign(ptr, ctx) (ptr) | ^~~ lj_dispatch.c:194:21: note: in expansion of macro 'makeasmfunc' 194 | disp[i] = makeasmfunc(lj_bc_ofs[i]); | ^~~~~~~~~~~ In file included from ljamalg.c:36: lj_dispatch.c: In function 'luaJIT_setmode': lj_dispatch.c:304:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 304 | g->wrapf = (lua_CFunction)lightudV(g, tv); | ^ lj_dispatch.c: In function 'lj_dispatch_call': lj_vm.h:114:38: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 114 | #define makeasmfunc(ofs) lj_ptr_sign((ASMFunction)(lj_vm_asm_begin + (ofs)), 0) | ^ lj_obj.h:1055:32: note: in definition of macro 'lj_ptr_sign' 1055 | #define lj_ptr_sign(ptr, ctx) (ptr) | ^~~ lj_dispatch.c:519:10: note: in expansion of macro 'makeasmfunc' 519 | return makeasmfunc(lj_bc_ofs[op]); /* Return static dispatch target. */ | ^~~~~~~~~~~ lj_api.c: In function 'lua_yield': lj_obj.h:891:34: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 891 | #define contptr(f) ((void *)(f)) | ^ lj_obj.h:892:66: note: in expansion of macro 'contptr' 892 | #define setcont(o, f) ((o)->u64 = (uint64_t)(uintptr_t)contptr(f)) | ^~~~~~~ lj_api.c:1223:7: note: in expansion of macro 'setcont' 1223 | setcont(top, lj_cont_hook); | ^~~~~~~ In file included from ljamalg.c:53: lj_ccall.c: In function 'lj_ccall_func': lj_ccall.c:1183:15: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 1183 | cc.func = (void (*)(void))cdata_getptr(cdataptr(cd), sz); | ^ lj_ccall.c:1190:28: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 1190 | tv.u64 = ((uintptr_t)(void *)cc.func >> 2) | U64x(800000000, 00000000); | ^ In file included from lj_target.h:137, from lj_ccallback.c:19, from ljamalg.c:54: lj_target_x86.h: At top level: lj_target_x86.h:198:25: warning: initializer element is not a constant expression [-Wpedantic] 198 | #define XV_f20f3a(o) ((uint32_t)(0x7be3c4 + (0x##o<<24))) | ^ lj_target_x86.h:240:25: note: in expansion of macro 'XV_f20f3a' 240 | const x86Op XV_RORX = XV_f20f3a(f0); | ^~~~~~~~~ lj_target_x86.h:199:25: warning: initializer element is not a constant expression [-Wpedantic] 199 | #define XV_f30f38(o) ((uint32_t)(0x7ae2c4 + (0x##o<<24))) | ^ lj_target_x86.h:241:25: note: in expansion of macro 'XV_f30f38' 241 | const x86Op XV_SARX = XV_f30f38(f7); | ^~~~~~~~~ lj_target_x86.h:196:25: warning: initializer element is not a constant expression [-Wpedantic] 196 | #define XV_660f38(o) ((uint32_t)(0x79e2c4 + (0x##o<<24))) | ^ lj_target_x86.h:242:25: note: in expansion of macro 'XV_660f38' 242 | const x86Op XV_SHLX = XV_660f38(f7); | ^~~~~~~~~ lj_target_x86.h:197:25: warning: initializer element is not a constant expression [-Wpedantic] 197 | #define XV_f20f38(o) ((uint32_t)(0x7be2c4 + (0x##o<<24))) | ^ lj_target_x86.h:243:25: note: in expansion of macro 'XV_f20f38' 243 | const x86Op XV_SHRX = XV_f20f38(f7); | ^~~~~~~~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:247:25: note: in expansion of macro 'XO_' 247 | const x86Op XO_MOV = XO_(8b); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:248:25: note: in expansion of macro 'XO_' 248 | const x86Op XO_MOVto = XO_(89); | ^~~ lj_target_x86.h:191:25: warning: initializer element is not a constant expression [-Wpedantic] 191 | #define XO_66(o) ((uint32_t)(0x6600fd + (0x##o<<24))) | ^ lj_target_x86.h:249:25: note: in expansion of macro 'XO_66' 249 | const x86Op XO_MOVtow = XO_66(89); | ^~~~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:250:25: note: in expansion of macro 'XO_' 250 | const x86Op XO_MOVtob = XO_(88); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:251:25: note: in expansion of macro 'XO_' 251 | const x86Op XO_MOVmi = XO_(c7); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:252:25: note: in expansion of macro 'XO_' 252 | const x86Op XO_MOVmib = XO_(c6); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:253:25: note: in expansion of macro 'XO_' 253 | const x86Op XO_LEA = XO_(8d); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:254:33: note: in expansion of macro 'XO_' 254 | const x86Op XO_ARITHib = XO_(80); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:255:25: note: in expansion of macro 'XO_' 255 | const x86Op XO_ARITHi = XO_(81); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:256:33: note: in expansion of macro 'XO_' 256 | const x86Op XO_ARITHi8 = XO_(83); | ^~~ lj_target_x86.h:191:25: warning: initializer element is not a constant expression [-Wpedantic] 191 | #define XO_66(o) ((uint32_t)(0x6600fd + (0x##o<<24))) | ^ lj_target_x86.h:257:33: note: in expansion of macro 'XO_66' 257 | const x86Op XO_ARITHiw8 = XO_66(83); | ^~~~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:258:25: note: in expansion of macro 'XO_' 258 | const x86Op XO_SHIFTi = XO_(c1); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:259:25: note: in expansion of macro 'XO_' 259 | const x86Op XO_SHIFT1 = XO_(d1); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:260:33: note: in expansion of macro 'XO_' 260 | const x86Op XO_SHIFTcl = XO_(d3); | ^~~ lj_target_x86.h:190:25: warning: initializer element is not a constant expression [-Wpedantic] 190 | #define XO_0f(o) ((uint32_t)(0x0f00fd + (0x##o<<24))) | ^ lj_target_x86.h:261:25: note: in expansion of macro 'XO_0f' 261 | const x86Op XO_IMUL = XO_0f(af); | ^~~~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:265:25: note: in expansion of macro 'XO_' 265 | const x86Op XO_TESTb = XO_(84); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:266:25: note: in expansion of macro 'XO_' 266 | const x86Op XO_TEST = XO_(85); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:267:33: note: in expansion of macro 'XO_' 267 | const x86Op XO_GROUP3b = XO_(f6); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:268:25: note: in expansion of macro 'XO_' 268 | const x86Op XO_GROUP3 = XO_(f7); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:269:33: note: in expansion of macro 'XO_' 269 | const x86Op XO_GROUP5b = XO_(fe); | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:270:25: note: in expansion of macro 'XO_' 270 | const x86Op XO_GROUP5 = XO_(ff); | ^~~ lj_target_x86.h:190:25: warning: initializer element is not a constant expression [-Wpedantic] 190 | #define XO_0f(o) ((uint32_t)(0x0f00fd + (0x##o<<24))) | ^ lj_target_x86.h:271:25: note: in expansion of macro 'XO_0f' 271 | const x86Op XO_MOVZXb = XO_0f(b6); | ^~~~~ lj_target_x86.h:190:25: warning: initializer element is not a constant expression [-Wpedantic] 190 | #define XO_0f(o) ((uint32_t)(0x0f00fd + (0x##o<<24))) | ^ lj_target_x86.h:272:25: note: in expansion of macro 'XO_0f' 272 | const x86Op XO_MOVZXw = XO_0f(b7); | ^~~~~ lj_target_x86.h:190:25: warning: initializer element is not a constant expression [-Wpedantic] 190 | #define XO_0f(o) ((uint32_t)(0x0f00fd + (0x##o<<24))) | ^ lj_target_x86.h:273:25: note: in expansion of macro 'XO_0f' 273 | const x86Op XO_MOVSXb = XO_0f(be); | ^~~~~ lj_target_x86.h:190:25: warning: initializer element is not a constant expression [-Wpedantic] 190 | #define XO_0f(o) ((uint32_t)(0x0f00fd + (0x##o<<24))) | ^ lj_target_x86.h:274:25: note: in expansion of macro 'XO_0f' 274 | const x86Op XO_MOVSXw = XO_0f(bf); | ^~~~~ lj_target_x86.h:190:25: warning: initializer element is not a constant expression [-Wpedantic] 190 | #define XO_0f(o) ((uint32_t)(0x0f00fd + (0x##o<<24))) | ^ lj_target_x86.h:276:25: note: in expansion of macro 'XO_0f' 276 | const x86Op XO_BSWAP = XO_0f(c8); | ^~~~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:306:25: note: in expansion of macro 'XO_' 306 | const x86Op XO_FLDd = XO_(d9), XOg_FLDd = 0; | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:307:25: note: in expansion of macro 'XO_' 307 | const x86Op XO_FLDq = XO_(dd), XOg_FLDq = 0; | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:308:25: note: in expansion of macro 'XO_' 308 | const x86Op XO_FILDd = XO_(db), XOg_FILDd = 0; | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:309:25: note: in expansion of macro 'XO_' 309 | const x86Op XO_FILDq = XO_(df), XOg_FILDq = 5; | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:310:25: note: in expansion of macro 'XO_' 310 | const x86Op XO_FSTPd = XO_(d9), XOg_FSTPd = 3; | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:311:25: note: in expansion of macro 'XO_' 311 | const x86Op XO_FSTPq = XO_(dd), XOg_FSTPq = 3; | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:312:25: note: in expansion of macro 'XO_' 312 | const x86Op XO_FISTPq = XO_(df), XOg_FISTPq = 7; | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:313:33: note: in expansion of macro 'XO_' 313 | const x86Op XO_FISTTPq = XO_(dd), XOg_FISTTPq = 1; | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:314:25: note: in expansion of macro 'XO_' 314 | const x86Op XO_FADDq = XO_(dc), XOg_FADDq = 0; | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:315:25: note: in expansion of macro 'XO_' 315 | const x86Op XO_FLDCW = XO_(d9), XOg_FLDCW = 5; | ^~~ lj_target_x86.h:188:25: warning: initializer element is not a constant expression [-Wpedantic] 188 | #define XO_(o) ((uint32_t)(0x0000fe + (0x##o<<24))) | ^ lj_target_x86.h:316:25: note: in expansion of macro 'XO_' 316 | const x86Op XO_FNSTCW = XO_(d9), XOg_FNSTCW = 7; | ^~~ lj_ccallback.c: In function 'callback_mcode_init': lj_ccallback.c:115:32: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 115 | uint8_t *target = (uint8_t *)(void *)lj_vm_ffi_callback; | ^ In file included from ljamalg.c:56: lj_clib.c: In function 'clib_getsym': lj_clib.c:272:11: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 272 | p = (void *)GetProcAddress(h, name); | ^ lj_clib.c:276:9: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 276 | p = (void *)GetProcAddress((HINSTANCE)cl->handle, name); | ^ In file included from lj_obj.h:13: lj_record.c: In function 'rec_mm_prep': lj_obj.h:891:34: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 891 | #define contptr(f) ((void *)(f)) | ^ lj_def.h:98:55: note: in definition of macro 'u64ptr' 98 | #define u64ptr(p) ((uint64_t)(intptr_t)(void *)(p)) | ^ lj_record.c:1047:47: note: in expansion of macro 'contptr' 1047 | J->base[top] = lj_ir_k64(J, IR_KNUM, u64ptr(contptr(cont))); | ^~~~~~~ lj_ffrecord.c: In function 'recff_stitch': lj_obj.h:891:34: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 891 | #define contptr(f) ((void *)(f)) | ^ lj_obj.h:892:66: note: in expansion of macro 'contptr' 892 | #define setcont(o, f) ((o)->u64 = (uint64_t)(uintptr_t)contptr(f)) | ^~~~~~~ lj_ffrecord.c:119:3: note: in expansion of macro 'setcont' 119 | setcont(base-LJ_FR2, cont); | ^~~~~~~ lj_obj.h:891:34: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 891 | #define contptr(f) ((void *)(f)) | ^ lj_def.h:98:55: note: in definition of macro 'u64ptr' 98 | #define u64ptr(p) ((uint64_t)(intptr_t)(void *)(p)) | ^ lj_ffrecord.c:129:46: note: in expansion of macro 'contptr' 129 | J->base[-1] = lj_ir_k64(J, IR_KNUM, u64ptr(contptr(cont))); | ^~~~~~~ In file included from lj_asm.c:1702, from ljamalg.c:72: lj_asm_x86.h: In function 'asm_gencall': lj_asm_x86.h:575:7: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 575 | if ((void *)ci->func) | ^ In file included from lj_asm.c:221: lj_emit_x86.h:519:57: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 519 | #define emit_call(as, f) emit_call_(as, (MCode *)(void *)(f)) | ^ lj_asm_x86.h:576:5: note: in expansion of macro 'emit_call' 576 | emit_call(as, ci->func); | ^~~~~~~~~ lj_asm_x86.h: In function 'asm_callx': lj_asm_x86.h:756:13: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 756 | ci.func = (ASMFunction)asm_callx_func(as, irf, func); | ^ lj_asm_x86.h:757:8: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 757 | if (!(void *)ci.func) { | ^ lj_asm_x86.h: In function 'asm_fpmath': lj_emit_x86.h:519:57: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 519 | #define emit_call(as, f) emit_call_(as, (MCode *)(void *)(f)) | ^ lj_asm_x86.h:2007:7: note: in expansion of macro 'emit_call' 2007 | emit_call(as, fpm == IRFPM_FLOOR ? lj_vm_floor_sse : | ^~~~~~~~~ lj_asm_x86.h: In function 'lj_asm_patchexit': lj_asm_x86.h:3132:50: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 3132 | (void *)(p+5+*(int32_t *)(p+1)) == (void *)lj_gc_step_jit) { | ^ lib_aux.c: In function 'luaL_newstate': lj_state.h:36:34: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 36 | #define LJ_ALLOCF_INTERNAL ((lua_Alloc)(void *)(uintptr_t)(1237<<4)) | ^ lib_aux.c:376:20: note: in expansion of macro 'LJ_ALLOCF_INTERNAL' 376 | L = lua_newstate(LJ_ALLOCF_INTERNAL, NULL); | ^~~~~~~~~~~~~~~~~~ In file included from ljamalg.c:84: lib_package.c: In function 'll_bcsym': lib_package.c:156:12: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 156 | return (const char *)GetProcAddress((HINSTANCE)lib, sym); | ^ lib_package.c:162:21: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 162 | const char *p = (const char *)GetProcAddress(h, sym); | ^ lib_package.c:164:41: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 164 | (const char *)ll_bcsym, &h)) | ^ lib_package.c:165:11: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 165 | p = (const char *)GetProcAddress(h, sym); | ^ lib_jit.c: In function 'lj_cf_jit_util_funcinfo': lib_jit.c:205:26: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 205 | (intptr_t)(void *)fn->c.f); | ^ lj_obj.h:965:49: note: in definition of macro 'setintptrV' 965 | #define setintptrV(o, i) setint64V((o), (i)) | ^ lib_jit.c: In function 'lj_cf_jit_util_ircalladdr': lib_jit.c:408:36: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 408 | setintptrV(L->top-1, (intptr_t)(void *)lj_ptr_strip(func)); | ^ lj_obj.h:965:49: note: in definition of macro 'setintptrV' 965 | #define setintptrV(o, i) setint64V((o), (i)) | ^ AR libluajit.a D:\rtools43\x86_64-w64-mingw32.static.posix\bin\ar.exe: `u' modifier ignored since `D' is the default (see `U') CC luajit.o BUILDVM jit/vmdef.lua LINK luajit.exe OK Successfully built LuaJIT make[3]: Leaving directory '/d/temp/RtmpIf2JrO/R.INSTALL9c283402191e/luajr/src/luajit/src' make[2]: Leaving directory '/d/temp/RtmpIf2JrO/R.INSTALL9c283402191e/luajr/src/luajit/src' ==== Successfully built LuaJIT 2.1 (amalgamation) ==== make[1]: Leaving directory '/d/temp/RtmpIf2JrO/R.INSTALL9c283402191e/luajr/src/luajit' g++ -std=gnu++17 -shared -s -static-libgcc -o luajr.dll tmp.def lua_api.o push_to.o registry_entry.o run_func.o setup.o state.o luajit/src/libluajit.a -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-luajr/00new/luajr/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** 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 * DONE (luajr)