Subject: | Build fails under threaded perl |
Lib.c:457:1: note: in expansion of macro ‘XS_EUPXS’
XS_EUPXS(XS_Panda__Lib_set_native_logger)
^~~~~~~~
Lib.xs:90:52: error: cannot convert ‘cv*’ to ‘PerlInterpreter* {aka interpreter*}’ for argument ‘1’ to ‘void xs::call_sub_void(PerlInterpreter*, CV*, SV**, I32)’
xs::call_sub_void(cb.get<CV>(), args, 2);
^
make: *** [Makefile:358: Lib.o] Error 1
That line looks very suspicious. It misses pTHX_ for threaded perl builds
I have no idea how that works in c++ though