Subject: | Compiling URI.c fails on threaded perls |
Build log:
c++ -c -Isrc -I/usr/local/include -I/opt/perl-5.24.0t/lib/site_perl/5.24.0/x86_64-linux-thread-multi/Panda/Lib.x/i -I/opt/perl-5.24.0t/lib/site_perl/5.24.0/x86_64-linux-thread-multi/Panda/XS.x/i -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o URI.o -std=c++11 -g0 -O2 -DVERSION=\"1.1.0\" -DXS_VERSION=\"1.1.0\" -fPIC "-I/opt/perl-5.24.0t/lib/5.24.0/x86_64-linux-thread-multi/CORE" URI.c
./URI.xsi: In function 'void XS_Panda__URI_path_segments(PerlInterpreter*, CV*)':
./URI.xsi:173:76: error: cannot convert 'SV* {aka sv*}' to 'PerlInterpreter* {aka interpreter*}' for argument '1' to 'std::string_view xs::lib::sv2string_view(PerlInterpreter*, SV*)'
for (size_t i = 1; i < items; ++i) list[i-1] = sv2string_view(ST(i));
^
Makefile:373: recipe for target 'URI.o' failed
make: *** [URI.o] Error 1
(/usr/bin/make exited with 512)