=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libast", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for libast-0.7nb14 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in include --- all-recursive --- Making all in libast bmake[3]: "/tmp/work/devel/libast/work/libast-0.7/include/libast/Makefile" line 425: warning: duplicate script for target "types.h" ignored bmake[3]: "Makefile" line 234: warning: using previous script for "types.h" defined here --- all --- /opt/pkg/bin/bmake all-am bmake[4]: "/tmp/work/devel/libast/work/libast-0.7/include/libast/Makefile" line 425: warning: duplicate script for target "types.h" ignored bmake[4]: "Makefile" line 234: warning: using previous script for "types.h" defined here Making all in src --- array.lo --- --- builtin_hashes.lo --- --- array.lo --- if /usr/bin/bash ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/libast -I../include -I../include/libast -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -MT array.lo -MD -MP -MF ".deps/array.Tpo" -c -o array.lo array.c; then mv -f ".deps/array.Tpo" ".deps/array.Plo"; else rm -f ".deps/array.Tpo"; exit 1; fi --- builtin_hashes.lo --- if /usr/bin/bash ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/libast -I../include -I../include/libast -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -MT builtin_hashes.lo -MD -MP -MF ".deps/builtin_hashes.Tpo" -c -o builtin_hashes.lo builtin_hashes.c; then mv -f ".deps/builtin_hashes.Tpo" ".deps/builtin_hashes.Plo"; else rm -f ".deps/builtin_hashes.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I/tmp/work/devel/libast/work/.buildlink/include -I/tmp/work/devel/libast/work/.buildlink/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT builtin_hashes.lo -MD -MP -MF .deps/builtin_hashes.Tpo -c builtin_hashes.c -fPIC -DPIC -o .libs/builtin_hashes.o --- array.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I/tmp/work/devel/libast/work/.buildlink/include -I/tmp/work/devel/libast/work/.buildlink/include/freetype2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT array.lo -MD -MP -MF .deps/array.Tpo -c array.c -fPIC -DPIC -o .libs/array.o In file included from ../include/libast.h:110, from ../include/libast_internal.h:53, from array.c:30: ../include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ --- builtin_hashes.lo --- In file included from ../include/libast.h:110, from ../include/libast_internal.h:53, from builtin_hashes.c:30: ../include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ ../include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards --- array.lo --- ../include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards array.c: In function 'spif_array_list_init': array.c:200:43: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 200 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:200:43: note: each undeclared identifier is reported only once for each function it appears in 200 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:208:12: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 208 | return TRUE; | ^~~~ | B_TRUE array.c: In function 'spif_array_vector_init': array.c:240:43: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 240 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:248:12: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 248 | return TRUE; | ^~~~ | B_TRUE array.c: In function 'spif_array_map_init': array.c:254:43: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 254 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:262:12: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 262 | return TRUE; | ^~~~ | B_TRUE array.c: In function 'spif_array_done': array.c:270:43: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 270 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->del'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:536:59: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 536 | #define SPIF_OBJ_DEL(o) SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:273:13: note: in expansion of macro 'SPIF_OBJ_DEL' 273 | SPIF_OBJ_DEL(self->items[i]); | ^~~~~~~~~~~~ In file included from ../include/libast.h:111: ../include/libast/obj.h:715:17: note: declared here 715 | spif_func_t del; | ^~~ array.c:278:12: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 278 | return TRUE; | ^~~~ | B_TRUE array.c: In function 'spif_array_del': array.c:286:43: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 286 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c: In function 'spif_array_show': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)o)->cls)->show'; expected 0, have 4 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ array.c:323:24: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 323 | buff = SPIF_OBJ_CALL_METHOD(o, show)(o, tmp, buff, indent + 2); | ^~~~~~~~~~~~~~~~~~~~ ../include/libast/obj.h:716:17: note: declared here 716 | spif_func_t show; | ^~~~ array.c: In function 'spif_array_comp': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:350:13: note: in expansion of macro 'SPIF_OBJ_COMP' 350 | c = SPIF_OBJ_COMP(self->items[i], other->items[i]); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c: In function 'spif_array_list_dup': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:371:40: note: in expansion of macro 'SPIF_OBJ_DUP' 371 | tmp->items[i] = SPIF_CAST(obj) SPIF_OBJ_DUP(SPIF_OBJ(self->items[i])); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ array.c: In function 'spif_array_vector_dup': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:389:40: note: in expansion of macro 'SPIF_OBJ_DUP' 389 | tmp->items[i] = SPIF_CAST(obj) SPIF_OBJ_DUP(SPIF_OBJ(self->items[i])); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ array.c: In function 'spif_array_map_dup': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:407:40: note: in expansion of macro 'SPIF_OBJ_DUP' 407 | tmp->items[i] = SPIF_CAST(obj) SPIF_OBJ_DUP(SPIF_OBJ(self->items[i])); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ array.c: In function 'spif_array_append': array.c:422:43: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 422 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ --- builtin_hashes.lo --- *** [builtin_hashes.lo] Error code 1 bmake[2]: stopped making "all" in /tmp/work/devel/libast/work/libast-0.7/src --- array.lo --- array.c:430:12: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 430 | return TRUE; | ^~~~ | B_TRUE array.c: In function 'spif_array_list_contains': array.c:436:43: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 436 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:437:78: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 437 | return ((SPIF_LIST_ISNULL(spif_array_list_find(self, obj))) ? (FALSE) : (TRUE)); | ^~~~ | B_TRUE array.c: In function 'spif_array_vector_contains': array.c:443:43: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 443 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:444:82: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 444 | return ((SPIF_VECTOR_ISNULL(spif_array_vector_find(self, obj))) ? (FALSE) : (TRUE)); | ^~~~ | B_TRUE array.c: In function 'spif_array_count': ../include/libast/types.h:239:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) | ^ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ ../include/libast/types.h:305:43: note: in expansion of macro 'SPIF_CAST' 305 | #define SPIF_NULL_TYPE(type) (SPIF_CAST(type) (NULL)) | ^~~~~~~~~ array.c:450:43: note: in expansion of macro 'SPIF_NULL_TYPE' 450 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), SPIF_NULL_TYPE(listidx)); | ^~~~~~~~~~~~~~ array.c: In function 'spif_array_list_find': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:465:31: note: in expansion of macro 'SPIF_OBJ_COMP' 465 | if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], obj))) { | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c: In function 'spif_array_vector_find': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)mid * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:484:16: note: in expansion of macro 'SPIF_OBJ_COMP' 484 | diff = SPIF_OBJ_COMP(self->items[mid], obj); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c: In function 'spif_array_map_get': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)mid * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:521:16: note: in expansion of macro 'SPIF_OBJ_COMP' 521 | diff = SPIF_OBJ_COMP(self->items[mid], key); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ In file included from ../include/libast/tok.h:27, from ../include/libast.h:118: array.c: In function 'spif_array_get_keys': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)((spif_const_objpair_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->key)->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:114: note: in definition of macro 'SPIF_LIST_APPEND' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:547:36: note: in expansion of macro 'SPIF_OBJ_DUP' 547 | SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i])->key)); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ ../include/libast/list_if.h:45:75: error: too many arguments to function '((spif_const_listclass_t *)((spif_const_obj_t *)key_list)->cls)->append'; expected 0, have 2 45 | #define SPIF_LIST_CALL_METHOD(o, meth) SPIF_LIST_CLASS(o)->meth | ^ ../include/libast/list_if.h:57:75: note: in expansion of macro 'SPIF_LIST_CALL_METHOD' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~~~~~~~~~~~~~ array.c:547:9: note: in expansion of macro 'SPIF_LIST_APPEND' 547 | SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i])->key)); | ^~~~~~~~~~~~~~~~ ../include/libast/list_if.h:78:17: note: declared here 78 | spif_func_t append; | ^~~~~~ array.c: In function 'spif_array_get_pairs': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:114: note: in definition of macro 'SPIF_LIST_APPEND' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:563:37: note: in expansion of macro 'SPIF_OBJ_DUP' 563 | SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i]))); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ ../include/libast/list_if.h:45:75: error: too many arguments to function '((spif_const_listclass_t *)((spif_const_obj_t *)pair_list)->cls)->append'; expected 0, have 2 45 | #define SPIF_LIST_CALL_METHOD(o, meth) SPIF_LIST_CLASS(o)->meth | ^ ../include/libast/list_if.h:57:75: note: in expansion of macro 'SPIF_LIST_CALL_METHOD' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~~~~~~~~~~~~~ array.c:563:9: note: in expansion of macro 'SPIF_LIST_APPEND' 563 | SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i]))); | ^~~~~~~~~~~~~~~~ ../include/libast/list_if.h:78:17: note: declared here 78 | spif_func_t append; | ^~~~~~ array.c: In function 'spif_array_get_values': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)((spif_const_objpair_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->value)->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/list_if.h:57:114: note: in definition of macro 'SPIF_LIST_APPEND' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:579:38: note: in expansion of macro 'SPIF_OBJ_DUP' 579 | SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i])->value)); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ ../include/libast/list_if.h:45:75: error: too many arguments to function '((spif_const_listclass_t *)((spif_const_obj_t *)value_list)->cls)->append'; expected 0, have 2 45 | #define SPIF_LIST_CALL_METHOD(o, meth) SPIF_LIST_CLASS(o)->meth | ^ ../include/libast/list_if.h:57:75: note: in expansion of macro 'SPIF_LIST_CALL_METHOD' 57 | #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) | ^~~~~~~~~~~~~~~~~~~~~ array.c:579:9: note: in expansion of macro 'SPIF_LIST_APPEND' 579 | SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i])->value)); | ^~~~~~~~~~~~~~~~ ../include/libast/list_if.h:78:17: note: declared here 78 | spif_func_t append; | ^~~~~~ array.c: In function 'spif_array_has_key': array.c:587:64: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 587 | return ((SPIF_OBJ_ISNULL(spif_array_map_get(self, key))) ? FALSE : TRUE); | ^~~~~ | B_FALSE array.c:587:72: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 587 | return ((SPIF_OBJ_ISNULL(spif_array_map_get(self, key))) ? FALSE : TRUE); | ^~~~ | B_TRUE array.c: In function 'spif_array_has_value': array.c:595:44: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 595 | ASSERT_RVAL(!SPIF_VECTOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:602:20: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 602 | return TRUE; | ^~~~ | B_TRUE ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)pair->value)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:603:38: note: in expansion of macro 'SPIF_OBJ_COMP' 603 | } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(pair->value, value))) { | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c: In function 'spif_array_index': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:623:31: note: in expansion of macro 'SPIF_OBJ_COMP' 623 | if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], obj))) { | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c: In function 'spif_array_insert': array.c:635:43: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 635 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)obj)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:889:37: note: in definition of macro 'SPIF_CMP_IS_GREATER' 889 | #define SPIF_CMP_IS_GREATER(cmp) ((cmp) == SPIF_CMP_GREATER) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:643:54: note: in expansion of macro 'SPIF_OBJ_COMP' 643 | for (i = 0; i < self->len && SPIF_CMP_IS_GREATER(SPIF_OBJ_COMP(obj, self->items[i])); i++); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c:650:12: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 650 | return TRUE; | ^~~~ | B_TRUE array.c: In function 'spif_array_insert_at': array.c:658:43: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 658 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:690:12: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 690 | return TRUE; | ^~~~ | B_TRUE array.c: In function 'spif_array_prepend': array.c:703:43: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 703 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:714:12: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 714 | return TRUE; | ^~~~ | B_TRUE array.c: In function 'spif_array_remove': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)item)->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:725:53: note: in expansion of macro 'SPIF_OBJ_COMP' 725 | for (i = 0; i < self->len && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(item, self->items[i])); i++); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c: In function 'spif_array_map_remove': ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:746:53: note: in expansion of macro 'SPIF_OBJ_COMP' 746 | for (i = 0; i < self->len && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], item)); i++); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ array.c: In function 'spif_array_reverse': array.c:787:43: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 787 | ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:791:12: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 791 | return TRUE; | ^~~~ | B_TRUE array.c: In function 'spif_array_set': array.c:799:42: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 799 | ASSERT_RVAL(!SPIF_LIST_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)*(self->items + (sizetype)((long unsigned int)i * 8)))->cls)->comp'; expected 0, have 2 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/types.h:874:37: note: in definition of macro 'SPIF_CMP_IS_EQUAL' 874 | #define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) | ^~~ ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:566:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 566 | #define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) | ^~~~~~~~~~~~~~~~~~~~ array.c:807:53: note: in expansion of macro 'SPIF_OBJ_COMP' 807 | for (i = 0; i < self->len && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], key)); i++); | ^~~~~~~~~~~~~ ../include/libast/obj.h:717:17: note: declared here 717 | spif_func_t comp; | ^~~~ ../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)value)->cls)->dup'; expected 0, have 1 239 | #define SPIF_CAST(type) (SPIF_TYPE(type)) ../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST' 286 | #define SPIF_CLASS(cls) (SPIF_CAST(class) (cls)) | ^~~~~~~~~ ../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS' 447 | #define SPIF_OBJ_CLASS(obj) (SPIF_CLASS(SPIF_OBJ(obj)->cls)) | ^~~~~~~~~~ ../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS' 485 | #define SPIF_OBJ_CALL_METHOD(obj, meth) SPIF_OBJ_CLASS(obj)->meth | ^~~~~~~~~~~~~~ ../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD' 579 | #define SPIF_OBJ_DUP(o) SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) | ^~~~~~~~~~~~~~~~~~~~ array.c:812:62: note: in expansion of macro 'SPIF_OBJ_DUP' 812 | spif_objpair_set_value(SPIF_OBJPAIR(self->items[i]), SPIF_OBJ_DUP(value)); | ^~~~~~~~~~~~ ../include/libast/obj.h:718:17: note: declared here 718 | spif_func_t dup; | ^~~ array.c:813:16: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 813 | return TRUE; | ^~~~ | B_TRUE array.c: In function 'spif_array_iterator_init': array.c:847:46: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 847 | ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:855:12: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 855 | return TRUE; | ^~~~ | B_TRUE array.c: In function 'spif_array_iterator_done': array.c:861:46: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 861 | ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:864:12: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 864 | return TRUE; | ^~~~ | B_TRUE array.c: In function 'spif_array_iterator_del': array.c:872:46: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 872 | ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c: In function 'spif_array_iterator_has_next': array.c:948:46: error: 'FALSE' undeclared (first use in this function); did you mean 'B_FALSE'? 948 | ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE); | ^~~~~ ../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL' 510 | return (val);}} while (0) | ^~~ array.c:954:16: error: 'TRUE' undeclared (first use in this function); did you mean 'B_TRUE'? 954 | return TRUE; | ^~~~ | B_TRUE *** [array.lo] Error code 1 bmake[2]: stopped making "all" in /tmp/work/devel/libast/work/libast-0.7/src bmake[2]: 2 errors bmake[2]: stopped making "all" in /tmp/work/devel/libast/work/libast-0.7/src *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /tmp/work/devel/libast/work/libast-0.7 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /tmp/work/devel/libast/work/libast-0.7 *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/devel/libast/work/libast-0.7 bmake: 1 error bmake: stopped making "all" in /tmp/work/devel/libast/work/libast-0.7 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libast *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libast