jsdec
jsdec copied to clipboard
Port basic blocks from RzList to RzPVector
FAILED: libcore_pdd.so.p/c_jsdec-plugin.c.o
cc -Ilibcore_pdd.so.p -I. -I.. -I../c -Isubprojects/libquickjs -I../subprojects/libquickjs -I/usr/include/librz -I/usr/include/librz/sdb -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -fPIC -MD -MQ libcore_pdd.so.p/c_jsdec-plugin.c.o -MF libcore_pdd.so.p/c_jsdec-plugin.c.o.d -o libcore_pdd.so.p/c_jsdec-plugin.c.o -c ../c/jsdec-plugin.c
In file included from /usr/include/librz/rz_lib.h:5,
from ../c/jsdec-plugin.c:7:
../c/jsdec-plugin.c: In function ‘js_function_bbs’:
/usr/include/librz/rz_list.h:36:31: error: ‘RzPVector’ {aka ‘struct rz_pvector_t’} has no member named ‘head’
36 | for (it = list->head; it && (pos = it->elem, 1); it = it->next)
| ^~
../c/jsdec-plugin.c:106:9: note: in expansion of macro ‘rz_list_foreach’
106 | rz_list_foreach (fcn->bbs, iter, bbi) {
| ^~~~~~~~~~~~~~~
[17/18] Compiling C object libcore_pdd.so.p/c_jsdec.c.o
use dev. stable (i.e. master) is supposed to be on par with the latest release.