=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for yap-6.3.3nb5 gcc -c -DBP_FREE -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include ./console/yap.c -o yap.o gcc -c -DBP_FREE -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/agc.c -o agc.o gcc -c -DBP_FREE -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/absmi.c -o absmi.o gcc -c -DBP_FREE -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/adtdefs.c -o adtdefs.o gcc -c -DBP_FREE -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/alloc.c -o alloc.o gcc -c -DBP_FREE -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/amasm.c -o amasm.o gcc -c -DBP_FREE -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/analyst.c -o analyst.o gcc -c -DBP_FREE -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/arrays.c -o arrays.o In file included from ./H/Yap.h:157, from ./H/absmi.h:148, from C/agc.c:21: ./H/YapTerm.h:100:4: error: #error Yap requires pointers of size 4 or 8 100 | # error Yap requires pointers of size 4 or 8 | ^~~~~ ./H/YapTerm.h:104:9: error: unknown type name 'UInt' 104 | typedef UInt CELL; | ^~~~ ./H/YapTerm.h:105:9: error: unknown type name 'UShort' 105 | typedef UShort BITS16; | ^~~~~~ ./H/YapTerm.h:106:9: error: unknown type name 'Short' 106 | typedef Short SBITS16; | ^~~~~ ./H/YapTerm.h:107:9: error: unknown type name 'UInt' 107 | typedef UInt BITS32; | ^~~~ In file included from ./H/Yap.h:157, from C/analyst.c:22: ./H/YapTerm.h:100:4: error: #error Yap requires pointers of size 4 or 8 100 | # error Yap requires pointers of size 4 or 8 | ^~~~~ ./H/YapTerm.h:104:9: error: unknown type name 'UInt' 104 | typedef UInt CELL; | ^~~~ ./H/YapTerm.h:105:9: error: unknown type name 'UShort' 105 | typedef UShort BITS16; | ^~~~~~ ./H/YapTerm.h:106:9: error: unknown type name 'Short' 106 | typedef Short SBITS16; | ^~~~~ ./H/YapTerm.h:107:9: error: unknown type name 'UInt' 107 | typedef UInt BITS32; | ^~~~ In file included from ./H/Yap.h:157, from C/arrays.c:18: ./H/YapTerm.h:100:4: error: #error Yap requires pointers of size 4 or 8 100 | # error Yap requires pointers of size 4 or 8 | ^~~~~ ./H/YapTerm.h:104:9: error: unknown type name 'UInt' 104 | typedef UInt CELL; | ^~~~ ./H/YapTerm.h:105:9: error: unknown type name 'UShort' 105 | typedef UShort BITS16; | ^~~~~~ ./H/YapTerm.h:106:9: error: unknown type name 'Short' 106 | typedef Short SBITS16; | ^~~~~ ./H/YapTerm.h:107:9: error: unknown type name 'UInt' 107 | typedef UInt BITS32; | ^~~~ In file included from ./H/Yap.h:309, from ./H/absmi.h:148, from C/agc.c:21: ./H/amidefs.h:93:17: error: unknown type name 'Int' 93 | /* */ typedef Int DISPREG; | ^~~ ./H/amidefs.h:95:17: error: unknown type name 'Int' 95 | /* */ typedef Int OPREG; | ^~~ ./H/amidefs.h:120:14: error: expected declaration specifiers or '...' before '*' token 120 | typedef Int (*CPredicate)(CACHE_TYPE1); | ^ ./H/amidefs.h:122:14: error: expected declaration specifiers or '...' before '*' token 122 | typedef Int (*CmpPredicate)(Term, Term); | ^ In file included from ./H/Yap.h:157, from ./H/absmi.h:148, from C/absmi.c:497: ./H/YapTerm.h:100:4: error: #error Yap requires pointers of size 4 or 8 100 | # error Yap requires pointers of size 4 or 8 | ^~~~~ ./H/YapTerm.h:104:9: error: unknown type name 'UInt' 104 | typedef UInt CELL; | ^~~~ ./H/YapTerm.h:105:9: error: unknown type name 'UShort' 105 | typedef UShort BITS16; | ^~~~~~ ./H/YapTerm.h:106:9: error: unknown type name 'Short' 106 | typedef Short SBITS16; | ^~~~~ ./H/YapTerm.h:107:9: error: unknown type name 'UInt' 107 | typedef UInt BITS32; | ^~~~ In file included from ./H/Yap.h:309, from ./H/absmi.h:148, from C/agc.c:21: ./H/amidefs.h:344:32: warning: division by zero [-Wdiv-by-zero] 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:344:15: error: variably modified 'd' at file scope 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:353:7: error: unknown type name 'Int' 353 | Int a; | ^~~ ./H/amidefs.h:379:7: error: unknown type name 'Int' 379 | Int s; | ^~~ ./H/amidefs.h:388:7: error: unknown type name 'CPredicate' 388 | CPredicate native; | ^~~~~~~~~~ ./H/amidefs.h:436:7: error: unknown type name 'Int' 436 | Int s; | ^~~ ./H/amidefs.h:438:7: error: unknown type name 'CPredicate' 438 | CPredicate f; | ^~~~~~~~~~ ./H/amidefs.h:504:7: error: unknown type name 'Int' 504 | Int i; | ^~~ ./H/amidefs.h:529:32: warning: division by zero [-Wdiv-by-zero] 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:529:15: error: variably modified 'd' at file scope 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:540:7: error: unknown type name 'Int' 540 | Int a; | ^~~ In file included from ./H/Yap.h:309, from C/analyst.c:22: ./H/amidefs.h:93:17: error: unknown type name 'Int' 93 | /* */ typedef Int DISPREG; | ^~~ In file included from ./H/Yap.h:157, from C/alloc.c:22: ./H/YapTerm.h:100:4: error: #error Yap requires pointers of size 4 or 8 100 | # error Yap requires pointers of size 4 or 8 | ^~~~~ ./H/amidefs.h:95:17: error: unknown type name 'Int' 95 | /* */ typedef Int OPREG; | ^~~ ./H/amidefs.h:120:14: error: expected declaration specifiers or '...' before '*' token 120 | typedef Int (*CPredicate)(CACHE_TYPE1); | ^ ./H/amidefs.h:605:32: warning: division by zero [-Wdiv-by-zero] 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/YapTerm.h:104:9: error: unknown type name 'UInt' 104 | typedef UInt CELL; | ^~~~ ./H/amidefs.h:122:14: error: expected declaration specifiers or '...' before '*' token 122 | typedef Int (*CmpPredicate)(Term, Term); | ^ ./H/YapTerm.h:105:9: error: unknown type name 'UShort' 105 | typedef UShort BITS16; | ^~~~~~ ./H/amidefs.h:605:15: error: variably modified 'd' at file scope 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/YapTerm.h:106:9: error: unknown type name 'Short' 106 | typedef Short SBITS16; | ^~~~~ ./H/YapTerm.h:107:9: error: unknown type name 'UInt' 107 | typedef UInt BITS32; | ^~~~ ./H/amidefs.h:618:7: error: unknown type name 'Int' 618 | Int I; | ^~~ ./H/amidefs.h:626:32: warning: division by zero [-Wdiv-by-zero] 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:626:15: error: variably modified 'd' at file scope 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:632:7: error: unknown type name 'Int' 632 | Int n; | ^~~ ./H/amidefs.h:694:7: error: unknown type name 'Int' 694 | Int i; | ^~~ ./H/amidefs.h:749:32: warning: division by zero [-Wdiv-by-zero] 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:749:15: error: variably modified 'd' at file scope 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ In file included from ./H/Yap.h:309, from C/analyst.c:22: ./H/amidefs.h:344:32: warning: division by zero [-Wdiv-by-zero] 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:760:7: error: unknown type name 'Int' 760 | Int a; | ^~~ ./H/amidefs.h:344:15: error: variably modified 'd' at file scope 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:353:7: error: unknown type name 'Int' 353 | Int a; | ^~~ ./H/amidefs.h:793:7: error: unknown type name 'Int' 793 | Int c; | ^~~ ./H/amidefs.h:379:7: error: unknown type name 'Int' 379 | Int s; | ^~~ ./H/amidefs.h:388:7: error: unknown type name 'CPredicate' 388 | CPredicate native; | ^~~~~~~~~~ ./H/amidefs.h:436:7: error: unknown type name 'Int' 436 | Int s; | ^~~ ./H/amidefs.h:863:7: error: unknown type name 'Int' 863 | Int c; | ^~~ ./H/amidefs.h:438:7: error: unknown type name 'CPredicate' 438 | CPredicate f; | ^~~~~~~~~~ ./H/amidefs.h:504:7: error: unknown type name 'Int' 504 | Int i; | ^~~ ./H/amidefs.h:529:32: warning: division by zero [-Wdiv-by-zero] 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:1054:1: error: unknown type name 'UInt' 1054 | UInt ENV_Size(yamop *cp) | ^~~~ ./H/amidefs.h:529:15: error: variably modified 'd' at file scope 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:540:7: error: unknown type name 'Int' 540 | Int a; | ^~~ ./H/amidefs.h:1072:1: error: unknown type name 'UInt' 1072 | UInt EnvSize(yamop *cp) | ^~~~ ./H/amidefs.h:605:32: warning: division by zero [-Wdiv-by-zero] 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:605:15: error: variably modified 'd' at file scope 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:618:7: error: unknown type name 'Int' 618 | Int I; | ^~~ ./H/amidefs.h:626:32: warning: division by zero [-Wdiv-by-zero] 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:626:15: error: variably modified 'd' at file scope 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:632:7: error: unknown type name 'Int' 632 | Int n; | ^~~ In file included from ./H/Yap.h:311, from ./H/absmi.h:148, from C/agc.c:21: ./H/Regs.h:95:5: error: unknown type name 'Int' 95 | Int CurSlot_; | ^~~ ./H/amidefs.h:694:7: error: unknown type name 'Int' 694 | Int i; | ^~~ ./H/amidefs.h:749:32: warning: division by zero [-Wdiv-by-zero] 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:749:15: error: variably modified 'd' at file scope 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Regs.h:717:15: error: unknown type name 'UInt' 717 | static inline UInt | ^~~~ ./H/amidefs.h:760:7: error: unknown type name 'Int' 760 | Int a; | ^~~ In file included from ./H/Yap.h:309, from C/arrays.c:18: ./H/amidefs.h:93:17: error: unknown type name 'Int' 93 | /* */ typedef Int DISPREG; | ^~~ ./H/amidefs.h:793:7: error: unknown type name 'Int' 793 | Int c; | ^~~ ./H/Regs.h: In function 'CalculateStackGap': ./H/amidefs.h:95:17: error: unknown type name 'Int' 95 | /* */ typedef Int OPREG; | ^~~ ./H/amidefs.h:120:14: error: expected declaration specifiers or '...' before '*' token 120 | typedef Int (*CPredicate)(CACHE_TYPE1); | ^ ./H/amidefs.h:122:14: error: expected declaration specifiers or '...' before '*' token 122 | typedef Int (*CmpPredicate)(Term, Term); | ^ ./H/Regs.h:721:3: error: unknown type name 'UInt' 721 | UInt gmin = (LCL0-H0)>>2; | ^~~~ ./H/amidefs.h:863:7: error: unknown type name 'Int' 863 | Int c; | ^~~ ./H/amidefs.h:1054:1: error: unknown type name 'UInt' 1054 | UInt ENV_Size(yamop *cp) | ^~~~ ./H/amidefs.h:1072:1: error: unknown type name 'UInt' 1072 | UInt EnvSize(yamop *cp) | ^~~~ In file included from ./H/Yap.h:311, from C/analyst.c:22: ./H/Regs.h:95:5: error: unknown type name 'Int' 95 | Int CurSlot_; | ^~~ ./H/Regs.h:717:15: error: unknown type name 'UInt' 717 | static inline UInt | ^~~~ In file included from ./H/Yap.h:309, from C/arrays.c:18: ./H/amidefs.h:344:32: warning: division by zero [-Wdiv-by-zero] 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Regs.h: In function 'CalculateStackGap': ./H/amidefs.h:344:15: error: variably modified 'd' at file scope 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:353:7: error: unknown type name 'Int' 353 | Int a; | ^~~ ./H/Regs.h:721:3: error: unknown type name 'UInt' 721 | UInt gmin = (LCL0-H0)>>2; | ^~~~ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h: At top level: ./H/amidefs.h:379:7: error: unknown type name 'Int' 379 | Int s; | ^~~ ./H/amidefs.h:388:7: error: unknown type name 'CPredicate' 388 | CPredicate native; | ^~~~~~~~~~ ./H/amidefs.h:436:7: error: unknown type name 'Int' 436 | Int s; | ^~~ ./H/amidefs.h:438:7: error: unknown type name 'CPredicate' 438 | CPredicate f; | ^~~~~~~~~~ ./H/amidefs.h:504:7: error: unknown type name 'Int' 504 | Int i; | ^~~ ./H/amidefs.h:529:32: warning: division by zero [-Wdiv-by-zero] 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:529:15: error: variably modified 'd' at file scope 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:540:7: error: unknown type name 'Int' 540 | Int a; | ^~~ In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h: At top level: ./H/amidefs.h:605:32: warning: division by zero [-Wdiv-by-zero] 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:23:1: error: unknown type name 'Int'; did you mean 'int'? 23 | Int STD_PROTO(Yap_absmi,(int)); | ^~~ | int ./H/amidefs.h:605:15: error: variably modified 'd' at file scope 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:28:35: error: unknown type name 'UInt' 28 | int STD_PROTO(Yap_GetName,(char *,UInt,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:618:7: error: unknown type name 'Int' 618 | Int I; | ^~~ ./H/amidefs.h:626:32: warning: division by zero [-Wdiv-by-zero] 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:626:15: error: variably modified 'd' at file scope 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:62:1: error: unknown type name 'Int'; did you mean 'int'? 62 | Int STD_PROTO(Yap_InitSlot,(Term CACHE_TYPE)); | ^~~ | int ./H/amidefs.h:632:7: error: unknown type name 'Int' 632 | Int n; | ^~~ ./H/Yapproto.h:63:1: error: unknown type name 'Int'; did you mean 'int'? 63 | Int STD_PROTO(Yap_NewSlots,(int CACHE_TYPE)); | ^~~ | int ./H/Yapproto.h:89:1: warning: parameter names (without types) in function declaration 89 | ADDR STD_PROTO(Yap_AllocFromForeignArea,(Int)); | ^~~~ ./H/amidefs.h:694:7: error: unknown type name 'Int' 694 | Int i; | ^~~ ./H/Yapproto.h:90:1: warning: parameter names (without types) in function declaration 90 | int STD_PROTO(Yap_ExtendWorkSpace,(Int)); | ^~~ ./H/Yapproto.h:93:1: warning: parameter names (without types) in function declaration 93 | void STD_PROTO(Yap_InitMemory,(UInt,UInt,UInt)); | ^~~~ ./H/Yapproto.h:123:1: error: unknown type name 'Int'; did you mean 'int'? 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/amidefs.h:749:32: warning: division by zero [-Wdiv-by-zero] 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:749:15: error: variably modified 'd' at file scope 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:23:1: error: unknown type name 'Int'; did you mean 'int'? 23 | Int STD_PROTO(Yap_absmi,(int)); | ^~~ | int ./H/amidefs.h:760:7: error: unknown type name 'Int' 760 | Int a; | ^~~ ./H/Yapproto.h:123:52: error: unknown type name 'CPredicate' 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:793:7: error: unknown type name 'Int' 793 | Int c; | ^~~ ./H/Yapproto.h:124:1: error: unknown type name 'Int'; did you mean 'int'? 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/Yapproto.h:28:35: error: unknown type name 'UInt' 28 | int STD_PROTO(Yap_GetName,(char *,UInt,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:309, from C/alloc.c:22: ./H/amidefs.h:93:17: error: unknown type name 'Int' 93 | /* */ typedef Int DISPREG; | ^~~ ./H/amidefs.h:95:17: error: unknown type name 'Int' 95 | /* */ typedef Int OPREG; | ^~~ ./H/amidefs.h:120:14: error: expected declaration specifiers or '...' before '*' token 120 | typedef Int (*CPredicate)(CACHE_TYPE1); | ^ ./H/amidefs.h:122:14: error: expected declaration specifiers or '...' before '*' token 122 | typedef Int (*CmpPredicate)(Term, Term); | ^ ./H/amidefs.h:863:7: error: unknown type name 'Int' 863 | Int c; | ^~~ ./H/Yapproto.h:124:57: error: unknown type name 'CPredicate' 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:62:1: error: unknown type name 'Int'; did you mean 'int'? 62 | Int STD_PROTO(Yap_InitSlot,(Term CACHE_TYPE)); | ^~~ | int ./H/Yapproto.h:125:1: error: unknown type name 'Int'; did you mean 'int'? 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/amidefs.h:1054:1: error: unknown type name 'UInt' 1054 | UInt ENV_Size(yamop *cp) | ^~~~ ./H/Yapproto.h:63:1: error: unknown type name 'Int'; did you mean 'int'? 63 | Int STD_PROTO(Yap_NewSlots,(int CACHE_TYPE)); | ^~~ | int ./H/Yapproto.h:89:1: warning: parameter names (without types) in function declaration 89 | ADDR STD_PROTO(Yap_AllocFromForeignArea,(Int)); | ^~~~ ./H/Yapproto.h:90:1: warning: parameter names (without types) in function declaration 90 | int STD_PROTO(Yap_ExtendWorkSpace,(Int)); | ^~~ ./H/Yapproto.h:93:1: warning: parameter names (without types) in function declaration 93 | void STD_PROTO(Yap_InitMemory,(UInt,UInt,UInt)); | ^~~~ ./H/amidefs.h:1072:1: error: unknown type name 'UInt' 1072 | UInt EnvSize(yamop *cp) | ^~~~ ./H/Yapproto.h:125:56: error: unknown type name 'CPredicate' 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:126:1: error: unknown type name 'Int'; did you mean 'int'? 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~ | int ./H/Yapproto.h:123:1: error: unknown type name 'Int'; did you mean 'int'? 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/Yapproto.h:126:57: error: unknown type name 'CPredicate' 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:123:52: error: unknown type name 'CPredicate' 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:309, from C/alloc.c:22: ./H/amidefs.h:344:32: warning: division by zero [-Wdiv-by-zero] 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:144:1: error: unknown type name 'Int'; did you mean 'int'? 144 | Int STD_PROTO(Yap_compare_terms,(Term,Term)); | ^~~ | int ./H/amidefs.h:344:15: error: variably modified 'd' at file scope 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ In file included from ./H/Yap.h:311, from C/arrays.c:18: ./H/Regs.h:95:5: error: unknown type name 'Int' 95 | Int CurSlot_; | ^~~ ./H/Yapproto.h:124:1: error: unknown type name 'Int'; did you mean 'int'? 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/amidefs.h:353:7: error: unknown type name 'Int' 353 | Int a; | ^~~ ./H/Yapproto.h:148:38: error: unknown type name 'Int'; did you mean 'int'? 148 | yamop *STD_PROTO(Yap_cclause,(Term, Int, Term, Term)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:160:8: warning: parameter names (without types) in function declaration 160 | struct pred_entry *STD_PROTO(Yap_FindLUIntKey,(Int)); | ^~~~~~~~~~ ./H/amidefs.h:379:7: error: unknown type name 'Int' 379 | Int s; | ^~~ ./H/amidefs.h:388:7: error: unknown type name 'CPredicate' 388 | CPredicate native; | ^~~~~~~~~~ ./H/amidefs.h:436:7: error: unknown type name 'Int' 436 | Int s; | ^~~ ./H/Yapproto.h:178:1: error: unknown type name 'Int'; did you mean 'int'? 178 | Int STD_PROTO(Yap_JumpToEnv,(Term)); | ^~~ | int ./H/amidefs.h:438:7: error: unknown type name 'CPredicate' 438 | CPredicate f; | ^~~~~~~~~~ ./H/Yapproto.h:124:57: error: unknown type name 'CPredicate' 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:181:1: error: unknown type name 'Int'; did you mean 'int'? 181 | Int STD_PROTO(Yap_execute_goal,(Term, int, Term)); | ^~~ | int ./H/Regs.h:717:15: error: unknown type name 'UInt' 717 | static inline UInt | ^~~~ ./H/amidefs.h:504:7: error: unknown type name 'Int' 504 | Int i; | ^~~ ./H/Yapproto.h:125:1: error: unknown type name 'Int'; did you mean 'int'? 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/Yapproto.h:182:1: error: unknown type name 'Int'; did you mean 'int'? 182 | Int STD_PROTO(Yap_exec_absmi,(int)); | ^~~ | int ./H/amidefs.h:529:32: warning: division by zero [-Wdiv-by-zero] 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:529:15: error: variably modified 'd' at file scope 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:200:35: error: expected ')' before 'CELL' 200 | Term STD_PROTO(Yap_NewArena,(UInt,CELL *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Regs.h: In function 'CalculateStackGap': In file included from ./H/Yap.h:157, from C/adtdefs.c:28: ./H/YapTerm.h:100:4: error: #error Yap requires pointers of size 4 or 8 100 | # error Yap requires pointers of size 4 or 8 | ^~~~~ ./H/amidefs.h:540:7: error: unknown type name 'Int' 540 | Int a; | ^~~ ./H/YapTerm.h:104:9: error: unknown type name 'UInt' 104 | typedef UInt CELL; | ^~~~ ./H/Regs.h:721:3: error: unknown type name 'UInt' 721 | UInt gmin = (LCL0-H0)>>2; | ^~~~ ./H/Yapproto.h:201:44: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTerm.h:105:9: error: unknown type name 'UShort' 105 | typedef UShort BITS16; | ^~~~~~ ./H/YapTerm.h:106:9: error: unknown type name 'Short' 106 | typedef Short SBITS16; | ^~~~~ ./H/YapTerm.h:107:9: error: unknown type name 'UInt' 107 | typedef UInt BITS32; | ^~~~ ./H/amidefs.h:605:32: warning: division by zero [-Wdiv-by-zero] 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:125:56: error: unknown type name 'CPredicate' 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:201:49: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:605:15: error: variably modified 'd' at file scope 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:618:7: error: unknown type name 'Int' 618 | Int I; | ^~~ ./H/Yapproto.h:126:1: error: unknown type name 'Int'; did you mean 'int'? 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~ | int In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:205:1: error: unknown type name 'Int'; did you mean 'int'? 205 | Int STD_PROTO(Yap_DeleteGlobal, (Atom)); | ^~~ | int ./H/amidefs.h:626:32: warning: division by zero [-Wdiv-by-zero] 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:206:53: error: expected ')' before 'int' 206 | void STD_PROTO(Yap_AllocateDefaultArena, (Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:626:15: error: variably modified 'd' at file scope 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:209:1: error: unknown type name 'Int'; did you mean 'int'? 209 | Int STD_PROTO(Yap_total_stack_shift_time,(void)); | ^~~ | int ./H/amidefs.h:632:7: error: unknown type name 'Int' 632 | Int n; | ^~~ ./H/Yapproto.h:211:1: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ ./H/amidefs.h:694:7: error: unknown type name 'Int' 694 | Int i; | ^~~ ./H/Yapproto.h:126:57: error: unknown type name 'CPredicate' 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:211:48: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:749:32: warning: division by zero [-Wdiv-by-zero] 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:749:15: error: variably modified 'd' at file scope 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:222:1: error: unknown type name 'Int'; did you mean 'int'? 222 | Int STD_PROTO(Yap_total_gc_time,(void)); | ^~~ | int ./H/Yapproto.h:144:1: error: unknown type name 'Int'; did you mean 'int'? 144 | Int STD_PROTO(Yap_compare_terms,(Term,Term)); | ^~~ | int ./H/amidefs.h:760:7: error: unknown type name 'Int' 760 | Int a; | ^~~ In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:225:30: error: expected ')' before 'CELL' 225 | int STD_PROTO(Yap_gc, (Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:226:37: error: expected ')' before 'CELL' 226 | int STD_PROTO(Yap_gcl, (UInt, Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:148:38: error: unknown type name 'Int'; did you mean 'int'? 148 | yamop *STD_PROTO(Yap_cclause,(Term, Int, Term, Term)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:793:7: error: unknown type name 'Int' 793 | Int c; | ^~~ ./H/Yapproto.h:160:8: warning: parameter names (without types) in function declaration 160 | struct pred_entry *STD_PROTO(Yap_FindLUIntKey,(Int)); | ^~~~~~~~~~ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h: At top level: ./H/amidefs.h:863:7: error: unknown type name 'Int' 863 | Int c; | ^~~ ./H/Yapproto.h:236:58: error: unknown type name 'CPredicate' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:178:1: error: unknown type name 'Int'; did you mean 'int'? 178 | Int STD_PROTO(Yap_JumpToEnv,(Term)); | ^~~ | int ./H/Yapproto.h:23:1: error: unknown type name 'Int'; did you mean 'int'? 23 | Int STD_PROTO(Yap_absmi,(int)); | ^~~ | int ./H/Yapproto.h:236:70: error: unknown type name 'UInt' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:1054:1: error: unknown type name 'UInt' 1054 | UInt ENV_Size(yamop *cp) | ^~~~ ./H/Yapproto.h:28:35: error: unknown type name 'UInt' 28 | int STD_PROTO(Yap_GetName,(char *,UInt,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:181:1: error: unknown type name 'Int'; did you mean 'int'? 181 | Int STD_PROTO(Yap_execute_goal,(Term, int, Term)); | ^~~ | int In file included from ./H/Yap.h:309, from ./H/absmi.h:148, from C/absmi.c:497: ./H/amidefs.h:93:17: error: unknown type name 'Int' 93 | /* */ typedef Int DISPREG; | ^~~ ./H/Yapproto.h:237:65: error: unknown type name 'CPredicate' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:1072:1: error: unknown type name 'UInt' 1072 | UInt EnvSize(yamop *cp) | ^~~~ ./H/amidefs.h:95:17: error: unknown type name 'Int' 95 | /* */ typedef Int OPREG; | ^~~ ./H/amidefs.h:120:14: error: expected declaration specifiers or '...' before '*' token 120 | typedef Int (*CPredicate)(CACHE_TYPE1); | ^ ./H/Yapproto.h:182:1: error: unknown type name 'Int'; did you mean 'int'? 182 | Int STD_PROTO(Yap_exec_absmi,(int)); | ^~~ | int ./H/amidefs.h:122:14: error: expected declaration specifiers or '...' before '*' token 122 | typedef Int (*CmpPredicate)(Term, Term); | ^ ./H/Yapproto.h:237:77: error: unknown type name 'UInt' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:200:35: error: expected ')' before 'CELL' 200 | Term STD_PROTO(Yap_NewArena,(UInt,CELL *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:62:1: error: unknown type name 'Int'; did you mean 'int'? 62 | Int STD_PROTO(Yap_InitSlot,(Term CACHE_TYPE)); | ^~~ | int ./H/Yapproto.h:63:1: error: unknown type name 'Int'; did you mean 'int'? 63 | Int STD_PROTO(Yap_NewSlots,(int CACHE_TYPE)); | ^~~ | int ./H/Yapproto.h:201:44: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:89:1: warning: parameter names (without types) in function declaration 89 | ADDR STD_PROTO(Yap_AllocFromForeignArea,(Int)); | ^~~~ In file included from ./H/Yap.h:311, from C/alloc.c:22: ./H/Regs.h:95:5: error: unknown type name 'Int' 95 | Int CurSlot_; | ^~~ ./H/Yapproto.h:90:1: warning: parameter names (without types) in function declaration 90 | int STD_PROTO(Yap_ExtendWorkSpace,(Int)); | ^~~ ./H/Yapproto.h:93:1: warning: parameter names (without types) in function declaration 93 | void STD_PROTO(Yap_InitMemory,(UInt,UInt,UInt)); | ^~~~ ./H/Yapproto.h:238:60: error: unknown type name 'CmpPredicate' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:201:49: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:238:74: error: unknown type name 'UInt' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:123:1: error: unknown type name 'Int'; did you mean 'int'? 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~ | int In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:205:1: error: unknown type name 'Int'; did you mean 'int'? 205 | Int STD_PROTO(Yap_DeleteGlobal, (Atom)); | ^~~ | int ./H/Regs.h:717:15: error: unknown type name 'UInt' 717 | static inline UInt | ^~~~ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:206:53: error: expected ')' before 'int' 206 | void STD_PROTO(Yap_AllocateDefaultArena, (Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Regs.h: In function 'CalculateStackGap': In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:209:1: error: unknown type name 'Int'; did you mean 'int'? 209 | Int STD_PROTO(Yap_total_stack_shift_time,(void)); | ^~~ | int ./H/Yapproto.h:123:52: error: unknown type name 'CPredicate' 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:239:76: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Regs.h:721:3: error: unknown type name 'UInt' 721 | UInt gmin = (LCL0-H0)>>2; | ^~~~ ./H/Yapproto.h:211:1: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ ./H/Yapproto.h:124:1: error: unknown type name 'Int'; did you mean 'int'? 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~ | int In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:211:48: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:239:87: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:239:98: error: unknown type name 'UInt' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:309, from ./H/absmi.h:148, from C/absmi.c:497: ./H/amidefs.h:344:32: warning: division by zero [-Wdiv-by-zero] 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:124:57: error: unknown type name 'CPredicate' 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:222:1: error: unknown type name 'Int'; did you mean 'int'? 222 | Int STD_PROTO(Yap_total_gc_time,(void)); | ^~~ | int In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:225:30: error: expected ')' before 'CELL' 225 | int STD_PROTO(Yap_gc, (Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:344:15: error: variably modified 'd' at file scope 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:226:37: error: expected ')' before 'CELL' 226 | int STD_PROTO(Yap_gcl, (UInt, Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:125:1: error: unknown type name 'Int'; did you mean 'int'? 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/Yapproto.h:240:79: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:353:7: error: unknown type name 'Int' 353 | Int a; | ^~~ ./H/amidefs.h:379:7: error: unknown type name 'Int' 379 | Int s; | ^~~ ./H/amidefs.h:388:7: error: unknown type name 'CPredicate' 388 | CPredicate native; | ^~~~~~~~~~ In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h: At top level: ./H/Yapproto.h:125:56: error: unknown type name 'CPredicate' 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:240:90: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:236:58: error: unknown type name 'CPredicate' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:436:7: error: unknown type name 'Int' 436 | Int s; | ^~~ ./H/Yapproto.h:23:1: error: unknown type name 'Int'; did you mean 'int'? 23 | Int STD_PROTO(Yap_absmi,(int)); | ^~~ | int ./H/amidefs.h:438:7: error: unknown type name 'CPredicate' 438 | CPredicate f; | ^~~~~~~~~~ ./H/Yapproto.h:28:35: error: unknown type name 'UInt' 28 | int STD_PROTO(Yap_GetName,(char *,UInt,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:126:1: error: unknown type name 'Int'; did you mean 'int'? 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~ | int ./H/Yapproto.h:236:70: error: unknown type name 'UInt' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:240:101: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:504:7: error: unknown type name 'Int' 504 | Int i; | ^~~ ./H/Yapproto.h:240:112: error: unknown type name 'UInt' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:62:1: error: unknown type name 'Int'; did you mean 'int'? 62 | Int STD_PROTO(Yap_InitSlot,(Term CACHE_TYPE)); | ^~~ | int ./H/amidefs.h:529:32: warning: division by zero [-Wdiv-by-zero] 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:126:57: error: unknown type name 'CPredicate' 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:63:1: error: unknown type name 'Int'; did you mean 'int'? 63 | Int STD_PROTO(Yap_NewSlots,(int CACHE_TYPE)); | ^~~ | int ./H/amidefs.h:529:15: error: variably modified 'd' at file scope 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:237:65: error: unknown type name 'CPredicate' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:89:1: warning: parameter names (without types) in function declaration 89 | ADDR STD_PROTO(Yap_AllocFromForeignArea,(Int)); | ^~~~ ./H/amidefs.h:540:7: error: unknown type name 'Int' 540 | Int a; | ^~~ ./H/Yapproto.h:90:1: warning: parameter names (without types) in function declaration 90 | int STD_PROTO(Yap_ExtendWorkSpace,(Int)); | ^~~ ./H/Yapproto.h:242:80: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:144:1: error: unknown type name 'Int'; did you mean 'int'? 144 | Int STD_PROTO(Yap_compare_terms,(Term,Term)); | ^~~ | int ./H/Yapproto.h:93:1: warning: parameter names (without types) in function declaration 93 | void STD_PROTO(Yap_InitMemory,(UInt,UInt,UInt)); | ^~~~ ./H/Yapproto.h:237:77: error: unknown type name 'UInt' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:605:32: warning: division by zero [-Wdiv-by-zero] 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:148:38: error: unknown type name 'Int'; did you mean 'int'? 148 | yamop *STD_PROTO(Yap_cclause,(Term, Int, Term, Term)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:160:8: warning: parameter names (without types) in function declaration 160 | struct pred_entry *STD_PROTO(Yap_FindLUIntKey,(Int)); | ^~~~~~~~~~ ./H/Yapproto.h:123:1: error: unknown type name 'Int'; did you mean 'int'? 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/amidefs.h:605:15: error: variably modified 'd' at file scope 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:242:91: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:618:7: error: unknown type name 'Int' 618 | Int I; | ^~~ ./H/Yapproto.h:178:1: error: unknown type name 'Int'; did you mean 'int'? 178 | Int STD_PROTO(Yap_JumpToEnv,(Term)); | ^~~ | int ./H/amidefs.h:626:32: warning: division by zero [-Wdiv-by-zero] 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amidefs.h:626:15: error: variably modified 'd' at file scope 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:181:1: error: unknown type name 'Int'; did you mean 'int'? 181 | Int STD_PROTO(Yap_execute_goal,(Term, int, Term)); | ^~~ | int ./H/Yapproto.h:238:60: error: unknown type name 'CmpPredicate' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:123:52: error: unknown type name 'CPredicate' 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:632:7: error: unknown type name 'Int' 632 | Int n; | ^~~ ./H/Yapproto.h:242:102: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:182:1: error: unknown type name 'Int'; did you mean 'int'? 182 | Int STD_PROTO(Yap_exec_absmi,(int)); | ^~~ | int ./H/Yapproto.h:124:1: error: unknown type name 'Int'; did you mean 'int'? 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/Yapproto.h:238:74: error: unknown type name 'UInt' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:200:35: error: expected ')' before 'CELL' 200 | Term STD_PROTO(Yap_NewArena,(UInt,CELL *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:242:113: error: unknown type name 'UInt' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:694:7: error: unknown type name 'Int' 694 | Int i; | ^~~ ./H/Yapproto.h:244:60: error: expected ')' before 'int' 244 | void STD_PROTO(Yap_InitWorkspace,(UInt,UInt,UInt,UInt,UInt,int,int,int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:201:44: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:124:57: error: unknown type name 'CPredicate' 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:749:32: warning: division by zero [-Wdiv-by-zero] 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:201:49: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:125:1: error: unknown type name 'Int'; did you mean 'int'? 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/amidefs.h:749:15: error: variably modified 'd' at file scope 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:239:76: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:760:7: error: unknown type name 'Int' 760 | Int a; | ^~~ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:205:1: error: unknown type name 'Int'; did you mean 'int'? 205 | Int STD_PROTO(Yap_DeleteGlobal, (Atom)); | ^~~ | int In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:351:1: error: unknown type name 'UInt' 351 | UInt STD_PROTO(Yap_cputime,(void)); | ^~~~ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:206:53: error: expected ')' before 'int' 206 | void STD_PROTO(Yap_AllocateDefaultArena, (Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:793:7: error: unknown type name 'Int' 793 | Int c; | ^~~ ./H/Yapproto.h:125:56: error: unknown type name 'CPredicate' 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:209:1: error: unknown type name 'Int'; did you mean 'int'? 209 | Int STD_PROTO(Yap_total_stack_shift_time,(void)); | ^~~ | int ./H/Yapproto.h:352:1: error: unknown type name 'Int'; did you mean 'int'? 352 | Int STD_PROTO(Yap_walltime,(void)); | ^~~ | int ./H/Yapproto.h:126:1: error: unknown type name 'Int'; did you mean 'int'? 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~ | int ./H/Yapproto.h:211:1: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ ./H/amidefs.h:863:7: error: unknown type name 'Int' 863 | Int c; | ^~~ ./H/Yapproto.h:239:87: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:309, from C/adtdefs.c:28: ./H/amidefs.h:93:17: error: unknown type name 'Int' 93 | /* */ typedef Int DISPREG; | ^~~ In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:361:41: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:95:17: error: unknown type name 'Int' 95 | /* */ typedef Int OPREG; | ^~~ ./H/amidefs.h:120:14: error: expected declaration specifiers or '...' before '*' token 120 | typedef Int (*CPredicate)(CACHE_TYPE1); | ^ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:211:48: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:126:57: error: unknown type name 'CPredicate' 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:122:14: error: expected declaration specifiers or '...' before '*' token 122 | typedef Int (*CmpPredicate)(Term, Term); | ^ ./H/Yapproto.h:361:47: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:1054:1: error: unknown type name 'UInt' 1054 | UInt ENV_Size(yamop *cp) | ^~~~ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:222:1: error: unknown type name 'Int'; did you mean 'int'? 222 | Int STD_PROTO(Yap_total_gc_time,(void)); | ^~~ | int ./H/Yapproto.h:144:1: error: unknown type name 'Int'; did you mean 'int'? 144 | Int STD_PROTO(Yap_compare_terms,(Term,Term)); | ^~~ | int ./H/Yapproto.h:239:98: error: unknown type name 'UInt' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:362:41: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:225:30: error: expected ')' before 'CELL' 225 | int STD_PROTO(Yap_gc, (Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:226:37: error: expected ')' before 'CELL' 226 | int STD_PROTO(Yap_gcl, (UInt, Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:148:38: error: unknown type name 'Int'; did you mean 'int'? 148 | yamop *STD_PROTO(Yap_cclause,(Term, Int, Term, Term)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:160:8: warning: parameter names (without types) in function declaration 160 | struct pred_entry *STD_PROTO(Yap_FindLUIntKey,(Int)); | ^~~~~~~~~~ ./H/Yapproto.h:362:47: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:1072:1: error: unknown type name 'UInt' 1072 | UInt EnvSize(yamop *cp) | ^~~~ ./H/Yapproto.h:363:42: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:178:1: error: unknown type name 'Int'; did you mean 'int'? 178 | Int STD_PROTO(Yap_JumpToEnv,(Term)); | ^~~ | int ./H/Yapproto.h:236:58: error: unknown type name 'CPredicate' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:240:79: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:363:48: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:181:1: error: unknown type name 'Int'; did you mean 'int'? 181 | Int STD_PROTO(Yap_execute_goal,(Term, int, Term)); | ^~~ | int ./H/Yapproto.h:236:70: error: unknown type name 'UInt' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:309, from C/adtdefs.c:28: ./H/amidefs.h:344:32: warning: division by zero [-Wdiv-by-zero] 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:182:1: error: unknown type name 'Int'; did you mean 'int'? 182 | Int STD_PROTO(Yap_exec_absmi,(int)); | ^~~ | int In file included from ./H/Yap.h:311, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Regs.h:95:5: error: unknown type name 'Int' 95 | Int CurSlot_; | ^~~ ./H/Yapproto.h:404:56: error: unknown type name 'UInt' 404 | size_t STD_PROTO(Yap_ExportTerm,(Term, char *, size_t, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:344:15: error: variably modified 'd' at file scope 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:200:35: error: expected ')' before 'CELL' 200 | Term STD_PROTO(Yap_NewArena,(UInt,CELL *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:353:7: error: unknown type name 'Int' 353 | Int a; | ^~~ ./H/Yapproto.h:237:65: error: unknown type name 'CPredicate' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:240:90: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:379:7: error: unknown type name 'Int' 379 | Int s; | ^~~ In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:414:1: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ | int ./H/Yapproto.h:201:44: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:388:7: error: unknown type name 'CPredicate' 388 | CPredicate native; | ^~~~~~~~~~ ./H/Yapproto.h:237:77: error: unknown type name 'UInt' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:436:7: error: unknown type name 'Int' 436 | Int s; | ^~~ ./H/Regs.h:717:15: error: unknown type name 'UInt' 717 | static inline UInt | ^~~~ In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:414:39: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:201:49: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:438:7: error: unknown type name 'CPredicate' 438 | CPredicate f; | ^~~~~~~~~~ ./H/Yapproto.h:414:44: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:240:101: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Regs.h: In function 'CalculateStackGap': In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:205:1: error: unknown type name 'Int'; did you mean 'int'? 205 | Int STD_PROTO(Yap_DeleteGlobal, (Atom)); | ^~~ | int ./H/amidefs.h:504:7: error: unknown type name 'Int' 504 | Int i; | ^~~ ./H/Yapproto.h:238:60: error: unknown type name 'CmpPredicate' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:206:53: error: expected ')' before 'int' 206 | void STD_PROTO(Yap_AllocateDefaultArena, (Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:415:1: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ | int ./H/Yapproto.h:240:112: error: unknown type name 'UInt' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:529:32: warning: division by zero [-Wdiv-by-zero] 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Regs.h:721:3: error: unknown type name 'UInt' 721 | UInt gmin = (LCL0-H0)>>2; | ^~~~ ./H/Yapproto.h:238:74: error: unknown type name 'UInt' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:529:15: error: variably modified 'd' at file scope 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:209:1: error: unknown type name 'Int'; did you mean 'int'? 209 | Int STD_PROTO(Yap_total_stack_shift_time,(void)); | ^~~ | int In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:415:41: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:540:7: error: unknown type name 'Int' 540 | Int a; | ^~~ ./H/Yapproto.h:211:1: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ In file included from ./H/Yap.h:546, from C/analyst.c:22: ./H/Yapproto.h:417:1: error: unknown type name 'Int'; did you mean 'int'? 417 | Int STD_PROTO(Yap_SkipList,(Term *, Term **)); | ^~~ | int ./H/amidefs.h:605:32: warning: division by zero [-Wdiv-by-zero] 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:211:48: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:242:80: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:239:76: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:605:15: error: variably modified 'd' at file scope 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:222:1: error: unknown type name 'Int'; did you mean 'int'? 222 | Int STD_PROTO(Yap_total_gc_time,(void)); | ^~~ | int ./H/amidefs.h:618:7: error: unknown type name 'Int' 618 | Int I; | ^~~ In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:225:30: error: expected ')' before 'CELL' 225 | int STD_PROTO(Yap_gc, (Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:626:32: warning: division by zero [-Wdiv-by-zero] 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:226:37: error: expected ')' before 'CELL' 226 | int STD_PROTO(Yap_gcl, (UInt, Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:626:15: error: variably modified 'd' at file scope 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:242:91: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:239:87: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:632:7: error: unknown type name 'Int' 632 | Int n; | ^~~ ./H/Yapproto.h:239:98: error: unknown type name 'UInt' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:694:7: error: unknown type name 'Int' 694 | Int i; | ^~~ ./H/Yapproto.h:236:58: error: unknown type name 'CPredicate' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:548, from C/analyst.c:22: ./H/YapTags.h: In function 'FunctorOfTerm': ./H/Yapproto.h:236:70: error: unknown type name 'UInt' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:225:22: warning: implicit declaration of function 'RepAppl' [-Wimplicit-function-declaration] 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~ ./H/amidefs.h:749:32: warning: division by zero [-Wdiv-by-zero] 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:242:102: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:225:21: error: invalid type argument of unary '*' (have 'int') 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~~~~~~ ./H/Yapproto.h:240:79: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:749:15: error: variably modified 'd' at file scope 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yapproto.h:242:113: error: unknown type name 'UInt' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:237:65: error: unknown type name 'CPredicate' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:760:7: error: unknown type name 'Int' 760 | Int a; | ^~~ ./H/Yapproto.h:244:60: error: expected ')' before 'int' 244 | void STD_PROTO(Yap_InitWorkspace,(UInt,UInt,UInt,UInt,UInt,int,int,int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:237:77: error: unknown type name 'UInt' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:240:90: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:793:7: error: unknown type name 'Int' 793 | Int c; | ^~~ ./H/YapTags.h: In function 'MkAtomTerm': ./H/YapTags.h:236:18: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 236 | return (Term) (AtomTag | (CELL) (a)); | ^~~~~~~ | Atom ./H/YapTags.h:236:18: note: each undeclared identifier is reported only once for each function it appears in In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h: At top level: ./H/amidefs.h:863:7: error: unknown type name 'Int' 863 | Int c; | ^~~ ./H/Yapproto.h:240:101: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:238:60: error: unknown type name 'CmpPredicate' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:23:1: error: unknown type name 'Int'; did you mean 'int'? 23 | Int STD_PROTO(Yap_absmi,(int)); | ^~~ | int ./H/YapTags.h: In function 'AtomOfTerm': ./H/YapTags.h:246:20: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 246 | return (Atom) ((~AtomTag & (CELL) (t))); | ^~~~~~~ | Atom ./H/Yapproto.h:240:112: error: unknown type name 'UInt' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:351:1: error: unknown type name 'UInt' 351 | UInt STD_PROTO(Yap_cputime,(void)); | ^~~~ ./H/amidefs.h:1054:1: error: unknown type name 'UInt' 1054 | UInt ENV_Size(yamop *cp) | ^~~~ ./H/Yapproto.h:28:35: error: unknown type name 'UInt' 28 | int STD_PROTO(Yap_GetName,(char *,UInt,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:238:74: error: unknown type name 'UInt' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h: In function 'IsAtomTerm': ./H/YapTags.h:278:17: warning: implicit declaration of function 'CHKTAG' [-Wimplicit-function-declaration] 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~ ./H/Yapproto.h:352:1: error: unknown type name 'Int'; did you mean 'int'? 352 | Int STD_PROTO(Yap_walltime,(void)); | ^~~ | int ./H/amidefs.h:1072:1: error: unknown type name 'UInt' 1072 | UInt EnvSize(yamop *cp) | ^~~~ ./H/Yapproto.h:242:80: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:239:76: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:62:1: error: unknown type name 'Int'; did you mean 'int'? 62 | Int STD_PROTO(Yap_InitSlot,(Term CACHE_TYPE)); | ^~~ | int In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:361:41: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:278:30: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~~ | Atom ./H/YapTags.h: At top level: ./H/Yapproto.h:63:1: error: unknown type name 'Int'; did you mean 'int'? 63 | Int STD_PROTO(Yap_NewSlots,(int CACHE_TYPE)); | ^~~ | int ./H/YapTags.h:284:1: warning: parameter names (without types) in function declaration 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~~~ ./H/Yapproto.h:242:91: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:361:47: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:311, from C/adtdefs.c:28: ./H/Regs.h:95:5: error: unknown type name 'Int' 95 | Int CurSlot_; | ^~~ ./H/Yapproto.h:89:1: warning: parameter names (without types) in function declaration 89 | ADDR STD_PROTO(Yap_AllocFromForeignArea,(Int)); | ^~~~ ./H/Yapproto.h:239:87: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:287:12: error: unknown type name 'Int'; did you mean 'int'? 287 | MkIntTerm (Int n) | ^~~ | int ./H/Yapproto.h:90:1: warning: parameter names (without types) in function declaration 90 | int STD_PROTO(Yap_ExtendWorkSpace,(Int)); | ^~~ ./H/YapTags.h:298:1: warning: parameter names (without types) in function declaration 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~ ./H/Yapproto.h:93:1: warning: parameter names (without types) in function declaration 93 | void STD_PROTO(Yap_InitMemory,(UInt,UInt,UInt)); | ^~~~ ./H/Yapproto.h:362:41: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:239:98: error: unknown type name 'UInt' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:301:16: error: unknown type name 'Int'; did you mean 'int'? 301 | MkIntConstant (Int n) | ^~~ | int ./H/Yapproto.h:242:102: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:123:1: error: unknown type name 'Int'; did you mean 'int'? 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/Yapproto.h:362:47: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Regs.h:717:15: error: unknown type name 'UInt' 717 | static inline UInt | ^~~~ ./H/Yapproto.h:242:113: error: unknown type name 'UInt' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:363:42: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:244:60: error: expected ')' before 'int' 244 | void STD_PROTO(Yap_InitWorkspace,(UInt,UInt,UInt,UInt,UInt,int,int,int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:240:79: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Regs.h: In function 'CalculateStackGap': ./H/Yapproto.h:123:52: error: unknown type name 'CPredicate' 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Regs.h:721:3: error: unknown type name 'UInt' 721 | UInt gmin = (LCL0-H0)>>2; | ^~~~ ./H/Yapproto.h:363:48: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:124:1: error: unknown type name 'Int'; did you mean 'int'? 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/YapTags.h: In function 'IsIntTerm': ./H/YapTags.h:313:30: error: 'NumberTag' undeclared (first use in this function) 313 | return (int) (CHKTAG ((t), NumberTag)); | ^~~~~~~~~ ./H/Yapproto.h:240:90: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:351:1: error: unknown type name 'UInt' 351 | UInt STD_PROTO(Yap_cputime,(void)); | ^~~~ ./H/Yapproto.h:404:56: error: unknown type name 'UInt' 404 | size_t STD_PROTO(Yap_ExportTerm,(Term, char *, size_t, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:124:57: error: unknown type name 'CPredicate' 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:352:1: error: unknown type name 'Int'; did you mean 'int'? 352 | Int STD_PROTO(Yap_walltime,(void)); | ^~~ | int ./H/YapTags.h: In function 'MkPairTerm__': ./H/YapTags.h:327:11: warning: implicit declaration of function 'AbsPair' [-Wimplicit-function-declaration] 327 | return (AbsPair (p)); | ^~~~~~~ ./H/Yapproto.h:125:1: error: unknown type name 'Int'; did you mean 'int'? 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/Yapproto.h:240:101: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:361:41: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:414:1: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ | int ./H/Yapproto.h:361:47: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:240:112: error: unknown type name 'UInt' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:125:56: error: unknown type name 'CPredicate' 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:414:39: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:362:41: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:126:1: error: unknown type name 'Int'; did you mean 'int'? 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~ | int In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h: At top level: ./H/Yapproto.h:362:47: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:414:44: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:242:80: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:23:1: error: unknown type name 'Int'; did you mean 'int'? 23 | Int STD_PROTO(Yap_absmi,(int)); | ^~~ | int ./H/Yapproto.h:363:42: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:126:57: error: unknown type name 'CPredicate' 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from C/analyst.c:22: ./H/TermExt.h: In function 'MkFloatTerm': ./H/Yapproto.h:363:48: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:28:35: error: unknown type name 'UInt' 28 | int STD_PROTO(Yap_GetName,(char *,UInt,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:415:1: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ | int ./H/TermExt.h:194:8: warning: implicit declaration of function 'AbsAppl' [-Wimplicit-function-declaration] 194 | 3, AbsAppl (H - 3))); | ^~~~~~~ ./H/Yapproto.h:144:1: error: unknown type name 'Int'; did you mean 'int'? 144 | Int STD_PROTO(Yap_compare_terms,(Term,Term)); | ^~~ | int ./H/Yapproto.h:242:91: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:404:56: error: unknown type name 'UInt' 404 | size_t STD_PROTO(Yap_ExportTerm,(Term, char *, size_t, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:415:41: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:148:38: error: unknown type name 'Int'; did you mean 'int'? 148 | yamop *STD_PROTO(Yap_cclause,(Term, Int, Term, Term)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:62:1: error: unknown type name 'Int'; did you mean 'int'? 62 | Int STD_PROTO(Yap_InitSlot,(Term CACHE_TYPE)); | ^~~ | int ./H/Yapproto.h:160:8: warning: parameter names (without types) in function declaration 160 | struct pred_entry *STD_PROTO(Yap_FindLUIntKey,(Int)); | ^~~~~~~~~~ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:414:1: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ | int ./H/Yapproto.h:63:1: error: unknown type name 'Int'; did you mean 'int'? 63 | Int STD_PROTO(Yap_NewSlots,(int CACHE_TYPE)); | ^~~ | int In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yapproto.h:417:1: error: unknown type name 'Int'; did you mean 'int'? 417 | Int STD_PROTO(Yap_SkipList,(Term *, Term **)); | ^~~ | int ./H/Yapproto.h:242:102: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'IsFloatTerm': ./H/Yapproto.h:89:1: warning: parameter names (without types) in function declaration 89 | ADDR STD_PROTO(Yap_AllocFromForeignArea,(Int)); | ^~~~ ./H/TermExt.h:298:17: warning: implicit declaration of function 'IsApplTerm'; did you mean 'IsAtomTerm'? [-Wimplicit-function-declaration] 298 | return (int) (IsApplTerm (t) && FunctorOfTerm (t) == FunctorDouble); | ^~~~~~~~~~ | IsAtomTerm In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:414:39: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:90:1: warning: parameter names (without types) in function declaration 90 | int STD_PROTO(Yap_ExtendWorkSpace,(Int)); | ^~~ ./H/Yapproto.h:93:1: warning: parameter names (without types) in function declaration 93 | void STD_PROTO(Yap_InitMemory,(UInt,UInt,UInt)); | ^~~~ ./H/TermExt.h: At top level: ./H/Yapproto.h:178:1: error: unknown type name 'Int'; did you mean 'int'? 178 | Int STD_PROTO(Yap_JumpToEnv,(Term)); | ^~~ | int ./H/TermExt.h:306:1: warning: parameter names (without types) in function declaration 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~ ./H/Yapproto.h:414:44: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:242:113: error: unknown type name 'UInt' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:123:1: error: unknown type name 'Int'; did you mean 'int'? 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/Yapproto.h:244:60: error: expected ')' before 'int' 244 | void STD_PROTO(Yap_InitWorkspace,(UInt,UInt,UInt,UInt,UInt,int,int,int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:309:16: error: unknown type name 'Int'; did you mean 'int'? 309 | MkLongIntTerm (Int i) | ^~~ | int ./H/TermExt.h:320:27: error: unknown type name 'Int' 320 | INLINE_ONLY inline EXTERN Int LongIntOfTerm (Term t); | ^~~ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:415:1: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ | int ./H/Yapproto.h:181:1: error: unknown type name 'Int'; did you mean 'int'? 181 | Int STD_PROTO(Yap_execute_goal,(Term, int, Term)); | ^~~ | int ./H/TermExt.h:322:27: error: unknown type name 'Int' 322 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/Yapproto.h:123:52: error: unknown type name 'CPredicate' 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:415:41: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'LongIntOfTerm': ./H/Yapproto.h:182:1: error: unknown type name 'Int'; did you mean 'int'? 182 | Int STD_PROTO(Yap_exec_absmi,(int)); | ^~~ | int ./H/TermExt.h:325:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 325 | return (Int) (RepAppl (t)[1]); | ^~~ | int ./H/Yapproto.h:124:1: error: unknown type name 'Int'; did you mean 'int'? 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~ | int In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:351:1: error: unknown type name 'UInt' 351 | UInt STD_PROTO(Yap_cputime,(void)); | ^~~~ ./H/TermExt.h:325:28: error: subscripted value is neither array nor pointer nor vector 325 | return (Int) (RepAppl (t)[1]); | ^ ./H/Yapproto.h:200:35: error: expected ')' before 'CELL' 200 | Term STD_PROTO(Yap_NewArena,(UInt,CELL *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yapproto.h:417:1: error: unknown type name 'Int'; did you mean 'int'? 417 | Int STD_PROTO(Yap_SkipList,(Term *, Term **)); | ^~~ | int ./H/TermExt.h: At top level: ./H/TermExt.h:348:9: error: unknown type name 'UInt' 348 | typedef UInt mp_limb_t; | ^~~~ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/agc.c:21: ./H/YapTags.h: In function 'FunctorOfTerm': ./H/TermExt.h:351:3: error: unknown type name 'Int' 351 | Int _mp_size, _mp_alloc; | ^~~ ./H/Yapproto.h:352:1: error: unknown type name 'Int'; did you mean 'int'? 352 | Int STD_PROTO(Yap_walltime,(void)); | ^~~ | int ./H/Yapproto.h:201:44: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:124:57: error: unknown type name 'CPredicate' 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:428:3: error: unknown type name 'UInt' 428 | UInt len; | ^~~~ ./H/Yapproto.h:201:49: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:361:41: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'IsBlobStringTerm': ./H/YapTags.h:225:22: warning: implicit declaration of function 'RepAppl' [-Wimplicit-function-declaration] 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~ ./H/TermExt.h:438:14: error: subscripted value is neither array nor pointer nor vector 438 | (RepAppl(t)[1] & BLOB_STRING) == BLOB_STRING); | ^ ./H/Yapproto.h:125:1: error: unknown type name 'Int'; did you mean 'int'? 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/TermExt.h: In function 'IsWideBlobStringTerm': ./H/YapTags.h:225:21: error: invalid type argument of unary '*' (have 'int') 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~~~~~~ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:205:1: error: unknown type name 'Int'; did you mean 'int'? 205 | Int STD_PROTO(Yap_DeleteGlobal, (Atom)); | ^~~ | int ./H/Yapproto.h:361:47: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:448:13: error: subscripted value is neither array nor pointer nor vector 448 | RepAppl(t)[1] == BLOB_WIDE_STRING); | ^ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:206:53: error: expected ')' before 'int' 206 | void STD_PROTO(Yap_AllocateDefaultArena, (Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'IsExternalBlobTerm': ./H/Yapproto.h:362:41: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:470:13: error: subscripted value is neither array nor pointer nor vector 470 | RepAppl(t)[1] == tag); | ^ In file included from ./H/Yap.h:548, from C/arrays.c:18: ./H/YapTags.h: In function 'FunctorOfTerm': In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:209:1: error: unknown type name 'Int'; did you mean 'int'? 209 | Int STD_PROTO(Yap_total_stack_shift_time,(void)); | ^~~ | int ./H/TermExt.h: At top level: ./H/Yapproto.h:125:56: error: unknown type name 'CPredicate' 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:362:47: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:496:27: error: unknown type name 'Int' 496 | INLINE_ONLY inline EXTERN Int IsAtomicTerm (Term); | ^~~ ./H/YapTags.h:225:22: warning: implicit declaration of function 'RepAppl' [-Wimplicit-function-declaration] 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~ ./H/Yapproto.h:211:1: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ ./H/TermExt.h:498:27: error: unknown type name 'Int' 498 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/YapTags.h:225:21: error: invalid type argument of unary '*' (have 'int') 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~~~~~~ ./H/Yapproto.h:126:1: error: unknown type name 'Int'; did you mean 'int'? 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~ | int ./H/Yapproto.h:363:42: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h: In function 'MkAtomTerm': ./H/YapTags.h:236:18: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 236 | return (Term) (AtomTag | (CELL) (a)); | ^~~~~~~ | Atom In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:211:48: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'IsAtomicTerm': ./H/YapTags.h:236:18: note: each undeclared identifier is reported only once for each function it appears in ./H/Yapproto.h:363:48: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:501:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~ | int In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:222:1: error: unknown type name 'Int'; did you mean 'int'? 222 | Int STD_PROTO(Yap_total_gc_time,(void)); | ^~~ | int ./H/Yapproto.h:126:57: error: unknown type name 'CPredicate' 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:225:30: error: expected ')' before 'CELL' 225 | int STD_PROTO(Yap_gc, (Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:404:56: error: unknown type name 'UInt' 404 | size_t STD_PROTO(Yap_ExportTerm,(Term, char *, size_t, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h: In function 'MkAtomTerm': ./H/Yapproto.h:226:37: error: expected ')' before 'CELL' 226 | int STD_PROTO(Yap_gcl, (UInt, Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:236:18: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 236 | return (Term) (AtomTag | (CELL) (a)); | ^~~~~~~ | Atom ./H/Yapproto.h:144:1: error: unknown type name 'Int'; did you mean 'int'? 144 | Int STD_PROTO(Yap_compare_terms,(Term,Term)); | ^~~ | int ./H/YapTags.h:236:18: note: each undeclared identifier is reported only once for each function it appears in ./H/YapTags.h: In function 'AtomOfTerm': ./H/YapTags.h:246:20: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 246 | return (Atom) ((~AtomTag & (CELL) (t))); | ^~~~~~~ | Atom In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:414:1: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ | int ./H/Yapproto.h:148:38: error: unknown type name 'Int'; did you mean 'int'? 148 | yamop *STD_PROTO(Yap_cclause,(Term, Int, Term, Term)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:160:8: warning: parameter names (without types) in function declaration 160 | struct pred_entry *STD_PROTO(Yap_FindLUIntKey,(Int)); | ^~~~~~~~~~ ./H/Yapproto.h:236:58: error: unknown type name 'CPredicate' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:414:39: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:501:17: warning: implicit declaration of function 'IsAtomOrIntTerm'; did you mean 'IsAtomicTerm'? [-Wimplicit-function-declaration] 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~~~~~~~~~~~~~ | IsAtomicTerm ./H/YapTags.h: In function 'AtomOfTerm': ./H/TermExt.h: At top level: ./H/YapTags.h:246:20: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 246 | return (Atom) ((~AtomTag & (CELL) (t))); | ^~~~~~~ | Atom ./H/Yapproto.h:178:1: error: unknown type name 'Int'; did you mean 'int'? 178 | Int STD_PROTO(Yap_JumpToEnv,(Term)); | ^~~ | int ./H/YapTags.h: In function 'IsAtomTerm': ./H/Yapproto.h:414:44: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:181:1: error: unknown type name 'Int'; did you mean 'int'? 181 | Int STD_PROTO(Yap_execute_goal,(Term, int, Term)); | ^~~ | int ./H/Yapproto.h:236:70: error: unknown type name 'UInt' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:507:27: error: unknown type name 'Int' 507 | INLINE_ONLY inline EXTERN Int IsExtensionFunctor (Functor); | ^~~ ./H/YapTags.h: In function 'IsAtomTerm': ./H/YapTags.h:278:17: warning: implicit declaration of function 'CHKTAG' [-Wimplicit-function-declaration] 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~ ./H/YapTags.h:278:17: warning: implicit declaration of function 'CHKTAG' [-Wimplicit-function-declaration] 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~ ./H/Yapproto.h:182:1: error: unknown type name 'Int'; did you mean 'int'? 182 | Int STD_PROTO(Yap_exec_absmi,(int)); | ^~~ | int ./H/TermExt.h:509:27: error: unknown type name 'Int' 509 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/Yapproto.h:200:35: error: expected ')' before 'CELL' 200 | Term STD_PROTO(Yap_NewArena,(UInt,CELL *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:415:1: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ | int ./H/TermExt.h: In function 'IsExtensionFunctor': ./H/Yapproto.h:201:44: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:512:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 512 | return (Int) (f <= FunctorDouble); | ^~~ | int ./H/YapTags.h:278:30: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~~ | Atom ./H/Yapproto.h:237:65: error: unknown type name 'CPredicate' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h: At top level: ./H/TermExt.h: At top level: ./H/Yapproto.h:201:49: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:278:30: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~~ | Atom ./H/TermExt.h:517:27: error: unknown type name 'Int' 517 | INLINE_ONLY inline EXTERN Int IsBlobFunctor (Functor); | ^~~ In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:415:41: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:237:77: error: unknown type name 'UInt' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:205:1: error: unknown type name 'Int'; did you mean 'int'? 205 | Int STD_PROTO(Yap_DeleteGlobal, (Atom)); | ^~~ | int ./H/YapTags.h:284:1: warning: parameter names (without types) in function declaration 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~~~ ./H/YapTags.h: At top level: ./H/TermExt.h:519:27: error: unknown type name 'Int' 519 | INLINE_ONLY inline EXTERN Int | ^~~ In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:206:53: error: expected ')' before 'int' 206 | void STD_PROTO(Yap_AllocateDefaultArena, (Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:284:1: warning: parameter names (without types) in function declaration 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~~~ ./H/YapTags.h:287:12: error: unknown type name 'Int'; did you mean 'int'? 287 | MkIntTerm (Int n) | ^~~ | int ./H/YapTags.h:298:1: warning: parameter names (without types) in function declaration 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~ ./H/TermExt.h: In function 'IsBlobFunctor': ./H/YapTags.h:287:12: error: unknown type name 'Int'; did you mean 'int'? 287 | MkIntTerm (Int n) | ^~~ | int In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:209:1: error: unknown type name 'Int'; did you mean 'int'? 209 | Int STD_PROTO(Yap_total_stack_shift_time,(void)); | ^~~ | int In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yapproto.h:417:1: error: unknown type name 'Int'; did you mean 'int'? 417 | Int STD_PROTO(Yap_SkipList,(Term *, Term **)); | ^~~ | int ./H/TermExt.h:522:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 522 | return (Int) ((f <= FunctorDouble && f >= FunctorDBRef)); | ^~~ | int ./H/YapTags.h:298:1: warning: parameter names (without types) in function declaration 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~ ./H/YapTags.h:301:16: error: unknown type name 'Int'; did you mean 'int'? 301 | MkIntConstant (Int n) | ^~~ | int ./H/TermExt.h: At top level: ./H/Yapproto.h:211:1: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ ./H/Yapproto.h:238:60: error: unknown type name 'CmpPredicate' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:527:27: error: unknown type name 'Int' 527 | INLINE_ONLY inline EXTERN Int IsPrimitiveTerm (Term); | ^~~ ./H/YapTags.h:301:16: error: unknown type name 'Int'; did you mean 'int'? 301 | MkIntConstant (Int n) | ^~~ | int ./H/TermExt.h:529:27: error: unknown type name 'Int' 529 | INLINE_ONLY inline EXTERN Int | ^~~ In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:211:48: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:238:74: error: unknown type name 'UInt' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'IsPrimitiveTerm': In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:222:1: error: unknown type name 'Int'; did you mean 'int'? 222 | Int STD_PROTO(Yap_total_gc_time,(void)); | ^~~ | int ./H/TermExt.h:532:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 532 | return (Int) ((IsAtomOrIntTerm (t) | ^~~ | int In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:225:30: error: expected ')' before 'CELL' 225 | int STD_PROTO(Yap_gc, (Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: At top level: ./H/YapTags.h: In function 'IsIntTerm': ./H/TermExt.h:539:27: error: unknown type name 'Int' 539 | INLINE_ONLY inline EXTERN Int IsAttachFunc (Functor); | ^~~ ./H/Yapproto.h:226:37: error: expected ')' before 'CELL' 226 | int STD_PROTO(Yap_gcl, (UInt, Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:313:30: error: 'NumberTag' undeclared (first use in this function) 313 | return (int) (CHKTAG ((t), NumberTag)); | ^~~~~~~~~ ./H/TermExt.h:541:27: error: unknown type name 'Int' 541 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/Yapproto.h:239:76: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'IsAttachFunc': In file included from ./H/Yap.h:548, from C/alloc.c:22: ./H/YapTags.h: In function 'FunctorOfTerm': ./H/YapTags.h: In function 'IsIntTerm': ./H/YapTags.h: In function 'MkPairTerm__': ./H/TermExt.h:544:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 544 | return (Int) (FALSE); | ^~~ | int ./H/Yapproto.h:236:58: error: unknown type name 'CPredicate' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:327:11: warning: implicit declaration of function 'AbsPair' [-Wimplicit-function-declaration] 327 | return (AbsPair (p)); | ^~~~~~~ ./H/TermExt.h: At top level: ./H/YapTags.h:313:30: error: 'NumberTag' undeclared (first use in this function) 313 | return (int) (CHKTAG ((t), NumberTag)); | ^~~~~~~~~ ./H/TermExt.h:550:27: error: unknown type name 'Int' 550 | INLINE_ONLY inline EXTERN Int IsAttachedTerm (Term); | ^~~ ./H/Yapproto.h:236:70: error: unknown type name 'UInt' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:225:22: warning: implicit declaration of function 'RepAppl' [-Wimplicit-function-declaration] 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~ ./H/TermExt.h:552:27: error: unknown type name 'Int' 552 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/Yapproto.h:239:87: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:225:21: error: invalid type argument of unary '*' (have 'int') 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~~~~~~ ./H/TermExt.h: In function 'IsAttachedTerm': ./H/Yapproto.h:239:98: error: unknown type name 'UInt' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:555:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/Yapproto.h:237:65: error: unknown type name 'CPredicate' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h: In function 'MkPairTerm__': ./H/YapTags.h:327:11: warning: implicit declaration of function 'AbsPair' [-Wimplicit-function-declaration] 327 | return (AbsPair (p)); | ^~~~~~~ ./H/Yapproto.h:237:77: error: unknown type name 'UInt' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from C/arrays.c:18: ./H/TermExt.h: In function 'MkFloatTerm': ./H/YapTags.h: In function 'MkAtomTerm': ./H/TermExt.h:555:18: warning: implicit declaration of function 'IsVarTerm'; did you mean 'MkVarTerm'? [-Wimplicit-function-declaration] 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~~~~~~~ | MkVarTerm ./H/YapTags.h:236:18: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 236 | return (Term) (AtomTag | (CELL) (a)); | ^~~~~~~ | Atom ./H/TermExt.h: At top level: ./H/YapTags.h:236:18: note: each undeclared identifier is reported only once for each function it appears in ./H/Yapproto.h:240:79: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:558:27: error: unknown type name 'Int' 558 | INLINE_ONLY inline EXTERN Int GlobalIsAttachedTerm (Term); | ^~~ ./H/TermExt.h:194:8: warning: implicit declaration of function 'AbsAppl' [-Wimplicit-function-declaration] 194 | 3, AbsAppl (H - 3))); | ^~~~~~~ ./H/Yapproto.h:238:60: error: unknown type name 'CmpPredicate' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:560:27: error: unknown type name 'Int' 560 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'GlobalIsAttachedTerm': ./H/Yapproto.h:238:74: error: unknown type name 'UInt' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:563:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 563 | return (Int) ((IsVarTerm (t) && GlobalIsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/TermExt.h: At top level: ./H/YapTags.h: In function 'AtomOfTerm': ./H/Yapproto.h:240:90: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:566:27: error: unknown type name 'Int' 566 | INLINE_ONLY inline EXTERN Int SafeIsAttachedTerm (Term); | ^~~ ./H/YapTags.h:246:20: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 246 | return (Atom) ((~AtomTag & (CELL) (t))); | ^~~~~~~ | Atom ./H/TermExt.h: In function 'IsFloatTerm': ./H/TermExt.h:568:27: error: unknown type name 'Int' 568 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:298:17: warning: implicit declaration of function 'IsApplTerm'; did you mean 'IsAtomTerm'? [-Wimplicit-function-declaration] 298 | return (int) (IsApplTerm (t) && FunctorOfTerm (t) == FunctorDouble); | ^~~~~~~~~~ | IsAtomTerm ./H/Yapproto.h:239:76: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/agc.c:21: ./H/TermExt.h: In function 'MkFloatTerm': ./H/TermExt.h: At top level: ./H/TermExt.h: In function 'SafeIsAttachedTerm': ./H/TermExt.h:306:1: warning: parameter names (without types) in function declaration 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~ ./H/TermExt.h:571:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 571 | return (Int) (IsVarTerm (t) && IsAttVar(VarOfTerm(t))); | ^~~ | int ./H/YapTags.h: In function 'IsAtomTerm': ./H/YapTags.h:278:17: warning: implicit declaration of function 'CHKTAG' [-Wimplicit-function-declaration] 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~ ./H/TermExt.h: At top level: ./H/TermExt.h:194:8: warning: implicit declaration of function 'AbsAppl' [-Wimplicit-function-declaration] 194 | 3, AbsAppl (H - 3))); | ^~~~~~~ ./H/TermExt.h:309:16: error: unknown type name 'Int'; did you mean 'int'? 309 | MkLongIntTerm (Int i) | ^~~ | int ./H/Yapproto.h:239:87: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:614:27: error: unknown type name 'Int' 614 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t); | ^~~ ./H/Yapproto.h:240:101: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:616:27: error: unknown type name 'Int' 616 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t) | ^~~ ./H/TermExt.h:320:27: error: unknown type name 'Int' 320 | INLINE_ONLY inline EXTERN Int LongIntOfTerm (Term t); | ^~~ ./H/TermExt.h: In function 'Yap_BlobTag': ./H/TermExt.h:322:27: error: unknown type name 'Int' 322 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/Yapproto.h:239:98: error: unknown type name 'UInt' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:618:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 618 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/Yapproto.h:240:112: error: unknown type name 'UInt' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'Yap_BlobInfo': ./H/TermExt.h: In function 'LongIntOfTerm': ./H/YapTags.h:278:30: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~~ | Atom ./H/TermExt.h:325:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 325 | return (Int) (RepAppl (t)[1]); | ^~~ | int ./H/TermExt.h:629:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 629 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/YapTags.h: At top level: ./H/TermExt.h:325:28: error: subscripted value is neither array nor pointer nor vector 325 | return (Int) (RepAppl (t)[1]); | ^ ./H/YapTags.h:284:1: warning: parameter names (without types) in function declaration 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~~~ ./H/Yapproto.h:240:79: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'unify_extension': ./H/TermExt.h: At top level: ./H/TermExt.h: In function 'IsFloatTerm': ./H/TermExt.h:653:37: error: subscripted value is neither array nor pointer nor vector 653 | return (pt0[1] == RepAppl (d1)[1]); | ^ ./H/Yapproto.h:242:80: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:348:9: error: unknown type name 'UInt' 348 | typedef UInt mp_limb_t; | ^~~~ ./H/YapTags.h:287:12: error: unknown type name 'Int'; did you mean 'int'? 287 | MkIntTerm (Int n) | ^~~ | int ./H/TermExt.h:351:3: error: unknown type name 'Int' 351 | Int _mp_size, _mp_alloc; | ^~~ ./H/TermExt.h:298:17: warning: implicit declaration of function 'IsApplTerm'; did you mean 'IsAtomTerm'? [-Wimplicit-function-declaration] 298 | return (int) (IsApplTerm (t) && FunctorOfTerm (t) == FunctorDouble); | ^~~~~~~~~~ | IsAtomTerm ./H/TermExt.h:662:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 662 | CELL *pt1 = RepAppl (d1); | ^~~~~~~ ./H/YapTags.h:298:1: warning: parameter names (without types) in function declaration 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~ ./H/TermExt.h: At top level: ./H/TermExt.h:428:3: error: unknown type name 'UInt' 428 | UInt len; | ^~~~ ./H/Yapproto.h:240:90: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:306:1: warning: parameter names (without types) in function declaration 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~ ./H/TermExt.h: In function 'IsBlobStringTerm': ./H/YapTags.h:301:16: error: unknown type name 'Int'; did you mean 'int'? 301 | MkIntConstant (Int n) | ^~~ | int ./H/TermExt.h:438:14: error: subscripted value is neither array nor pointer nor vector 438 | (RepAppl(t)[1] & BLOB_STRING) == BLOB_STRING); | ^ ./H/Yapproto.h:242:91: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'IsWideBlobStringTerm': ./H/TermExt.h:309:16: error: unknown type name 'Int'; did you mean 'int'? 309 | MkLongIntTerm (Int i) | ^~~ | int ./H/TermExt.h:448:13: error: subscripted value is neither array nor pointer nor vector 448 | RepAppl(t)[1] == BLOB_WIDE_STRING); | ^ ./H/TermExt.h:320:27: error: unknown type name 'Int' 320 | INLINE_ONLY inline EXTERN Int LongIntOfTerm (Term t); | ^~~ ./H/TermExt.h: In function 'IsExternalBlobTerm': ./H/Yapproto.h:240:101: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:322:27: error: unknown type name 'Int' 322 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:470:13: error: subscripted value is neither array nor pointer nor vector 470 | RepAppl(t)[1] == tag); | ^ ./H/TermExt.h: At top level: ./H/Yapproto.h:240:112: error: unknown type name 'UInt' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'LongIntOfTerm': ./H/TermExt.h:496:27: error: unknown type name 'Int' 496 | INLINE_ONLY inline EXTERN Int IsAtomicTerm (Term); | ^~~ ./H/Yapproto.h:242:102: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:325:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 325 | return (Int) (RepAppl (t)[1]); | ^~~ | int ./H/TermExt.h:498:27: error: unknown type name 'Int' 498 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:325:28: error: subscripted value is neither array nor pointer nor vector 325 | return (Int) (RepAppl (t)[1]); | ^ ./H/TermExt.h: In function 'Yap_IntP_key': ./H/YapTags.h: In function 'IsIntTerm': ./H/TermExt.h: At top level: ./H/YapTags.h:313:30: error: 'NumberTag' undeclared (first use in this function) 313 | return (int) (CHKTAG ((t), NumberTag)); | ^~~~~~~~~ ./H/TermExt.h: In function 'IsAtomicTerm': ./H/TermExt.h:348:9: error: unknown type name 'UInt' 348 | typedef UInt mp_limb_t; | ^~~~ ./H/Yapproto.h:242:113: error: unknown type name 'UInt' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:242:80: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:351:3: error: unknown type name 'Int' 351 | Int _mp_size, _mp_alloc; | ^~~ ./H/TermExt.h:684:29: error: 'MAX_ABS_INT' undeclared (first use in this function) 684 | return MkIntTerm(pt[0] & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/TermExt.h:501:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~ | int ./H/Yapproto.h:244:60: error: expected ')' before 'int' 244 | void STD_PROTO(Yap_InitWorkspace,(UInt,UInt,UInt,UInt,UInt,int,int,int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'Yap_Int_key': ./H/TermExt.h:428:3: error: unknown type name 'UInt' 428 | UInt len; | ^~~~ ./H/TermExt.h:690:33: warning: passing argument 1 of 'Yap_IntP_key' makes pointer from integer without a cast [-Wint-conversion] 690 | return Yap_IntP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./H/YapTags.h: In function 'MkPairTerm__': ./H/TermExt.h: In function 'IsBlobStringTerm': ./H/Yapproto.h:242:91: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:674:25: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 674 | CELL Yap_IntP_key(CELL *pt) | ~~~~~~^~ ./H/YapTags.h:327:11: warning: implicit declaration of function 'AbsPair' [-Wimplicit-function-declaration] 327 | return (AbsPair (p)); | ^~~~~~~ ./H/TermExt.h:438:14: error: subscripted value is neither array nor pointer nor vector 438 | (RepAppl(t)[1] & BLOB_STRING) == BLOB_STRING); | ^ ./H/TermExt.h: In function 'IsWideBlobStringTerm': ./H/TermExt.h:448:13: error: subscripted value is neither array nor pointer nor vector 448 | RepAppl(t)[1] == BLOB_WIDE_STRING); | ^ ./H/Yapproto.h:242:102: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'IsExternalBlobTerm': In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:351:1: error: unknown type name 'UInt' 351 | UInt STD_PROTO(Yap_cputime,(void)); | ^~~~ ./H/TermExt.h:501:17: warning: implicit declaration of function 'IsAtomOrIntTerm'; did you mean 'IsAtomicTerm'? [-Wimplicit-function-declaration] 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~~~~~~~~~~~~~ | IsAtomicTerm ./H/TermExt.h:470:13: error: subscripted value is neither array nor pointer nor vector 470 | RepAppl(t)[1] == tag); | ^ ./H/TermExt.h: At top level: ./H/Yapproto.h:242:113: error: unknown type name 'UInt' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:507:27: error: unknown type name 'Int' 507 | INLINE_ONLY inline EXTERN Int IsExtensionFunctor (Functor); | ^~~ ./H/TermExt.h: At top level: ./H/Yapproto.h:244:60: error: expected ')' before 'int' 244 | void STD_PROTO(Yap_InitWorkspace,(UInt,UInt,UInt,UInt,UInt,int,int,int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:509:27: error: unknown type name 'Int' 509 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:496:27: error: unknown type name 'Int' 496 | INLINE_ONLY inline EXTERN Int IsAtomicTerm (Term); | ^~~ ./H/Yapproto.h:352:1: error: unknown type name 'Int'; did you mean 'int'? 352 | Int STD_PROTO(Yap_walltime,(void)); | ^~~ | int ./H/TermExt.h:498:27: error: unknown type name 'Int' 498 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'IsExtensionFunctor': ./H/TermExt.h: In function 'Yap_DoubleP_key': ./H/TermExt.h:512:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 512 | return (Int) (f <= FunctorDouble); | ^~~ | int In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:361:41: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: At top level: In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from C/alloc.c:22: ./H/TermExt.h: In function 'MkFloatTerm': ./H/TermExt.h:517:27: error: unknown type name 'Int' 517 | INLINE_ONLY inline EXTERN Int IsBlobFunctor (Functor); | ^~~ ./H/TermExt.h: In function 'IsAtomicTerm': ./H/TermExt.h:701:27: error: 'MAX_ABS_INT' undeclared (first use in this function) 701 | return MkIntTerm(val & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:351:1: error: unknown type name 'UInt' 351 | UInt STD_PROTO(Yap_cputime,(void)); | ^~~~ ./H/TermExt.h:519:27: error: unknown type name 'Int' 519 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'Yap_Double_key': ./H/Yapproto.h:361:47: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:501:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~ | int ./H/TermExt.h:707:36: warning: passing argument 1 of 'Yap_DoubleP_key' makes pointer from integer without a cast [-Wint-conversion] 707 | return Yap_DoubleP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./H/TermExt.h: In function 'IsBlobFunctor': ./H/TermExt.h:194:8: warning: implicit declaration of function 'AbsAppl' [-Wimplicit-function-declaration] 194 | 3, AbsAppl (H - 3))); | ^~~~~~~ ./H/Yapproto.h:352:1: error: unknown type name 'Int'; did you mean 'int'? 352 | Int STD_PROTO(Yap_walltime,(void)); | ^~~ | int ./H/Yapproto.h:362:41: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:694:28: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 694 | CELL Yap_DoubleP_key(CELL *pt) | ~~~~~~^~ ./H/TermExt.h:522:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 522 | return (Int) ((f <= FunctorDouble && f >= FunctorDBRef)); | ^~~ | int In file included from ./H/Yap.h:548, from C/analyst.c:22: ./H/YapTags.h: At top level: ./H/TermExt.h: At top level: ./H/YapTags.h:367:1: warning: parameter names (without types) in function declaration 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~ In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:361:41: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:362:47: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:527:27: error: unknown type name 'Int' 527 | INLINE_ONLY inline EXTERN Int IsPrimitiveTerm (Term); | ^~~ ./H/TermExt.h:529:27: error: unknown type name 'Int' 529 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/Yapproto.h:361:47: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:370:16: error: unknown type name 'Int'; did you mean 'int'? 370 | MkIntegerTerm (Int n) | ^~~ | int ./H/Yapproto.h:363:42: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'IsPrimitiveTerm': ./H/YapTags.h:385:27: error: unknown type name 'Int' 385 | INLINE_ONLY inline EXTERN Int IntegerOfTerm (Term); | ^~~ ./H/Yapproto.h:362:41: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'IsFloatTerm': ./H/YapTags.h:387:27: error: unknown type name 'Int' 387 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:532:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 532 | return (Int) ((IsAtomOrIntTerm (t) | ^~~ | int ./H/Yapproto.h:363:48: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:298:17: warning: implicit declaration of function 'IsApplTerm'; did you mean 'IsAtomTerm'? [-Wimplicit-function-declaration] 298 | return (int) (IsApplTerm (t) && FunctorOfTerm (t) == FunctorDouble); | ^~~~~~~~~~ | IsAtomTerm ./H/TermExt.h:501:17: warning: implicit declaration of function 'IsAtomOrIntTerm'; did you mean 'IsAtomicTerm'? [-Wimplicit-function-declaration] 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~~~~~~~~~~~~~ | IsAtomicTerm ./H/TermExt.h: At top level: ./H/Yapproto.h:362:47: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: At top level: ./H/TermExt.h:539:27: error: unknown type name 'Int' 539 | INLINE_ONLY inline EXTERN Int IsAttachFunc (Functor); | ^~~ ./H/TermExt.h: At top level: ./H/YapTags.h: In function 'IntegerOfTerm': ./H/TermExt.h:306:1: warning: parameter names (without types) in function declaration 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~ ./H/TermExt.h:507:27: error: unknown type name 'Int' 507 | INLINE_ONLY inline EXTERN Int IsExtensionFunctor (Functor); | ^~~ ./H/Yapproto.h:363:42: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:391:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~ | int ./H/Yapproto.h:404:56: error: unknown type name 'UInt' 404 | size_t STD_PROTO(Yap_ExportTerm,(Term, char *, size_t, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:541:27: error: unknown type name 'Int' 541 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:509:27: error: unknown type name 'Int' 509 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:309:16: error: unknown type name 'Int'; did you mean 'int'? 309 | MkLongIntTerm (Int i) | ^~~ | int ./H/Yapproto.h:363:48: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:320:27: error: unknown type name 'Int' 320 | INLINE_ONLY inline EXTERN Int LongIntOfTerm (Term t); | ^~~ ./H/TermExt.h: In function 'IsAttachFunc': ./H/TermExt.h: In function 'IsExtensionFunctor': In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:414:1: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ | int ./H/TermExt.h:322:27: error: unknown type name 'Int' 322 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/YapTags.h:391:33: warning: implicit declaration of function 'IntOfTerm'; did you mean 'PtrOfTerm'? [-Wimplicit-function-declaration] 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~~~~~~~ | PtrOfTerm ./H/TermExt.h:544:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 544 | return (Int) (FALSE); | ^~~ | int ./H/TermExt.h:512:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 512 | return (Int) (f <= FunctorDouble); | ^~~ | int ./H/Yapproto.h:404:56: error: unknown type name 'UInt' 404 | size_t STD_PROTO(Yap_ExportTerm,(Term, char *, size_t, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: At top level: ./H/TermExt.h: At top level: In file included from C/analyst.c:22: ./H/Yap.h: At top level: ./H/TermExt.h: In function 'LongIntOfTerm': ./H/TermExt.h:550:27: error: unknown type name 'Int' 550 | INLINE_ONLY inline EXTERN Int IsAttachedTerm (Term); | ^~~ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:414:39: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:517:27: error: unknown type name 'Int' 517 | INLINE_ONLY inline EXTERN Int IsBlobFunctor (Functor); | ^~~ ./H/TermExt.h:325:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 325 | return (Int) (RepAppl (t)[1]); | ^~~ | int ./H/TermExt.h:552:27: error: unknown type name 'Int' 552 | INLINE_ONLY inline EXTERN Int | ^~~ In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:414:1: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ | int ./H/TermExt.h:519:27: error: unknown type name 'Int' 519 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:325:28: error: subscripted value is neither array nor pointer nor vector 325 | return (Int) (RepAppl (t)[1]); | ^ ./H/Yapproto.h:414:44: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: At top level: ./H/TermExt.h: In function 'IsAttachedTerm': In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:414:39: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:348:9: error: unknown type name 'UInt' 348 | typedef UInt mp_limb_t; | ^~~~ ./H/TermExt.h: In function 'IsBlobFunctor': ./H/Yap.h:774:3: error: unknown type name 'UInt' 774 | UInt timestmp; | ^~~~ ./H/TermExt.h:555:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/Yap.h:787:3: error: unknown type name 'UInt' 787 | UInt sz, msz; | ^~~~ ./H/TermExt.h:522:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 522 | return (Int) ((f <= FunctorDouble && f >= FunctorDBRef)); | ^~~ | int ./H/Yapproto.h:414:44: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:415:1: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ | int ./H/TermExt.h: At top level: ./H/TermExt.h:351:3: error: unknown type name 'Int' 351 | Int _mp_size, _mp_alloc; | ^~~ ./H/TermExt.h:527:27: error: unknown type name 'Int' 527 | INLINE_ONLY inline EXTERN Int IsPrimitiveTerm (Term); | ^~~ In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:415:1: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ | int In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:415:41: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:529:27: error: unknown type name 'Int' 529 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:555:18: warning: implicit declaration of function 'IsVarTerm'; did you mean 'MkVarTerm'? [-Wimplicit-function-declaration] 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~~~~~~~ | MkVarTerm ./H/TermExt.h:428:3: error: unknown type name 'UInt' 428 | UInt len; | ^~~~ In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:415:41: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'IsPrimitiveTerm': ./H/TermExt.h: In function 'IsBlobStringTerm': In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yapproto.h:417:1: error: unknown type name 'Int'; did you mean 'int'? 417 | Int STD_PROTO(Yap_SkipList,(Term *, Term **)); | ^~~ | int ./H/TermExt.h: At top level: ./H/TermExt.h:532:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 532 | return (Int) ((IsAtomOrIntTerm (t) | ^~~ | int ./H/TermExt.h:438:14: error: subscripted value is neither array nor pointer nor vector 438 | (RepAppl(t)[1] & BLOB_STRING) == BLOB_STRING); | ^ In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yapproto.h:417:1: error: unknown type name 'Int'; did you mean 'int'? 417 | Int STD_PROTO(Yap_SkipList,(Term *, Term **)); | ^~~ | int ./H/TermExt.h:558:27: error: unknown type name 'Int' 558 | INLINE_ONLY inline EXTERN Int GlobalIsAttachedTerm (Term); | ^~~ ./H/TermExt.h: At top level: ./H/TermExt.h: In function 'IsWideBlobStringTerm': ./H/TermExt.h:539:27: error: unknown type name 'Int' 539 | INLINE_ONLY inline EXTERN Int IsAttachFunc (Functor); | ^~~ ./H/TermExt.h:448:13: error: subscripted value is neither array nor pointer nor vector 448 | RepAppl(t)[1] == BLOB_WIDE_STRING); | ^ ./H/TermExt.h:560:27: error: unknown type name 'Int' 560 | INLINE_ONLY inline EXTERN Int | ^~~ In file included from ./H/Yap.h:799, from C/analyst.c:22: ./OPTYap/opt.structs.h:61:3: error: unknown type name 'UInt' 61 | UInt timestmp; | ^~~~ ./H/TermExt.h:541:27: error: unknown type name 'Int' 541 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'IsExternalBlobTerm': ./H/TermExt.h: In function 'GlobalIsAttachedTerm': ./H/TermExt.h: In function 'IsAttachFunc': ./H/TermExt.h:470:13: error: subscripted value is neither array nor pointer nor vector 470 | RepAppl(t)[1] == tag); | ^ ./H/TermExt.h:563:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 563 | return (Int) ((IsVarTerm (t) && GlobalIsAttVar(VarOfTerm(t)))); | ^~~ | int ./OPTYap/opt.structs.h:471:3: error: unknown type name 'UInt' 471 | UInt ma_timestamp; | ^~~~ ./H/TermExt.h:544:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 544 | return (Int) (FALSE); | ^~~ | int ./H/TermExt.h: At top level: ./H/TermExt.h: At top level: In file included from ./H/Yap.h:548, from C/adtdefs.c:28: ./H/YapTags.h: In function 'FunctorOfTerm': ./H/TermExt.h:496:27: error: unknown type name 'Int' 496 | INLINE_ONLY inline EXTERN Int IsAtomicTerm (Term); | ^~~ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/YapTags.h: In function 'FunctorOfTerm': ./H/TermExt.h:550:27: error: unknown type name 'Int' 550 | INLINE_ONLY inline EXTERN Int IsAttachedTerm (Term); | ^~~ ./H/TermExt.h: At top level: ./H/TermExt.h:498:27: error: unknown type name 'Int' 498 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:552:27: error: unknown type name 'Int' 552 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/YapTags.h:225:22: warning: implicit declaration of function 'RepAppl' [-Wimplicit-function-declaration] 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~ ./H/TermExt.h:566:27: error: unknown type name 'Int' 566 | INLINE_ONLY inline EXTERN Int SafeIsAttachedTerm (Term); | ^~~ ./H/YapTags.h:225:21: error: invalid type argument of unary '*' (have 'int') 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~~~~~~ ./H/YapTags.h:225:22: warning: implicit declaration of function 'RepAppl' [-Wimplicit-function-declaration] 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~ ./H/TermExt.h:568:27: error: unknown type name 'Int' 568 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'IsAtomicTerm': ./H/YapTags.h:225:21: error: invalid type argument of unary '*' (have 'int') 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~~~~~~ ./H/TermExt.h: In function 'IsAttachedTerm': ./H/TermExt.h: In function 'SafeIsAttachedTerm': ./H/TermExt.h:501:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~ | int ./H/TermExt.h:555:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/TermExt.h:571:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 571 | return (Int) (IsVarTerm (t) && IsAttVar(VarOfTerm(t))); | ^~~ | int ./H/YapTags.h: In function 'MkAtomTerm': ./H/YapTags.h:236:18: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 236 | return (Term) (AtomTag | (CELL) (a)); | ^~~~~~~ | Atom ./H/TermExt.h: At top level: ./H/YapTags.h:236:18: note: each undeclared identifier is reported only once for each function it appears in ./H/TermExt.h:614:27: error: unknown type name 'Int' 614 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t); | ^~~ ./H/TermExt.h:616:27: error: unknown type name 'Int' 616 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t) | ^~~ ./H/YapTags.h: In function 'MkAtomTerm': ./H/TermExt.h: In function 'Yap_BlobTag': ./H/YapTags.h:236:18: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 236 | return (Term) (AtomTag | (CELL) (a)); | ^~~~~~~ | Atom ./H/YapTags.h:236:18: note: each undeclared identifier is reported only once for each function it appears in ./H/TermExt.h:618:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 618 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/TermExt.h: In function 'Yap_BlobInfo': ./H/YapTags.h: In function 'AtomOfTerm': ./H/TermExt.h:555:18: warning: implicit declaration of function 'IsVarTerm'; did you mean 'MkVarTerm'? [-Wimplicit-function-declaration] 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~~~~~~~ | MkVarTerm ./H/TermExt.h:629:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 629 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/YapTags.h:246:20: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 246 | return (Atom) ((~AtomTag & (CELL) (t))); | ^~~~~~~ | Atom ./H/TermExt.h: At top level: ./H/TermExt.h: In function 'unify_extension': ./H/TermExt.h:558:27: error: unknown type name 'Int' 558 | INLINE_ONLY inline EXTERN Int GlobalIsAttachedTerm (Term); | ^~~ ./H/YapTags.h: In function 'IsAtomTerm': ./H/TermExt.h:653:37: error: subscripted value is neither array nor pointer nor vector 653 | return (pt0[1] == RepAppl (d1)[1]); | ^ ./H/TermExt.h:501:17: warning: implicit declaration of function 'IsAtomOrIntTerm'; did you mean 'IsAtomicTerm'? [-Wimplicit-function-declaration] 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~~~~~~~~~~~~~ | IsAtomicTerm ./H/TermExt.h:560:27: error: unknown type name 'Int' 560 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/YapTags.h: In function 'AtomOfTerm': ./H/TermExt.h: At top level: ./H/YapTags.h:278:17: warning: implicit declaration of function 'CHKTAG' [-Wimplicit-function-declaration] 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~ ./H/TermExt.h:662:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 662 | CELL *pt1 = RepAppl (d1); | ^~~~~~~ ./H/TermExt.h:507:27: error: unknown type name 'Int' 507 | INLINE_ONLY inline EXTERN Int IsExtensionFunctor (Functor); | ^~~ ./H/YapTags.h:246:20: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 246 | return (Atom) ((~AtomTag & (CELL) (t))); | ^~~~~~~ | Atom ./H/TermExt.h: In function 'GlobalIsAttachedTerm': ./H/TermExt.h:509:27: error: unknown type name 'Int' 509 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:563:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 563 | return (Int) ((IsVarTerm (t) && GlobalIsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/TermExt.h: In function 'IsExtensionFunctor': ./H/YapTags.h:278:30: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~~ | Atom ./H/YapTags.h: In function 'IsAtomTerm': ./H/YapTags.h: At top level: ./H/TermExt.h: At top level: ./H/YapTags.h:278:17: warning: implicit declaration of function 'CHKTAG' [-Wimplicit-function-declaration] 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~ ./H/YapTags.h:284:1: warning: parameter names (without types) in function declaration 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~~~ ./H/TermExt.h:512:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 512 | return (Int) (f <= FunctorDouble); | ^~~ | int ./H/TermExt.h:566:27: error: unknown type name 'Int' 566 | INLINE_ONLY inline EXTERN Int SafeIsAttachedTerm (Term); | ^~~ ./H/YapTags.h:278:30: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~~ | Atom ./H/YapTags.h:287:12: error: unknown type name 'Int'; did you mean 'int'? 287 | MkIntTerm (Int n) | ^~~ | int ./H/TermExt.h: In function 'Yap_IntP_key': ./H/TermExt.h:568:27: error: unknown type name 'Int' 568 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/YapTags.h:298:1: warning: parameter names (without types) in function declaration 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~ ./H/YapTags.h: At top level: ./H/TermExt.h: At top level: ./H/YapTags.h:284:1: warning: parameter names (without types) in function declaration 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~~~ ./H/TermExt.h:684:29: error: 'MAX_ABS_INT' undeclared (first use in this function) 684 | return MkIntTerm(pt[0] & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/TermExt.h: In function 'SafeIsAttachedTerm': ./H/TermExt.h:517:27: error: unknown type name 'Int' 517 | INLINE_ONLY inline EXTERN Int IsBlobFunctor (Functor); | ^~~ ./H/TermExt.h: In function 'Yap_Int_key': ./H/YapTags.h:301:16: error: unknown type name 'Int'; did you mean 'int'? 301 | MkIntConstant (Int n) | ^~~ | int ./H/YapTags.h:287:12: error: unknown type name 'Int'; did you mean 'int'? 287 | MkIntTerm (Int n) | ^~~ | int ./H/TermExt.h:519:27: error: unknown type name 'Int' 519 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:690:33: warning: passing argument 1 of 'Yap_IntP_key' makes pointer from integer without a cast [-Wint-conversion] 690 | return Yap_IntP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./H/TermExt.h:571:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 571 | return (Int) (IsVarTerm (t) && IsAttVar(VarOfTerm(t))); | ^~~ | int ./H/YapTags.h:298:1: warning: parameter names (without types) in function declaration 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~ ./H/TermExt.h:674:25: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 674 | CELL Yap_IntP_key(CELL *pt) | ~~~~~~^~ ./H/TermExt.h: At top level: ./H/YapTags.h:301:16: error: unknown type name 'Int'; did you mean 'int'? 301 | MkIntConstant (Int n) | ^~~ | int ./H/TermExt.h:614:27: error: unknown type name 'Int' 614 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t); | ^~~ ./H/TermExt.h:616:27: error: unknown type name 'Int' 616 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t) | ^~~ ./H/TermExt.h: In function 'Yap_BlobTag': ./H/YapTags.h: In function 'IsIntTerm': ./H/YapTags.h:313:30: error: 'NumberTag' undeclared (first use in this function) 313 | return (int) (CHKTAG ((t), NumberTag)); | ^~~~~~~~~ ./H/TermExt.h:618:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 618 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/TermExt.h: In function 'Yap_BlobInfo': ./H/TermExt.h:629:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 629 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/YapTags.h: In function 'IsIntTerm': ./H/YapTags.h: In function 'MkPairTerm__': ./H/TermExt.h: In function 'unify_extension': ./H/YapTags.h:313:30: error: 'NumberTag' undeclared (first use in this function) 313 | return (int) (CHKTAG ((t), NumberTag)); | ^~~~~~~~~ ./H/TermExt.h: In function 'Yap_DoubleP_key': ./H/TermExt.h:653:37: error: subscripted value is neither array nor pointer nor vector 653 | return (pt0[1] == RepAppl (d1)[1]); | ^ ./H/YapTags.h:327:11: warning: implicit declaration of function 'AbsPair' [-Wimplicit-function-declaration] 327 | return (AbsPair (p)); | ^~~~~~~ ./H/TermExt.h:701:27: error: 'MAX_ABS_INT' undeclared (first use in this function) 701 | return MkIntTerm(val & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/TermExt.h:662:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 662 | CELL *pt1 = RepAppl (d1); | ^~~~~~~ ./H/TermExt.h: In function 'Yap_Double_key': ./H/TermExt.h:707:36: warning: passing argument 1 of 'Yap_DoubleP_key' makes pointer from integer without a cast [-Wint-conversion] 707 | return Yap_DoubleP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./H/YapTags.h: In function 'MkPairTerm__': ./H/YapTags.h:327:11: warning: implicit declaration of function 'AbsPair' [-Wimplicit-function-declaration] 327 | return (AbsPair (p)); | ^~~~~~~ ./H/TermExt.h:694:28: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 694 | CELL Yap_DoubleP_key(CELL *pt) | ~~~~~~^~ In file included from ./H/Yap.h:548, from C/arrays.c:18: ./H/YapTags.h: At top level: ./H/YapTags.h:367:1: warning: parameter names (without types) in function declaration 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from C/adtdefs.c:28: ./H/TermExt.h: In function 'MkFloatTerm': ./H/YapTags.h:370:16: error: unknown type name 'Int'; did you mean 'int'? 370 | MkIntegerTerm (Int n) | ^~~ | int ./H/TermExt.h:194:8: warning: implicit declaration of function 'AbsAppl' [-Wimplicit-function-declaration] 194 | 3, AbsAppl (H - 3))); | ^~~~~~~ ./H/YapTags.h:385:27: error: unknown type name 'Int' 385 | INLINE_ONLY inline EXTERN Int IntegerOfTerm (Term); | ^~~ ./H/YapTags.h:387:27: error: unknown type name 'Int' 387 | INLINE_ONLY inline EXTERN Int | ^~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h: In function 'MkFloatTerm': ./H/YapTags.h: In function 'IntegerOfTerm': ./H/TermExt.h: In function 'Yap_IntP_key': ./H/TermExt.h:194:8: warning: implicit declaration of function 'AbsAppl' [-Wimplicit-function-declaration] 194 | 3, AbsAppl (H - 3))); | ^~~~~~~ ./H/YapTags.h:391:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~ | int ./H/TermExt.h: In function 'IsFloatTerm': ./H/TermExt.h:684:29: error: 'MAX_ABS_INT' undeclared (first use in this function) 684 | return MkIntTerm(pt[0] & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/TermExt.h:298:17: warning: implicit declaration of function 'IsApplTerm'; did you mean 'IsAtomTerm'? [-Wimplicit-function-declaration] 298 | return (int) (IsApplTerm (t) && FunctorOfTerm (t) == FunctorDouble); | ^~~~~~~~~~ | IsAtomTerm ./H/TermExt.h: In function 'Yap_Int_key': ./H/TermExt.h: At top level: ./H/TermExt.h:306:1: warning: parameter names (without types) in function declaration 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~ ./H/TermExt.h:690:33: warning: passing argument 1 of 'Yap_IntP_key' makes pointer from integer without a cast [-Wint-conversion] 690 | return Yap_IntP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./H/TermExt.h:309:16: error: unknown type name 'Int'; did you mean 'int'? 309 | MkLongIntTerm (Int i) | ^~~ | int ./H/YapTags.h:391:33: warning: implicit declaration of function 'IntOfTerm'; did you mean 'PtrOfTerm'? [-Wimplicit-function-declaration] 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~~~~~~~ | PtrOfTerm ./H/TermExt.h:320:27: error: unknown type name 'Int' 320 | INLINE_ONLY inline EXTERN Int LongIntOfTerm (Term t); | ^~~ ./H/TermExt.h: In function 'IsFloatTerm': ./H/TermExt.h:674:25: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 674 | CELL Yap_IntP_key(CELL *pt) | ~~~~~~^~ ./H/TermExt.h:322:27: error: unknown type name 'Int' 322 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:298:17: warning: implicit declaration of function 'IsApplTerm'; did you mean 'IsAtomTerm'? [-Wimplicit-function-declaration] 298 | return (int) (IsApplTerm (t) && FunctorOfTerm (t) == FunctorDouble); | ^~~~~~~~~~ | IsAtomTerm In file included from C/arrays.c:18: ./H/Yap.h: At top level: ./H/TermExt.h: At top level: ./H/TermExt.h: In function 'LongIntOfTerm': ./H/TermExt.h:306:1: warning: parameter names (without types) in function declaration 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~ ./H/TermExt.h:325:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 325 | return (Int) (RepAppl (t)[1]); | ^~~ | int ./H/TermExt.h:325:28: error: subscripted value is neither array nor pointer nor vector 325 | return (Int) (RepAppl (t)[1]); | ^ ./H/TermExt.h: At top level: ./H/TermExt.h:309:16: error: unknown type name 'Int'; did you mean 'int'? 309 | MkLongIntTerm (Int i) | ^~~ | int ./H/TermExt.h:348:9: error: unknown type name 'UInt' 348 | typedef UInt mp_limb_t; | ^~~~ ./H/TermExt.h:320:27: error: unknown type name 'Int' 320 | INLINE_ONLY inline EXTERN Int LongIntOfTerm (Term t); | ^~~ ./H/TermExt.h:351:3: error: unknown type name 'Int' 351 | Int _mp_size, _mp_alloc; | ^~~ ./H/TermExt.h:322:27: error: unknown type name 'Int' 322 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/Yap.h:774:3: error: unknown type name 'UInt' 774 | UInt timestmp; | ^~~~ ./H/TermExt.h: In function 'LongIntOfTerm': ./H/TermExt.h:428:3: error: unknown type name 'UInt' 428 | UInt len; | ^~~~ ./H/Yap.h:787:3: error: unknown type name 'UInt' 787 | UInt sz, msz; | ^~~~ ./H/TermExt.h:325:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 325 | return (Int) (RepAppl (t)[1]); | ^~~ | int ./H/TermExt.h: In function 'IsBlobStringTerm': ./H/TermExt.h:325:28: error: subscripted value is neither array nor pointer nor vector 325 | return (Int) (RepAppl (t)[1]); | ^ ./H/TermExt.h:438:14: error: subscripted value is neither array nor pointer nor vector 438 | (RepAppl(t)[1] & BLOB_STRING) == BLOB_STRING); | ^ ./H/TermExt.h: At top level: ./H/TermExt.h: In function 'IsWideBlobStringTerm': ./H/TermExt.h:348:9: error: unknown type name 'UInt' 348 | typedef UInt mp_limb_t; | ^~~~ ./H/TermExt.h:448:13: error: subscripted value is neither array nor pointer nor vector 448 | RepAppl(t)[1] == BLOB_WIDE_STRING); | ^ ./H/TermExt.h:351:3: error: unknown type name 'Int' 351 | Int _mp_size, _mp_alloc; | ^~~ ./H/TermExt.h: In function 'IsBlobFunctor': ./H/TermExt.h: In function 'IsExternalBlobTerm': ./H/TermExt.h: In function 'Yap_DoubleP_key': ./H/TermExt.h:470:13: error: subscripted value is neither array nor pointer nor vector 470 | RepAppl(t)[1] == tag); | ^ ./H/TermExt.h:522:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 522 | return (Int) ((f <= FunctorDouble && f >= FunctorDBRef)); | ^~~ | int ./H/TermExt.h: At top level: ./H/TermExt.h:428:3: error: unknown type name 'UInt' 428 | UInt len; | ^~~~ ./H/TermExt.h: At top level: ./H/TermExt.h:701:27: error: 'MAX_ABS_INT' undeclared (first use in this function) 701 | return MkIntTerm(val & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/TermExt.h:527:27: error: unknown type name 'Int' 527 | INLINE_ONLY inline EXTERN Int IsPrimitiveTerm (Term); | ^~~ ./H/TermExt.h:496:27: error: unknown type name 'Int' 496 | INLINE_ONLY inline EXTERN Int IsAtomicTerm (Term); | ^~~ ./H/TermExt.h: In function 'Yap_Double_key': In file included from ./H/Yap.h:799, from C/arrays.c:18: ./OPTYap/opt.structs.h:61:3: error: unknown type name 'UInt' 61 | UInt timestmp; | ^~~~ ./H/TermExt.h:498:27: error: unknown type name 'Int' 498 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:529:27: error: unknown type name 'Int' 529 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:707:36: warning: passing argument 1 of 'Yap_DoubleP_key' makes pointer from integer without a cast [-Wint-conversion] 707 | return Yap_DoubleP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./H/TermExt.h: In function 'IsAtomicTerm': ./H/TermExt.h: In function 'IsPrimitiveTerm': ./H/TermExt.h:501:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~ | int ./H/TermExt.h:694:28: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 694 | CELL Yap_DoubleP_key(CELL *pt) | ~~~~~~^~ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/agc.c:21: ./H/YapTags.h: At top level: ./H/TermExt.h:532:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 532 | return (Int) ((IsAtomOrIntTerm (t) | ^~~ | int ./OPTYap/opt.structs.h:471:3: error: unknown type name 'UInt' 471 | UInt ma_timestamp; | ^~~~ ./H/YapTags.h:367:1: warning: parameter names (without types) in function declaration 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~ ./H/TermExt.h: At top level: ./H/TermExt.h:539:27: error: unknown type name 'Int' 539 | INLINE_ONLY inline EXTERN Int IsAttachFunc (Functor); | ^~~ ./H/TermExt.h:541:27: error: unknown type name 'Int' 541 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/YapTags.h:370:16: error: unknown type name 'Int'; did you mean 'int'? 370 | MkIntegerTerm (Int n) | ^~~ | int ./H/YapTags.h:385:27: error: unknown type name 'Int' 385 | INLINE_ONLY inline EXTERN Int IntegerOfTerm (Term); | ^~~ ./H/TermExt.h: In function 'IsAttachFunc': ./H/TermExt.h:501:17: warning: implicit declaration of function 'IsAtomOrIntTerm'; did you mean 'IsAtomicTerm'? [-Wimplicit-function-declaration] 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~~~~~~~~~~~~~ | IsAtomicTerm ./H/YapTags.h:387:27: error: unknown type name 'Int' 387 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: At top level: ./H/TermExt.h:544:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 544 | return (Int) (FALSE); | ^~~ | int ./H/TermExt.h:507:27: error: unknown type name 'Int' 507 | INLINE_ONLY inline EXTERN Int IsExtensionFunctor (Functor); | ^~~ ./H/TermExt.h: At top level: ./H/TermExt.h:509:27: error: unknown type name 'Int' 509 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/YapTags.h: In function 'IntegerOfTerm': ./H/TermExt.h:550:27: error: unknown type name 'Int' 550 | INLINE_ONLY inline EXTERN Int IsAttachedTerm (Term); | ^~~ ./H/YapTags.h:391:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~ | int ./H/TermExt.h:552:27: error: unknown type name 'Int' 552 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'IsBlobStringTerm': ./H/TermExt.h: In function 'IsExtensionFunctor': ./H/TermExt.h:438:14: error: subscripted value is neither array nor pointer nor vector 438 | (RepAppl(t)[1] & BLOB_STRING) == BLOB_STRING); | ^ ./H/TermExt.h: In function 'IsAttachedTerm': ./H/TermExt.h:512:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 512 | return (Int) (f <= FunctorDouble); | ^~~ | int ./H/TermExt.h: In function 'IsWideBlobStringTerm': ./H/TermExt.h: At top level: ./H/TermExt.h:448:13: error: subscripted value is neither array nor pointer nor vector 448 | RepAppl(t)[1] == BLOB_WIDE_STRING); | ^ ./H/TermExt.h:555:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/TermExt.h:517:27: error: unknown type name 'Int' 517 | INLINE_ONLY inline EXTERN Int IsBlobFunctor (Functor); | ^~~ ./H/YapTags.h:391:33: warning: implicit declaration of function 'IntOfTerm'; did you mean 'PtrOfTerm'? [-Wimplicit-function-declaration] 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~~~~~~~ | PtrOfTerm ./H/TermExt.h: In function 'IsExternalBlobTerm': ./H/TermExt.h:519:27: error: unknown type name 'Int' 519 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:470:13: error: subscripted value is neither array nor pointer nor vector 470 | RepAppl(t)[1] == tag); | ^ In file included from ./H/absmi.h:148, from C/agc.c:21: ./H/Yap.h: At top level: ./H/TermExt.h: In function 'IsBlobFunctor': ./H/TermExt.h: At top level: ./H/TermExt.h:522:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 522 | return (Int) ((f <= FunctorDouble && f >= FunctorDBRef)); | ^~~ | int ./H/TermExt.h:555:18: warning: implicit declaration of function 'IsVarTerm'; did you mean 'MkVarTerm'? [-Wimplicit-function-declaration] 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~~~~~~~ | MkVarTerm ./H/TermExt.h: At top level: ./H/TermExt.h:496:27: error: unknown type name 'Int' 496 | INLINE_ONLY inline EXTERN Int IsAtomicTerm (Term); | ^~~ ./H/TermExt.h: At top level: ./H/TermExt.h:527:27: error: unknown type name 'Int' 527 | INLINE_ONLY inline EXTERN Int IsPrimitiveTerm (Term); | ^~~ ./H/TermExt.h:498:27: error: unknown type name 'Int' 498 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:558:27: error: unknown type name 'Int' 558 | INLINE_ONLY inline EXTERN Int GlobalIsAttachedTerm (Term); | ^~~ ./H/TermExt.h:529:27: error: unknown type name 'Int' 529 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'IsAtomicTerm': ./H/TermExt.h:560:27: error: unknown type name 'Int' 560 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/Yap.h:774:3: error: unknown type name 'UInt' 774 | UInt timestmp; | ^~~~ ./H/TermExt.h: In function 'IsPrimitiveTerm': ./H/TermExt.h:501:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~ | int ./H/Yap.h:787:3: error: unknown type name 'UInt' 787 | UInt sz, msz; | ^~~~ ./H/TermExt.h:532:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 532 | return (Int) ((IsAtomOrIntTerm (t) | ^~~ | int ./H/TermExt.h: In function 'GlobalIsAttachedTerm': ./H/TermExt.h: At top level: ./H/TermExt.h:539:27: error: unknown type name 'Int' 539 | INLINE_ONLY inline EXTERN Int IsAttachFunc (Functor); | ^~~ ./H/TermExt.h:563:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 563 | return (Int) ((IsVarTerm (t) && GlobalIsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/TermExt.h:541:27: error: unknown type name 'Int' 541 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: At top level: ./H/TermExt.h: In function 'IsAttachFunc': ./H/TermExt.h:566:27: error: unknown type name 'Int' 566 | INLINE_ONLY inline EXTERN Int SafeIsAttachedTerm (Term); | ^~~ ./H/TermExt.h:544:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 544 | return (Int) (FALSE); | ^~~ | int ./H/TermExt.h:501:17: warning: implicit declaration of function 'IsAtomOrIntTerm'; did you mean 'IsAtomicTerm'? [-Wimplicit-function-declaration] 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~~~~~~~~~~~~~ | IsAtomicTerm ./H/TermExt.h: At top level: ./H/TermExt.h: At top level: ./H/TermExt.h:568:27: error: unknown type name 'Int' 568 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:550:27: error: unknown type name 'Int' 550 | INLINE_ONLY inline EXTERN Int IsAttachedTerm (Term); | ^~~ ./H/TermExt.h:507:27: error: unknown type name 'Int' 507 | INLINE_ONLY inline EXTERN Int IsExtensionFunctor (Functor); | ^~~ ./H/TermExt.h:552:27: error: unknown type name 'Int' 552 | INLINE_ONLY inline EXTERN Int | ^~~ In file included from ./H/Yap.h:799, from ./H/absmi.h:148, from C/agc.c:21: ./OPTYap/opt.structs.h:61:3: error: unknown type name 'UInt' 61 | UInt timestmp; | ^~~~ ./H/TermExt.h:509:27: error: unknown type name 'Int' 509 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'SafeIsAttachedTerm': ./H/TermExt.h: In function 'IsAttachedTerm': ./H/TermExt.h: In function 'IsExtensionFunctor': ./H/TermExt.h:571:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 571 | return (Int) (IsVarTerm (t) && IsAttVar(VarOfTerm(t))); | ^~~ | int ./H/TermExt.h:555:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/TermExt.h:512:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 512 | return (Int) (f <= FunctorDouble); | ^~~ | int ./H/TermExt.h: At top level: ./H/TermExt.h: At top level: ./OPTYap/opt.structs.h:471:3: error: unknown type name 'UInt' 471 | UInt ma_timestamp; | ^~~~ ./H/TermExt.h:614:27: error: unknown type name 'Int' 614 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t); | ^~~ ./H/TermExt.h:517:27: error: unknown type name 'Int' 517 | INLINE_ONLY inline EXTERN Int IsBlobFunctor (Functor); | ^~~ ./H/TermExt.h:555:18: warning: implicit declaration of function 'IsVarTerm'; did you mean 'MkVarTerm'? [-Wimplicit-function-declaration] 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~~~~~~~ | MkVarTerm ./H/TermExt.h:519:27: error: unknown type name 'Int' 519 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: At top level: ./H/TermExt.h:616:27: error: unknown type name 'Int' 616 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t) | ^~~ ./H/TermExt.h:558:27: error: unknown type name 'Int' 558 | INLINE_ONLY inline EXTERN Int GlobalIsAttachedTerm (Term); | ^~~ ./H/TermExt.h: In function 'Yap_BlobTag': ./H/TermExt.h:560:27: error: unknown type name 'Int' 560 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'IsBlobFunctor': ./H/TermExt.h:618:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 618 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/TermExt.h:522:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 522 | return (Int) ((f <= FunctorDouble && f >= FunctorDBRef)); | ^~~ | int ./H/TermExt.h: In function 'GlobalIsAttachedTerm': ./H/TermExt.h: In function 'Yap_BlobInfo': ./H/TermExt.h:563:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 563 | return (Int) ((IsVarTerm (t) && GlobalIsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/TermExt.h: At top level: ./H/TermExt.h:629:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 629 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/TermExt.h: At top level: ./H/TermExt.h:527:27: error: unknown type name 'Int' 527 | INLINE_ONLY inline EXTERN Int IsPrimitiveTerm (Term); | ^~~ ./H/TermExt.h:566:27: error: unknown type name 'Int' 566 | INLINE_ONLY inline EXTERN Int SafeIsAttachedTerm (Term); | ^~~ ./H/TermExt.h:529:27: error: unknown type name 'Int' 529 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'unify_extension': ./H/TermExt.h:568:27: error: unknown type name 'Int' 568 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'IsPrimitiveTerm': ./H/TermExt.h:653:37: error: subscripted value is neither array nor pointer nor vector 653 | return (pt0[1] == RepAppl (d1)[1]); | ^ ./H/TermExt.h:532:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 532 | return (Int) ((IsAtomOrIntTerm (t) | ^~~ | int ./H/TermExt.h: In function 'SafeIsAttachedTerm': ./H/TermExt.h:662:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 662 | CELL *pt1 = RepAppl (d1); | ^~~~~~~ ./H/TermExt.h: At top level: ./H/TermExt.h:571:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 571 | return (Int) (IsVarTerm (t) && IsAttVar(VarOfTerm(t))); | ^~~ | int ./H/TermExt.h:539:27: error: unknown type name 'Int' 539 | INLINE_ONLY inline EXTERN Int IsAttachFunc (Functor); | ^~~ ./H/TermExt.h: At top level: ./H/TermExt.h:541:27: error: unknown type name 'Int' 541 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:614:27: error: unknown type name 'Int' 614 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t); | ^~~ ./H/TermExt.h: In function 'IsAttachFunc': ./H/TermExt.h:616:27: error: unknown type name 'Int' 616 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t) | ^~~ ./H/TermExt.h: In function 'Yap_BlobTag': ./H/TermExt.h:544:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 544 | return (Int) (FALSE); | ^~~ | int ./H/TermExt.h:618:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 618 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/TermExt.h: At top level: ./H/TermExt.h: In function 'Yap_BlobInfo': ./H/TermExt.h:550:27: error: unknown type name 'Int' 550 | INLINE_ONLY inline EXTERN Int IsAttachedTerm (Term); | ^~~ ./H/TermExt.h: In function 'Yap_IntP_key': ./H/TermExt.h:629:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 629 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/TermExt.h:552:27: error: unknown type name 'Int' 552 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:684:29: error: 'MAX_ABS_INT' undeclared (first use in this function) 684 | return MkIntTerm(pt[0] & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/TermExt.h: In function 'unify_extension': ./H/TermExt.h: In function 'IsAttachedTerm': ./H/TermExt.h: In function 'Yap_Int_key': ./H/TermExt.h:653:37: error: subscripted value is neither array nor pointer nor vector 653 | return (pt0[1] == RepAppl (d1)[1]); | ^ ./H/TermExt.h:555:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/TermExt.h:690:33: warning: passing argument 1 of 'Yap_IntP_key' makes pointer from integer without a cast [-Wint-conversion] 690 | return Yap_IntP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./H/TermExt.h:662:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 662 | CELL *pt1 = RepAppl (d1); | ^~~~~~~ ./H/TermExt.h:674:25: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 674 | CELL Yap_IntP_key(CELL *pt) | ~~~~~~^~ ./H/TermExt.h:555:18: warning: implicit declaration of function 'IsVarTerm'; did you mean 'MkVarTerm'? [-Wimplicit-function-declaration] 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~~~~~~~ | MkVarTerm ./H/TermExt.h: At top level: ./H/TermExt.h:558:27: error: unknown type name 'Int' 558 | INLINE_ONLY inline EXTERN Int GlobalIsAttachedTerm (Term); | ^~~ ./H/TermExt.h: In function 'Yap_IntP_key': ./H/TermExt.h:560:27: error: unknown type name 'Int' 560 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:684:29: error: 'MAX_ABS_INT' undeclared (first use in this function) 684 | return MkIntTerm(pt[0] & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/TermExt.h: In function 'Yap_DoubleP_key': ./H/TermExt.h: In function 'GlobalIsAttachedTerm': In file included from ./H/Yap.h:831, from C/analyst.c:22: ./H/hglobals.h:33:3: error: unknown type name 'UInt' 33 | UInt SizeOfOverflow_; | ^~~~ ./H/TermExt.h: In function 'Yap_Int_key': ./H/hglobals.h:35:3: error: unknown type name 'UInt' 35 | UInt AGcThreshold_; | ^~~~ ./H/TermExt.h:701:27: error: 'MAX_ABS_INT' undeclared (first use in this function) 701 | return MkIntTerm(val & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/TermExt.h:563:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 563 | return (Int) ((IsVarTerm (t) && GlobalIsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/TermExt.h:690:33: warning: passing argument 1 of 'Yap_IntP_key' makes pointer from integer without a cast [-Wint-conversion] 690 | return Yap_IntP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./H/hglobals.h:76:3: error: unknown type name 'Int' 76 | Int tot_agc_time_; | ^~~ ./H/TermExt.h: In function 'Yap_Double_key': ./H/TermExt.h: At top level: ./H/hglobals.h:78:3: error: unknown type name 'Int' 78 | Int tot_agc_recovered_; | ^~~ ./H/TermExt.h:674:25: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 674 | CELL Yap_IntP_key(CELL *pt) | ~~~~~~^~ ./H/TermExt.h:707:36: warning: passing argument 1 of 'Yap_DoubleP_key' makes pointer from integer without a cast [-Wint-conversion] 707 | return Yap_DoubleP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./H/TermExt.h:566:27: error: unknown type name 'Int' 566 | INLINE_ONLY inline EXTERN Int SafeIsAttachedTerm (Term); | ^~~ ./H/TermExt.h:568:27: error: unknown type name 'Int' 568 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:694:28: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 694 | CELL Yap_DoubleP_key(CELL *pt) | ~~~~~~^~ ./H/TermExt.h: In function 'SafeIsAttachedTerm': In file included from ./H/Yap.h:548, from C/alloc.c:22: ./H/YapTags.h: At top level: ./H/YapTags.h:367:1: warning: parameter names (without types) in function declaration 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~ ./H/TermExt.h:571:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 571 | return (Int) (IsVarTerm (t) && IsAttVar(VarOfTerm(t))); | ^~~ | int In file included from ./H/Yap.h:833, from C/analyst.c:22: ./H/hlocals.h:22:3: error: unknown type name 'Int' 22 | Int ClDiff_; | ^~~ ./H/TermExt.h: At top level: ./H/hlocals.h:23:3: error: unknown type name 'Int' 23 | Int GDiff_; | ^~~ ./H/hlocals.h:24:3: error: unknown type name 'Int' 24 | Int HDiff_; | ^~~ ./H/hlocals.h:25:3: error: unknown type name 'Int' 25 | Int GDiff0_; | ^~~ ./H/TermExt.h:614:27: error: unknown type name 'Int' 614 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t); | ^~~ ./H/YapTags.h:370:16: error: unknown type name 'Int'; did you mean 'int'? 370 | MkIntegerTerm (Int n) | ^~~ | int ./H/hlocals.h:27:3: error: unknown type name 'Int' 27 | Int LDiff_; | ^~~ ./H/TermExt.h:616:27: error: unknown type name 'Int' 616 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t) | ^~~ ./H/hlocals.h:28:3: error: unknown type name 'Int' 28 | Int TrDiff_; | ^~~ ./H/hlocals.h:29:3: error: unknown type name 'Int' 29 | Int XDiff_; | ^~~ ./H/TermExt.h: In function 'Yap_BlobTag': ./H/hlocals.h:30:3: error: unknown type name 'Int' 30 | Int DelayDiff_; | ^~~ ./H/YapTags.h:385:27: error: unknown type name 'Int' 385 | INLINE_ONLY inline EXTERN Int IntegerOfTerm (Term); | ^~~ ./H/hlocals.h:31:3: error: unknown type name 'Int' 31 | Int BaseDiff_; | ^~~ ./H/TermExt.h: In function 'Yap_DoubleP_key': ./H/hlocals.h:43:3: error: unknown type name 'UInt' 43 | UInt ConsultCapacity_; | ^~~~ ./H/YapTags.h:387:27: error: unknown type name 'Int' 387 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h:618:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 618 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/TermExt.h:701:27: error: 'MAX_ABS_INT' undeclared (first use in this function) 701 | return MkIntTerm(val & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/hlocals.h:50:3: error: unknown type name 'UInt' 50 | UInt GlobalArenaOverflows_; | ^~~~ ./H/YapTags.h: In function 'IntegerOfTerm': ./H/TermExt.h: In function 'Yap_Double_key': ./H/TermExt.h: In function 'Yap_BlobInfo': ./H/hlocals.h:51:3: error: unknown type name 'Int' 51 | Int ArenaOverflows_; | ^~~ ./H/YapTags.h:391:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~ | int ./H/TermExt.h:707:36: warning: passing argument 1 of 'Yap_DoubleP_key' makes pointer from integer without a cast [-Wint-conversion] 707 | return Yap_DoubleP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./H/TermExt.h:629:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 629 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/hlocals.h:52:3: error: unknown type name 'Int' 52 | Int DepthArenas_; | ^~~ ./H/hlocals.h:59:3: error: unknown type name 'UInt' 59 | UInt ActiveSignals_; | ^~~~ ./H/TermExt.h:694:28: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 694 | CELL Yap_DoubleP_key(CELL *pt) | ~~~~~~^~ ./H/hlocals.h:60:3: error: unknown type name 'UInt' 60 | UInt IPredArity_; | ^~~~ ./H/hlocals.h:64:3: error: unknown type name 'Int' 64 | Int StartLine_; | ^~~ ./H/TermExt.h: In function 'unify_extension': ./H/hlocals.h:73:3: error: unknown type name 'UInt' 73 | UInt GcCurrentPhase_; | ^~~~ In file included from ./H/Yap.h:548, from C/adtdefs.c:28: ./H/YapTags.h: At top level: ./H/hlocals.h:74:3: error: unknown type name 'UInt' 74 | UInt GcCalls_; | ^~~~ ./H/hlocals.h:75:3: error: unknown type name 'Int' 75 | Int TotGcTime_; | ^~~ ./H/YapTags.h:367:1: warning: parameter names (without types) in function declaration 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~ ./H/TermExt.h:653:37: error: subscripted value is neither array nor pointer nor vector 653 | return (pt0[1] == RepAppl (d1)[1]); | ^ ./H/YapTags.h:391:33: warning: implicit declaration of function 'IntOfTerm'; did you mean 'PtrOfTerm'? [-Wimplicit-function-declaration] 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~~~~~~~ | PtrOfTerm ./H/hlocals.h:77:3: error: unknown type name 'Int' 77 | Int LastGcTime_; | ^~~ ./H/hlocals.h:78:3: error: unknown type name 'Int' 78 | Int LastSSTime_; | ^~~ ./H/YapTags.h:370:16: error: unknown type name 'Int'; did you mean 'int'? 370 | MkIntegerTerm (Int n) | ^~~ | int ./H/hlocals.h:81:3: error: unknown type name 'Int' 81 | Int total_marked_; | ^~~ ./H/TermExt.h:662:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 662 | CELL *pt1 = RepAppl (d1); | ^~~~~~~ ./H/hlocals.h:82:3: error: unknown type name 'Int' 82 | Int total_oldies_; | ^~~ ./H/YapTags.h:385:27: error: unknown type name 'Int' 385 | INLINE_ONLY inline EXTERN Int IntegerOfTerm (Term); | ^~~ ./H/hlocals.h:99:3: error: unknown type name 'UInt' 99 | UInt gc_timestamp_; | ^~~~ In file included from C/alloc.c:22: ./H/Yap.h: At top level: ./H/YapTags.h:387:27: error: unknown type name 'Int' 387 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/hlocals.h:108:3: error: unknown type name 'UInt' 108 | UInt extra_gc_cells_size_; | ^~~~ ./H/hlocals.h:115:3: error: unknown type name 'UInt' 115 | UInt CMemFirstBlockSz_; | ^~~~ ./H/hlocals.h:119:3: error: unknown type name 'Int' 119 | Int* LabelFirstArray_; | ^~~ ./H/YapTags.h: In function 'IntegerOfTerm': ./H/hlocals.h:120:3: error: unknown type name 'UInt' 120 | UInt LabelFirstArraySz_; | ^~~~ ./H/YapTags.h:391:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~ | int ./H/hlocals.h:150:3: error: unknown type name 'UInt' 150 | UInt Error_Size_; | ^~~~ ./H/hlocals.h:167:3: error: unknown type name 'Int' 167 | Int PrologMode_; | ^~~ ./H/hlocals.h:181:3: error: unknown type name 'Int' 181 | Int total_heap_overflow_time_; | ^~~ ./H/hlocals.h:183:3: error: unknown type name 'Int' 183 | Int total_stack_overflow_time_; | ^~~ ./H/hlocals.h:185:3: error: unknown type name 'Int' 185 | Int total_delay_overflow_time_; | ^~~ ./H/hlocals.h:187:3: error: unknown type name 'Int' 187 | Int total_trail_overflow_time_; | ^~~ ./H/hlocals.h:189:3: error: unknown type name 'Int' 189 | Int total_atom_table_overflow_time_; | ^~~ ./H/YapTags.h:391:33: warning: implicit declaration of function 'IntOfTerm'; did you mean 'PtrOfTerm'? [-Wimplicit-function-declaration] 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~~~~~~~ | PtrOfTerm ./H/hlocals.h:200:3: error: unknown type name 'UInt' 200 | UInt ExportAtomHashTableSize_; | ^~~~ ./H/TermExt.h: In function 'Yap_IntP_key': ./H/Yap.h:774:3: error: unknown type name 'UInt' 774 | UInt timestmp; | ^~~~ In file included from C/adtdefs.c:28: ./H/Yap.h: At top level: ./H/hlocals.h:201:3: error: unknown type name 'UInt' 201 | UInt ExportAtomHashTableNum_; | ^~~~ ./H/TermExt.h:684:29: error: 'MAX_ABS_INT' undeclared (first use in this function) 684 | return MkIntTerm(pt[0] & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/hlocals.h:203:3: error: unknown type name 'UInt' 203 | UInt ExportFunctorHashTableSize_; | ^~~~ ./H/Yap.h:787:3: error: unknown type name 'UInt' 787 | UInt sz, msz; | ^~~~ ./H/hlocals.h:204:3: error: unknown type name 'UInt' 204 | UInt ExportFunctorHashTableNum_; | ^~~~ ./H/TermExt.h: In function 'Yap_Int_key': ./H/hlocals.h:206:3: error: unknown type name 'UInt' 206 | UInt ExportPredEntryHashTableSize_; | ^~~~ ./H/hlocals.h:207:3: error: unknown type name 'UInt' 207 | UInt ExportPredEntryHashTableNum_; | ^~~~ ./H/TermExt.h:690:33: warning: passing argument 1 of 'Yap_IntP_key' makes pointer from integer without a cast [-Wint-conversion] 690 | return Yap_IntP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./H/hlocals.h:209:3: error: unknown type name 'UInt' 209 | UInt ExportDBRefHashTableSize_; | ^~~~ ./H/hlocals.h:210:3: error: unknown type name 'UInt' 210 | UInt ExportDBRefHashTableNum_; | ^~~~ ./H/Yap.h:774:3: error: unknown type name 'UInt' 774 | UInt timestmp; | ^~~~ ./H/TermExt.h:674:25: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 674 | CELL Yap_IntP_key(CELL *pt) | ~~~~~~^~ ./H/hlocals.h:212:3: error: unknown type name 'UInt' 212 | UInt ImportAtomHashTableSize_; | ^~~~ ./H/Yap.h:787:3: error: unknown type name 'UInt' 787 | UInt sz, msz; | ^~~~ ./H/hlocals.h:213:3: error: unknown type name 'UInt' 213 | UInt ImportAtomHashTableNum_; | ^~~~ ./H/hlocals.h:215:3: error: unknown type name 'UInt' 215 | UInt ImportFunctorHashTableSize_; | ^~~~ ./H/hlocals.h:216:3: error: unknown type name 'UInt' 216 | UInt ImportFunctorHashTableNum_; | ^~~~ ./H/hlocals.h:218:3: error: unknown type name 'UInt' 218 | UInt ImportOPCODEHashTableSize_; | ^~~~ ./H/hlocals.h:220:3: error: unknown type name 'UInt' 220 | UInt ImportPredEntryHashTableSize_; | ^~~~ ./H/hlocals.h:221:3: error: unknown type name 'UInt' 221 | UInt ImportPredEntryHashTableNum_; | ^~~~ ./H/hlocals.h:223:3: error: unknown type name 'UInt' 223 | UInt ImportDBRefHashTableSize_; | ^~~~ ./H/hlocals.h:224:3: error: unknown type name 'UInt' 224 | UInt ImportDBRefHashTableNum_; | ^~~~ ./H/hlocals.h:227:3: error: unknown type name 'Int' 227 | Int ProfCalls_; | ^~~ ./H/hlocals.h:228:3: error: unknown type name 'Int' 228 | Int ProfGCs_; | ^~~ ./H/hlocals.h:229:3: error: unknown type name 'Int' 229 | Int ProfHGrows_; | ^~~ ./H/hlocals.h:230:3: error: unknown type name 'Int' 230 | Int ProfSGrows_; | ^~~ ./H/hlocals.h:231:3: error: unknown type name 'Int' 231 | Int ProfMallocs_; | ^~~ In file included from ./H/Yap.h:799, from C/adtdefs.c:28: ./OPTYap/opt.structs.h:61:3: error: unknown type name 'UInt' 61 | UInt timestmp; | ^~~~ ./H/TermExt.h: In function 'Yap_DoubleP_key': ./H/hlocals.h:232:3: error: unknown type name 'Int' 232 | Int ProfIndexing_; | ^~~ ./H/TermExt.h:701:27: error: 'MAX_ABS_INT' undeclared (first use in this function) 701 | return MkIntTerm(val & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/hlocals.h:233:3: error: unknown type name 'Int' 233 | Int ProfOn_; | ^~~ ./H/TermExt.h: In function 'Yap_Double_key': ./OPTYap/opt.structs.h:471:3: error: unknown type name 'UInt' 471 | UInt ma_timestamp; | ^~~~ ./H/hlocals.h:234:3: error: unknown type name 'Int' 234 | Int ProfOns_; | ^~~ ./H/TermExt.h:707:36: warning: passing argument 1 of 'Yap_DoubleP_key' makes pointer from integer without a cast [-Wint-conversion] 707 | return Yap_DoubleP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int In file included from ./H/Yap.h:799, from C/alloc.c:22: ./OPTYap/opt.structs.h:61:3: error: unknown type name 'UInt' 61 | UInt timestmp; | ^~~~ ./H/hlocals.h:245:3: error: unknown type name 'UInt' 245 | UInt ibnds_[256]; | ^~~~ ./H/TermExt.h:694:28: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 694 | CELL Yap_DoubleP_key(CELL *pt) | ~~~~~~^~ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/YapTags.h: At top level: ./H/YapTags.h:367:1: warning: parameter names (without types) in function declaration 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~ ./H/YapTags.h:370:16: error: unknown type name 'Int'; did you mean 'int'? 370 | MkIntegerTerm (Int n) | ^~~ | int ./OPTYap/opt.structs.h:471:3: error: unknown type name 'UInt' 471 | UInt ma_timestamp; | ^~~~ ./H/YapTags.h:385:27: error: unknown type name 'Int' 385 | INLINE_ONLY inline EXTERN Int IntegerOfTerm (Term); | ^~~ ./H/YapTags.h:387:27: error: unknown type name 'Int' 387 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/YapTags.h: In function 'IntegerOfTerm': In file included from ./H/Yap.h:841, from C/analyst.c:22: ./H/YapCompoundTerm.h:26:8: error: unknown type name 'Int' 26 | EXTERN Int Yap_unify(Term a,Term b); | ^~~ ./H/YapTags.h:391:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~ | int ./H/YapCompoundTerm.h: In function 'ArgOfTerm': ./H/YapCompoundTerm.h:63:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 63 | return (Term) (Derefa (RepAppl (t) + (i))); | ~~~~~~~~~~~~^~~~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/YapTags.h:391:33: warning: implicit declaration of function 'IntOfTerm'; did you mean 'PtrOfTerm'? [-Wimplicit-function-declaration] 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~~~~~~~ | PtrOfTerm In file included from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yap.h: At top level: ./H/YapCompoundTerm.h: In function 'HeadOfTerm': ./H/YapCompoundTerm.h:73:26: warning: implicit declaration of function 'RepPair' [-Wimplicit-function-declaration] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~ ./H/YapCompoundTerm.h:73:26: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~~~~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/Yap.h:774:3: error: unknown type name 'UInt' 774 | UInt timestmp; | ^~~~ ./H/YapCompoundTerm.h: In function 'TailOfTerm': ./H/YapCompoundTerm.h:83:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 83 | return (Term) (Derefa (RepPair (t) + 1)); | ~~~~~~~~~~~~^~~ | | | int ./H/Yap.h:787:3: error: unknown type name 'UInt' 787 | UInt sz, msz; | ^~~~ ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ In file included from ./H/Yap.h:799, from ./H/absmi.h:148, from C/absmi.c:497: ./OPTYap/opt.structs.h:61:3: error: unknown type name 'UInt' 61 | UInt timestmp; | ^~~~ ./OPTYap/opt.structs.h:471:3: error: unknown type name 'UInt' 471 | UInt ma_timestamp; | ^~~~ In file included from ./H/Yap.h:851, from C/analyst.c:22: ./H/amiops.h: In function 'AlignGlobalForDouble': ./H/amiops.h:113:8: warning: implicit declaration of function 'DOUBLE_ALIGNED' [-Wimplicit-function-declaration] 113 | if (!DOUBLE_ALIGNED(H)) { | ^~~~~~~~~~~~~~ In file included from ./H/Yap.h:851, from C/analyst.c:22: ./H/amiops.h: In function 'reset_trail': ./H/amiops.h:304:18: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 304 | CELL *pt = RepAppl(d1); | ^~~~~~~ ./H/amiops.h: At top level: ./H/amiops.h:358:1: error: unknown type name 'Int' 358 | Int Yap_unify(Term t0, Term t1); | ^~~ ./H/amiops.h:361:1: error: unknown type name 'Int' 361 | Int Yap_unify(Term t0, Term t1) | ^~~ ./H/amiops.h:374:8: error: unknown type name 'Int' 374 | EXTERN Int STD_PROTO(Yap_unify_constant,(Term,Term)); | ^~~ ./H/amiops.h:376:15: error: unknown type name 'Int' 376 | EXTERN inline Int | ^~~ ./H/amiops.h: In function 'Yap_unify_constant': ./H/amiops.h:398:26: error: subscripted value is neither array nor pointer nor vector 398 | CELL d0 = RepAppl(a)[1]; | ^ ./H/amiops.h:399:29: error: subscripted value is neither array nor pointer nor vector 399 | CELL d1 = RepAppl(cons)[1]; | ^ In file included from C/analyst.c:22: ./H/Yap.h: In function 'Yap_PopSlots': ./H/Yap.h:873:5: error: unknown type name 'Int'; did you mean 'int'? 873 | Int old_slots; | ^~~ | int ./H/Yap.h: In function 'Yap_CloseSlots': ./H/Yap.h:883:3: error: unknown type name 'Int'; did you mean 'int'? 883 | Int old_slots; | ^~~ | int ./H/Yap.h: At top level: ./H/Yap.h:893:15: error: unknown type name 'Int' 893 | static inline Int | ^~~ ./H/Yap.h:899:17: error: unknown type name 'Int'; did you mean 'int'? 899 | Yap_GetFromSlot(Int slot USES_REGS) | ^~~ | int ./H/Yap.h:905:24: error: unknown type name 'Int'; did you mean 'int'? 905 | Yap_GetDerefedFromSlot(Int slot USES_REGS) | ^~~ | int ./H/Yap.h:911:20: error: unknown type name 'Int'; did you mean 'int'? 911 | Yap_GetPtrFromSlot(Int slot USES_REGS) | ^~~ | int ./H/Yap.h:917:21: error: unknown type name 'Int'; did you mean 'int'? 917 | Yap_AddressFromSlot(Int slot USES_REGS) | ^~~ | int ./H/Yap.h:923:15: error: unknown type name 'Int'; did you mean 'int'? 923 | Yap_PutInSlot(Int slot, Term t USES_REGS) | ^~~ | int In file included from ./H/Yap.h:548, from C/analyst.c:22: ./H/YapTags.h:284:32: warning: 'MkIntTerm' used but never defined 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~ ./H/YapTags.h:298:32: warning: 'MkIntConstant' declared 'static' but never defined [-Wunused-function] 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from C/analyst.c:22: ./H/TermExt.h:306:32: warning: 'MkLongIntTerm' declared 'static' but never defined [-Wunused-function] 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~~~ In file included from ./H/Yap.h:548, from C/analyst.c:22: ./H/YapTags.h:367:32: warning: 'MkIntegerTerm' used but never defined 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~~~ In file included from ./H/Yap.h:831, from ./H/absmi.h:148, from C/agc.c:21: ./H/hglobals.h:33:3: error: unknown type name 'UInt' 33 | UInt SizeOfOverflow_; | ^~~~ ./H/hglobals.h:35:3: error: unknown type name 'UInt' 35 | UInt AGcThreshold_; | ^~~~ ./H/hglobals.h:76:3: error: unknown type name 'Int' 76 | Int tot_agc_time_; | ^~~ ./H/hglobals.h:78:3: error: unknown type name 'Int' 78 | Int tot_agc_recovered_; | ^~~ In file included from ./H/Yap.h:833, from ./H/absmi.h:148, from C/agc.c:21: ./H/hlocals.h:22:3: error: unknown type name 'Int' 22 | Int ClDiff_; | ^~~ ./H/hlocals.h:23:3: error: unknown type name 'Int' 23 | Int GDiff_; | ^~~ ./H/hlocals.h:24:3: error: unknown type name 'Int' 24 | Int HDiff_; | ^~~ ./H/hlocals.h:25:3: error: unknown type name 'Int' 25 | Int GDiff0_; | ^~~ ./H/hlocals.h:27:3: error: unknown type name 'Int' 27 | Int LDiff_; | ^~~ ./H/hlocals.h:28:3: error: unknown type name 'Int' 28 | Int TrDiff_; | ^~~ ./H/hlocals.h:29:3: error: unknown type name 'Int' 29 | Int XDiff_; | ^~~ ./H/hlocals.h:30:3: error: unknown type name 'Int' 30 | Int DelayDiff_; | ^~~ ./H/hlocals.h:31:3: error: unknown type name 'Int' 31 | Int BaseDiff_; | ^~~ ./H/hlocals.h:43:3: error: unknown type name 'UInt' 43 | UInt ConsultCapacity_; | ^~~~ ./H/hlocals.h:50:3: error: unknown type name 'UInt' 50 | UInt GlobalArenaOverflows_; | ^~~~ ./H/hlocals.h:51:3: error: unknown type name 'Int' 51 | Int ArenaOverflows_; | ^~~ ./H/hlocals.h:52:3: error: unknown type name 'Int' 52 | Int DepthArenas_; | ^~~ ./H/hlocals.h:59:3: error: unknown type name 'UInt' 59 | UInt ActiveSignals_; | ^~~~ ./H/hlocals.h:60:3: error: unknown type name 'UInt' 60 | UInt IPredArity_; | ^~~~ ./H/hlocals.h:64:3: error: unknown type name 'Int' 64 | Int StartLine_; | ^~~ ./H/hlocals.h:73:3: error: unknown type name 'UInt' 73 | UInt GcCurrentPhase_; | ^~~~ ./H/hlocals.h:74:3: error: unknown type name 'UInt' 74 | UInt GcCalls_; | ^~~~ ./H/hlocals.h:75:3: error: unknown type name 'Int' 75 | Int TotGcTime_; | ^~~ ./H/hlocals.h:77:3: error: unknown type name 'Int' 77 | Int LastGcTime_; | ^~~ ./H/hlocals.h:78:3: error: unknown type name 'Int' 78 | Int LastSSTime_; | ^~~ In file included from ./H/Yap.h:831, from C/adtdefs.c:28: ./H/hglobals.h:33:3: error: unknown type name 'UInt' 33 | UInt SizeOfOverflow_; | ^~~~ ./H/hlocals.h:81:3: error: unknown type name 'Int' 81 | Int total_marked_; | ^~~ ./H/hglobals.h:35:3: error: unknown type name 'UInt' 35 | UInt AGcThreshold_; | ^~~~ ./H/hlocals.h:82:3: error: unknown type name 'Int' 82 | Int total_oldies_; | ^~~ ./H/hglobals.h:76:3: error: unknown type name 'Int' 76 | Int tot_agc_time_; | ^~~ ./H/hglobals.h:78:3: error: unknown type name 'Int' 78 | Int tot_agc_recovered_; | ^~~ ./H/hlocals.h:99:3: error: unknown type name 'UInt' 99 | UInt gc_timestamp_; | ^~~~ ./H/hlocals.h:108:3: error: unknown type name 'UInt' 108 | UInt extra_gc_cells_size_; | ^~~~ ./H/hlocals.h:115:3: error: unknown type name 'UInt' 115 | UInt CMemFirstBlockSz_; | ^~~~ ./H/hlocals.h:119:3: error: unknown type name 'Int' 119 | Int* LabelFirstArray_; | ^~~ ./H/hlocals.h:120:3: error: unknown type name 'UInt' 120 | UInt LabelFirstArraySz_; | ^~~~ In file included from ./H/Yap.h:833, from C/adtdefs.c:28: ./H/hlocals.h:22:3: error: unknown type name 'Int' 22 | Int ClDiff_; | ^~~ ./H/hlocals.h:23:3: error: unknown type name 'Int' 23 | Int GDiff_; | ^~~ ./H/hlocals.h:24:3: error: unknown type name 'Int' 24 | Int HDiff_; | ^~~ ./H/hlocals.h:150:3: error: unknown type name 'UInt' 150 | UInt Error_Size_; | ^~~~ ./H/hlocals.h:25:3: error: unknown type name 'Int' 25 | Int GDiff0_; | ^~~ ./H/hlocals.h:27:3: error: unknown type name 'Int' 27 | Int LDiff_; | ^~~ ./H/hlocals.h:28:3: error: unknown type name 'Int' 28 | Int TrDiff_; | ^~~ ./H/hlocals.h:167:3: error: unknown type name 'Int' 167 | Int PrologMode_; | ^~~ ./H/hlocals.h:29:3: error: unknown type name 'Int' 29 | Int XDiff_; | ^~~ ./H/hlocals.h:181:3: error: unknown type name 'Int' 181 | Int total_heap_overflow_time_; | ^~~ ./H/hlocals.h:30:3: error: unknown type name 'Int' 30 | Int DelayDiff_; | ^~~ ./H/hlocals.h:183:3: error: unknown type name 'Int' 183 | Int total_stack_overflow_time_; | ^~~ ./H/hlocals.h:31:3: error: unknown type name 'Int' 31 | Int BaseDiff_; | ^~~ ./H/hlocals.h:185:3: error: unknown type name 'Int' 185 | Int total_delay_overflow_time_; | ^~~ ./H/hlocals.h:43:3: error: unknown type name 'UInt' 43 | UInt ConsultCapacity_; | ^~~~ ./H/hlocals.h:50:3: error: unknown type name 'UInt' 50 | UInt GlobalArenaOverflows_; | ^~~~ ./H/hlocals.h:187:3: error: unknown type name 'Int' 187 | Int total_trail_overflow_time_; | ^~~ ./H/hlocals.h:51:3: error: unknown type name 'Int' 51 | Int ArenaOverflows_; | ^~~ ./H/hlocals.h:52:3: error: unknown type name 'Int' 52 | Int DepthArenas_; | ^~~ ./H/hlocals.h:189:3: error: unknown type name 'Int' 189 | Int total_atom_table_overflow_time_; | ^~~ ./H/hlocals.h:59:3: error: unknown type name 'UInt' 59 | UInt ActiveSignals_; | ^~~~ ./H/hlocals.h:200:3: error: unknown type name 'UInt' 200 | UInt ExportAtomHashTableSize_; | ^~~~ ./H/hlocals.h:60:3: error: unknown type name 'UInt' 60 | UInt IPredArity_; | ^~~~ ./H/hlocals.h:64:3: error: unknown type name 'Int' 64 | Int StartLine_; | ^~~ ./H/hlocals.h:201:3: error: unknown type name 'UInt' 201 | UInt ExportAtomHashTableNum_; | ^~~~ ./H/hlocals.h:73:3: error: unknown type name 'UInt' 73 | UInt GcCurrentPhase_; | ^~~~ ./H/hlocals.h:74:3: error: unknown type name 'UInt' 74 | UInt GcCalls_; | ^~~~ ./H/hlocals.h:203:3: error: unknown type name 'UInt' 203 | UInt ExportFunctorHashTableSize_; | ^~~~ ./H/hlocals.h:75:3: error: unknown type name 'Int' 75 | Int TotGcTime_; | ^~~ ./H/hlocals.h:204:3: error: unknown type name 'UInt' 204 | UInt ExportFunctorHashTableNum_; | ^~~~ ./H/hlocals.h:77:3: error: unknown type name 'Int' 77 | Int LastGcTime_; | ^~~ ./H/hlocals.h:78:3: error: unknown type name 'Int' 78 | Int LastSSTime_; | ^~~ ./H/hlocals.h:206:3: error: unknown type name 'UInt' 206 | UInt ExportPredEntryHashTableSize_; | ^~~~ ./H/hlocals.h:81:3: error: unknown type name 'Int' 81 | Int total_marked_; | ^~~ ./H/hlocals.h:82:3: error: unknown type name 'Int' 82 | Int total_oldies_; | ^~~ ./H/hlocals.h:207:3: error: unknown type name 'UInt' 207 | UInt ExportPredEntryHashTableNum_; | ^~~~ ./H/hlocals.h:99:3: error: unknown type name 'UInt' 99 | UInt gc_timestamp_; | ^~~~ ./H/hlocals.h:108:3: error: unknown type name 'UInt' 108 | UInt extra_gc_cells_size_; | ^~~~ ./H/hlocals.h:209:3: error: unknown type name 'UInt' 209 | UInt ExportDBRefHashTableSize_; | ^~~~ ./H/hlocals.h:115:3: error: unknown type name 'UInt' 115 | UInt CMemFirstBlockSz_; | ^~~~ ./H/hlocals.h:210:3: error: unknown type name 'UInt' 210 | UInt ExportDBRefHashTableNum_; | ^~~~ ./H/hlocals.h:119:3: error: unknown type name 'Int' 119 | Int* LabelFirstArray_; | ^~~ ./H/hlocals.h:120:3: error: unknown type name 'UInt' 120 | UInt LabelFirstArraySz_; | ^~~~ ./H/hlocals.h:212:3: error: unknown type name 'UInt' 212 | UInt ImportAtomHashTableSize_; | ^~~~ gmake: *** [Makefile:670: analyst.o] Error 1 ./H/hlocals.h:150:3: error: unknown type name 'UInt' 150 | UInt Error_Size_; | ^~~~ ./H/hlocals.h:213:3: error: unknown type name 'UInt' 213 | UInt ImportAtomHashTableNum_; | ^~~~ gmake: *** Waiting for unfinished jobs.... ./H/hlocals.h:215:3: error: unknown type name 'UInt' 215 | UInt ImportFunctorHashTableSize_; | ^~~~ ./H/hlocals.h:167:3: error: unknown type name 'Int' 167 | Int PrologMode_; | ^~~ ./H/hlocals.h:216:3: error: unknown type name 'UInt' 216 | UInt ImportFunctorHashTableNum_; | ^~~~ ./H/hlocals.h:181:3: error: unknown type name 'Int' 181 | Int total_heap_overflow_time_; | ^~~ ./H/hlocals.h:218:3: error: unknown type name 'UInt' 218 | UInt ImportOPCODEHashTableSize_; | ^~~~ ./H/hlocals.h:183:3: error: unknown type name 'Int' 183 | Int total_stack_overflow_time_; | ^~~ ./H/hlocals.h:220:3: error: unknown type name 'UInt' 220 | UInt ImportPredEntryHashTableSize_; | ^~~~ ./H/hlocals.h:185:3: error: unknown type name 'Int' 185 | Int total_delay_overflow_time_; | ^~~ ./H/hlocals.h:187:3: error: unknown type name 'Int' 187 | Int total_trail_overflow_time_; | ^~~ ./H/hlocals.h:221:3: error: unknown type name 'UInt' 221 | UInt ImportPredEntryHashTableNum_; | ^~~~ ./H/hlocals.h:189:3: error: unknown type name 'Int' 189 | Int total_atom_table_overflow_time_; | ^~~ ./H/hlocals.h:223:3: error: unknown type name 'UInt' 223 | UInt ImportDBRefHashTableSize_; | ^~~~ ./H/hlocals.h:200:3: error: unknown type name 'UInt' 200 | UInt ExportAtomHashTableSize_; | ^~~~ ./H/hlocals.h:201:3: error: unknown type name 'UInt' 201 | UInt ExportAtomHashTableNum_; | ^~~~ ./H/hlocals.h:224:3: error: unknown type name 'UInt' 224 | UInt ImportDBRefHashTableNum_; | ^~~~ ./H/hlocals.h:203:3: error: unknown type name 'UInt' 203 | UInt ExportFunctorHashTableSize_; | ^~~~ ./H/hlocals.h:227:3: error: unknown type name 'Int' 227 | Int ProfCalls_; | ^~~ ./H/hlocals.h:204:3: error: unknown type name 'UInt' 204 | UInt ExportFunctorHashTableNum_; | ^~~~ ./H/hlocals.h:228:3: error: unknown type name 'Int' 228 | Int ProfGCs_; | ^~~ ./H/hlocals.h:206:3: error: unknown type name 'UInt' 206 | UInt ExportPredEntryHashTableSize_; | ^~~~ ./H/hlocals.h:229:3: error: unknown type name 'Int' 229 | Int ProfHGrows_; | ^~~ ./H/hlocals.h:207:3: error: unknown type name 'UInt' 207 | UInt ExportPredEntryHashTableNum_; | ^~~~ ./H/hlocals.h:209:3: error: unknown type name 'UInt' 209 | UInt ExportDBRefHashTableSize_; | ^~~~ ./H/hlocals.h:230:3: error: unknown type name 'Int' 230 | Int ProfSGrows_; | ^~~ ./H/hlocals.h:210:3: error: unknown type name 'UInt' 210 | UInt ExportDBRefHashTableNum_; | ^~~~ ./H/hlocals.h:231:3: error: unknown type name 'Int' 231 | Int ProfMallocs_; | ^~~ ./H/hlocals.h:212:3: error: unknown type name 'UInt' 212 | UInt ImportAtomHashTableSize_; | ^~~~ ./H/hlocals.h:232:3: error: unknown type name 'Int' 232 | Int ProfIndexing_; | ^~~ ./H/hlocals.h:213:3: error: unknown type name 'UInt' 213 | UInt ImportAtomHashTableNum_; | ^~~~ ./H/hlocals.h:215:3: error: unknown type name 'UInt' 215 | UInt ImportFunctorHashTableSize_; | ^~~~ ./H/hlocals.h:233:3: error: unknown type name 'Int' 233 | Int ProfOn_; | ^~~ ./H/hlocals.h:216:3: error: unknown type name 'UInt' 216 | UInt ImportFunctorHashTableNum_; | ^~~~ ./H/hlocals.h:218:3: error: unknown type name 'UInt' 218 | UInt ImportOPCODEHashTableSize_; | ^~~~ ./H/hlocals.h:234:3: error: unknown type name 'Int' 234 | Int ProfOns_; | ^~~ ./H/hlocals.h:220:3: error: unknown type name 'UInt' 220 | UInt ImportPredEntryHashTableSize_; | ^~~~ ./H/hlocals.h:245:3: error: unknown type name 'UInt' 245 | UInt ibnds_[256]; | ^~~~ ./H/hlocals.h:221:3: error: unknown type name 'UInt' 221 | UInt ImportPredEntryHashTableNum_; | ^~~~ ./H/hlocals.h:223:3: error: unknown type name 'UInt' 223 | UInt ImportDBRefHashTableSize_; | ^~~~ ./H/hlocals.h:224:3: error: unknown type name 'UInt' 224 | UInt ImportDBRefHashTableNum_; | ^~~~ ./H/hlocals.h:227:3: error: unknown type name 'Int' 227 | Int ProfCalls_; | ^~~ ./H/hlocals.h:228:3: error: unknown type name 'Int' 228 | Int ProfGCs_; | ^~~ ./H/hlocals.h:229:3: error: unknown type name 'Int' 229 | Int ProfHGrows_; | ^~~ ./H/hlocals.h:230:3: error: unknown type name 'Int' 230 | Int ProfSGrows_; | ^~~ ./H/hlocals.h:231:3: error: unknown type name 'Int' 231 | Int ProfMallocs_; | ^~~ ./H/hlocals.h:232:3: error: unknown type name 'Int' 232 | Int ProfIndexing_; | ^~~ ./H/hlocals.h:233:3: error: unknown type name 'Int' 233 | Int ProfOn_; | ^~~ ./H/hlocals.h:234:3: error: unknown type name 'Int' 234 | Int ProfOns_; | ^~~ ./H/hlocals.h:245:3: error: unknown type name 'UInt' 245 | UInt ibnds_[256]; | ^~~~ In file included from ./H/Yap.h:841, from ./H/absmi.h:148, from C/agc.c:21: ./H/YapCompoundTerm.h:26:8: error: unknown type name 'Int' 26 | EXTERN Int Yap_unify(Term a,Term b); | ^~~ ./H/YapCompoundTerm.h: In function 'ArgOfTerm': ./H/YapCompoundTerm.h:63:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 63 | return (Term) (Derefa (RepAppl (t) + (i))); | ~~~~~~~~~~~~^~~~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ In file included from ./H/Yap.h:841, from C/adtdefs.c:28: ./H/YapCompoundTerm.h:26:8: error: unknown type name 'Int'; did you mean 'int'? 26 | EXTERN Int Yap_unify(Term a,Term b); | ^~~ | int ./H/YapCompoundTerm.h: In function 'ArgOfTerm': ./H/YapCompoundTerm.h:63:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 63 | return (Term) (Derefa (RepAppl (t) + (i))); | ~~~~~~~~~~~~^~~~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ In file included from ./H/Yap.h:831, from C/arrays.c:18: ./H/hglobals.h:33:3: error: unknown type name 'UInt' 33 | UInt SizeOfOverflow_; | ^~~~ ./H/hglobals.h:35:3: error: unknown type name 'UInt' 35 | UInt AGcThreshold_; | ^~~~ ./H/YapCompoundTerm.h: In function 'HeadOfTerm': ./H/YapCompoundTerm.h:73:26: warning: implicit declaration of function 'RepPair' [-Wimplicit-function-declaration] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~ ./H/hglobals.h:76:3: error: unknown type name 'Int' 76 | Int tot_agc_time_; | ^~~ ./H/YapCompoundTerm.h:73:26: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~~~~~ | | | int ./H/hglobals.h:78:3: error: unknown type name 'Int' 78 | Int tot_agc_recovered_; | ^~~ ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/YapCompoundTerm.h: In function 'TailOfTerm': ./H/YapCompoundTerm.h: In function 'HeadOfTerm': ./H/YapCompoundTerm.h:83:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 83 | return (Term) (Derefa (RepPair (t) + 1)); | ~~~~~~~~~~~~^~~ | | | int ./H/YapCompoundTerm.h:73:26: warning: implicit declaration of function 'RepPair' [-Wimplicit-function-declaration] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~ ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/YapCompoundTerm.h:73:26: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~~~~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/YapCompoundTerm.h: In function 'TailOfTerm': ./H/YapCompoundTerm.h:83:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 83 | return (Term) (Derefa (RepPair (t) + 1)); | ~~~~~~~~~~~~^~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ In file included from ./H/Yap.h:833, from C/arrays.c:18: ./H/hlocals.h:22:3: error: unknown type name 'Int' 22 | Int ClDiff_; | ^~~ ./H/hlocals.h:23:3: error: unknown type name 'Int' 23 | Int GDiff_; | ^~~ ./H/hlocals.h:24:3: error: unknown type name 'Int' 24 | Int HDiff_; | ^~~ ./H/hlocals.h:25:3: error: unknown type name 'Int' 25 | Int GDiff0_; | ^~~ ./H/hlocals.h:27:3: error: unknown type name 'Int' 27 | Int LDiff_; | ^~~ ./H/hlocals.h:28:3: error: unknown type name 'Int' 28 | Int TrDiff_; | ^~~ ./H/hlocals.h:29:3: error: unknown type name 'Int' 29 | Int XDiff_; | ^~~ ./H/hlocals.h:30:3: error: unknown type name 'Int' 30 | Int DelayDiff_; | ^~~ ./H/hlocals.h:31:3: error: unknown type name 'Int' 31 | Int BaseDiff_; | ^~~ ./H/hlocals.h:43:3: error: unknown type name 'UInt' 43 | UInt ConsultCapacity_; | ^~~~ ./H/hlocals.h:50:3: error: unknown type name 'UInt' 50 | UInt GlobalArenaOverflows_; | ^~~~ ./H/hlocals.h:51:3: error: unknown type name 'Int' 51 | Int ArenaOverflows_; | ^~~ ./H/hlocals.h:52:3: error: unknown type name 'Int' 52 | Int DepthArenas_; | ^~~ ./H/hlocals.h:59:3: error: unknown type name 'UInt' 59 | UInt ActiveSignals_; | ^~~~ ./H/hlocals.h:60:3: error: unknown type name 'UInt' 60 | UInt IPredArity_; | ^~~~ ./H/hlocals.h:64:3: error: unknown type name 'Int' 64 | Int StartLine_; | ^~~ ./H/hlocals.h:73:3: error: unknown type name 'UInt' 73 | UInt GcCurrentPhase_; | ^~~~ ./H/hlocals.h:74:3: error: unknown type name 'UInt' 74 | UInt GcCalls_; | ^~~~ ./H/hlocals.h:75:3: error: unknown type name 'Int' 75 | Int TotGcTime_; | ^~~ ./H/hlocals.h:77:3: error: unknown type name 'Int' 77 | Int LastGcTime_; | ^~~ ./H/hlocals.h:78:3: error: unknown type name 'Int' 78 | Int LastSSTime_; | ^~~ ./H/hlocals.h:81:3: error: unknown type name 'Int' 81 | Int total_marked_; | ^~~ ./H/hlocals.h:82:3: error: unknown type name 'Int' 82 | Int total_oldies_; | ^~~ ./H/hlocals.h:99:3: error: unknown type name 'UInt' 99 | UInt gc_timestamp_; | ^~~~ In file included from ./H/Yap.h:851, from C/adtdefs.c:28: ./H/amiops.h: In function 'AlignGlobalForDouble': ./H/hlocals.h:108:3: error: unknown type name 'UInt' 108 | UInt extra_gc_cells_size_; | ^~~~ ./H/hlocals.h:115:3: error: unknown type name 'UInt' 115 | UInt CMemFirstBlockSz_; | ^~~~ ./H/amiops.h:113:8: warning: implicit declaration of function 'DOUBLE_ALIGNED' [-Wimplicit-function-declaration] 113 | if (!DOUBLE_ALIGNED(H)) { | ^~~~~~~~~~~~~~ ./H/hlocals.h:119:3: error: unknown type name 'Int' 119 | Int* LabelFirstArray_; | ^~~ ./H/hlocals.h:120:3: error: unknown type name 'UInt' 120 | UInt LabelFirstArraySz_; | ^~~~ In file included from ./H/Yap.h:851, from ./H/absmi.h:148, from C/agc.c:21: ./H/amiops.h: In function 'AlignGlobalForDouble': ./H/hlocals.h:150:3: error: unknown type name 'UInt' 150 | UInt Error_Size_; | ^~~~ In file included from ./H/Yap.h:851, from C/adtdefs.c:28: ./H/amiops.h: In function 'reset_trail': ./H/amiops.h:113:8: warning: implicit declaration of function 'DOUBLE_ALIGNED' [-Wimplicit-function-declaration] 113 | if (!DOUBLE_ALIGNED(H)) { | ^~~~~~~~~~~~~~ ./H/amiops.h:304:18: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 304 | CELL *pt = RepAppl(d1); | ^~~~~~~ ./H/hlocals.h:167:3: error: unknown type name 'Int' 167 | Int PrologMode_; | ^~~ ./H/hlocals.h:181:3: error: unknown type name 'Int' 181 | Int total_heap_overflow_time_; | ^~~ ./H/hlocals.h:183:3: error: unknown type name 'Int' 183 | Int total_stack_overflow_time_; | ^~~ ./H/hlocals.h:185:3: error: unknown type name 'Int' 185 | Int total_delay_overflow_time_; | ^~~ In file included from ./H/Yap.h:851, from ./H/absmi.h:148, from C/agc.c:21: ./H/amiops.h: In function 'reset_trail': ./H/hlocals.h:187:3: error: unknown type name 'Int' 187 | Int total_trail_overflow_time_; | ^~~ ./H/amiops.h: At top level: ./H/amiops.h:304:18: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 304 | CELL *pt = RepAppl(d1); | ^~~~~~~ ./H/hlocals.h:189:3: error: unknown type name 'Int' 189 | Int total_atom_table_overflow_time_; | ^~~ ./H/amiops.h:358:1: error: unknown type name 'Int' 358 | Int Yap_unify(Term t0, Term t1); | ^~~ ./H/hlocals.h:200:3: error: unknown type name 'UInt' 200 | UInt ExportAtomHashTableSize_; | ^~~~ ./H/amiops.h:361:1: error: unknown type name 'Int' 361 | Int Yap_unify(Term t0, Term t1) | ^~~ ./H/hlocals.h:201:3: error: unknown type name 'UInt' 201 | UInt ExportAtomHashTableNum_; | ^~~~ ./H/hlocals.h:203:3: error: unknown type name 'UInt' 203 | UInt ExportFunctorHashTableSize_; | ^~~~ ./H/hlocals.h:204:3: error: unknown type name 'UInt' 204 | UInt ExportFunctorHashTableNum_; | ^~~~ ./H/hlocals.h:206:3: error: unknown type name 'UInt' 206 | UInt ExportPredEntryHashTableSize_; | ^~~~ ./H/hlocals.h:207:3: error: unknown type name 'UInt' 207 | UInt ExportPredEntryHashTableNum_; | ^~~~ ./H/amiops.h: At top level: ./H/amiops.h:374:8: error: unknown type name 'Int'; did you mean 'int'? 374 | EXTERN Int STD_PROTO(Yap_unify_constant,(Term,Term)); | ^~~ | int ./H/hlocals.h:209:3: error: unknown type name 'UInt' 209 | UInt ExportDBRefHashTableSize_; | ^~~~ ./H/amiops.h:376:15: error: unknown type name 'Int' 376 | EXTERN inline Int | ^~~ ./H/hlocals.h:210:3: error: unknown type name 'UInt' 210 | UInt ExportDBRefHashTableNum_; | ^~~~ ./H/amiops.h:358:1: error: unknown type name 'Int' 358 | Int Yap_unify(Term t0, Term t1); | ^~~ ./H/hlocals.h:212:3: error: unknown type name 'UInt' 212 | UInt ImportAtomHashTableSize_; | ^~~~ ./H/amiops.h: In function 'Yap_unify_constant': ./H/hlocals.h:213:3: error: unknown type name 'UInt' 213 | UInt ImportAtomHashTableNum_; | ^~~~ ./H/amiops.h:398:26: error: subscripted value is neither array nor pointer nor vector 398 | CELL d0 = RepAppl(a)[1]; | ^ ./H/amiops.h:361:1: error: unknown type name 'Int' 361 | Int Yap_unify(Term t0, Term t1) | ^~~ ./H/hlocals.h:215:3: error: unknown type name 'UInt' 215 | UInt ImportFunctorHashTableSize_; | ^~~~ ./H/amiops.h:399:29: error: subscripted value is neither array nor pointer nor vector 399 | CELL d1 = RepAppl(cons)[1]; | ^ ./H/hlocals.h:216:3: error: unknown type name 'UInt' 216 | UInt ImportFunctorHashTableNum_; | ^~~~ ./H/amiops.h:374:8: error: unknown type name 'Int' 374 | EXTERN Int STD_PROTO(Yap_unify_constant,(Term,Term)); | ^~~ ./H/hlocals.h:218:3: error: unknown type name 'UInt' 218 | UInt ImportOPCODEHashTableSize_; | ^~~~ ./H/amiops.h:376:15: error: unknown type name 'Int' 376 | EXTERN inline Int | ^~~ ./H/hlocals.h:220:3: error: unknown type name 'UInt' 220 | UInt ImportPredEntryHashTableSize_; | ^~~~ ./H/hlocals.h:221:3: error: unknown type name 'UInt' 221 | UInt ImportPredEntryHashTableNum_; | ^~~~ ./H/amiops.h: In function 'Yap_unify_constant': ./H/hlocals.h:223:3: error: unknown type name 'UInt' 223 | UInt ImportDBRefHashTableSize_; | ^~~~ ./H/hlocals.h:224:3: error: unknown type name 'UInt' 224 | UInt ImportDBRefHashTableNum_; | ^~~~ ./H/amiops.h:398:26: error: subscripted value is neither array nor pointer nor vector 398 | CELL d0 = RepAppl(a)[1]; | ^ In file included from C/adtdefs.c:28: ./H/Yap.h: In function 'Yap_PopSlots': ./H/hlocals.h:227:3: error: unknown type name 'Int' 227 | Int ProfCalls_; | ^~~ ./H/Yap.h:873:5: error: unknown type name 'Int'; did you mean 'int'? 873 | Int old_slots; | ^~~ | int ./H/hlocals.h:228:3: error: unknown type name 'Int' 228 | Int ProfGCs_; | ^~~ ./H/hlocals.h:229:3: error: unknown type name 'Int' 229 | Int ProfHGrows_; | ^~~ ./H/hlocals.h:230:3: error: unknown type name 'Int' 230 | Int ProfSGrows_; | ^~~ ./H/hlocals.h:231:3: error: unknown type name 'Int' 231 | Int ProfMallocs_; | ^~~ ./H/Yap.h: In function 'Yap_CloseSlots': ./H/hlocals.h:232:3: error: unknown type name 'Int' 232 | Int ProfIndexing_; | ^~~ ./H/Yap.h:883:3: error: unknown type name 'Int'; did you mean 'int'? 883 | Int old_slots; | ^~~ | int ./H/hlocals.h:233:3: error: unknown type name 'Int' 233 | Int ProfOn_; | ^~~ ./H/Yap.h: At top level: ./H/hlocals.h:234:3: error: unknown type name 'Int' 234 | Int ProfOns_; | ^~~ ./H/Yap.h:893:15: error: unknown type name 'Int' 893 | static inline Int | ^~~ ./H/hlocals.h:245:3: error: unknown type name 'UInt' 245 | UInt ibnds_[256]; | ^~~~ ./H/Yap.h:899:17: error: unknown type name 'Int'; did you mean 'int'? 899 | Yap_GetFromSlot(Int slot USES_REGS) | ^~~ | int ./H/Yap.h:905:24: error: unknown type name 'Int'; did you mean 'int'? 905 | Yap_GetDerefedFromSlot(Int slot USES_REGS) | ^~~ | int ./H/Yap.h:911:20: error: unknown type name 'Int'; did you mean 'int'? 911 | Yap_GetPtrFromSlot(Int slot USES_REGS) | ^~~ | int ./H/amiops.h:399:29: error: subscripted value is neither array nor pointer nor vector 399 | CELL d1 = RepAppl(cons)[1]; | ^ ./H/Yap.h:917:21: error: unknown type name 'Int'; did you mean 'int'? 917 | Yap_AddressFromSlot(Int slot USES_REGS) | ^~~ | int ./H/Yap.h:923:15: error: unknown type name 'Int'; did you mean 'int'? 923 | Yap_PutInSlot(Int slot, Term t USES_REGS) | ^~~ | int In file included from ./H/Yap.h:841, from C/arrays.c:18: ./H/YapCompoundTerm.h:26:8: error: unknown type name 'Int' 26 | EXTERN Int Yap_unify(Term a,Term b); | ^~~ In file included from ./H/absmi.h:148, from C/agc.c:21: ./H/Yap.h: In function 'Yap_PopSlots': ./H/Yap.h:873:5: error: unknown type name 'Int'; did you mean 'int'? 873 | Int old_slots; | ^~~ | int ./H/YapCompoundTerm.h: In function 'ArgOfTerm': In file included from C/adtdefs.c:32: ./H/Yatom.h:156:27: error: unknown type name 'Int' 156 | INLINE_ONLY inline EXTERN Int ArityOfFunctor (Functor); | ^~~ ./H/YapCompoundTerm.h:63:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 63 | return (Term) (Derefa (RepAppl (t) + (i))); | ~~~~~~~~~~~~^~~~~ | | | int ./H/Yatom.h:158:27: error: unknown type name 'Int' 158 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/Yatom.h: In function 'ArityOfFunctor': ./H/Yatom.h:161:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 161 | return (Int) (((FunctorEntry *) Fun)->ArityOfFE); | ^~~ | int ./H/Yap.h: In function 'Yap_CloseSlots': ./H/Yap.h:883:3: error: unknown type name 'Int'; did you mean 'int'? 883 | Int old_slots; | ^~~ | int ./H/Yatom.h: At top level: ./H/Yatom.h:281:3: error: unknown type name 'UInt' 281 | UInt SizeOfAtom; /* index in module table */ | ^~~~ ./H/Yap.h: At top level: In file included from ./H/Yap.h:157, from C/amasm.c:186: ./H/YapTerm.h:100:4: error: #error Yap requires pointers of size 4 or 8 100 | # error Yap requires pointers of size 4 or 8 | ^~~~~ ./H/YapTerm.h:104:9: error: unknown type name 'UInt' 104 | typedef UInt CELL; | ^~~~ ./H/YapTerm.h:105:9: error: unknown type name 'UShort' 105 | typedef UShort BITS16; | ^~~~~~ ./H/YapTerm.h:106:9: error: unknown type name 'Short' 106 | typedef Short SBITS16; | ^~~~~ ./H/YapTerm.h:107:9: error: unknown type name 'UInt' 107 | typedef UInt BITS32; | ^~~~ ./H/YapCompoundTerm.h: In function 'HeadOfTerm': ./H/YapCompoundTerm.h:73:26: warning: implicit declaration of function 'RepPair' [-Wimplicit-function-declaration] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~ ./H/YapCompoundTerm.h:73:26: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~~~~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/YapCompoundTerm.h: In function 'TailOfTerm': ./H/Yatom.h:711:3: error: unknown type name 'UInt' 711 | UInt ArityOfPE; /* arity of property */ | ^~~~ ./H/YapCompoundTerm.h:83:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 83 | return (Term) (Derefa (RepPair (t) + 1)); | ~~~~~~~~~~~~^~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/Yatom.h:719:7: error: unknown type name 'UInt' 719 | UInt NOfClauses; | ^~~~ ./H/Yatom.h:722:5: error: unknown type name 'CPredicate' 722 | CPredicate f_code; | ^~~~~~~~~~ ./H/Yatom.h:723:5: error: unknown type name 'CmpPredicate' 723 | CmpPredicate d_code; | ^~~~~~~~~~~~ ./H/Yatom.h:729:5: error: unknown type name 'Int' 729 | Int IndxId; /* Index for a certain key */ | ^~~ ./H/Yatom.h:741:3: error: unknown type name 'UInt' 741 | UInt TimeStampOfPred; | ^~~~ ./H/Yatom.h: In function 'TermToDBTerm': ./H/Yatom.h:851:7: warning: implicit declaration of function 'IsPairTerm'; did you mean 'MkPairTerm'? [-Wimplicit-function-declaration] 851 | if (IsPairTerm(X)) { | ^~~~~~~~~~ | MkPairTerm In file included from ./H/Yap.h:851, from C/arrays.c:18: ./H/amiops.h: In function 'AlignGlobalForDouble': ./H/Yatom.h: At top level: In file included from ./H/Yap.h:831, from C/alloc.c:22: ./H/hglobals.h:33:3: error: unknown type name 'UInt' 33 | UInt SizeOfOverflow_; | ^~~~ ./H/amiops.h:113:8: warning: implicit declaration of function 'DOUBLE_ALIGNED' [-Wimplicit-function-declaration] 113 | if (!DOUBLE_ALIGNED(H)) { | ^~~~~~~~~~~~~~ ./H/Yatom.h:982:3: error: unknown type name 'Int' 982 | Int NOfEntries; /* age counter */ | ^~~ ./H/hglobals.h:35:3: error: unknown type name 'UInt' 35 | UInt AGcThreshold_; | ^~~~ ./H/hglobals.h:76:3: error: unknown type name 'Int' 76 | Int tot_agc_time_; | ^~~ ./H/hglobals.h:78:3: error: unknown type name 'Int' 78 | Int tot_agc_recovered_; | ^~~ In file included from ./H/Yap.h:851, from C/arrays.c:18: ./H/amiops.h: In function 'reset_trail': ./H/Yatom.h:1132:3: error: unknown type name 'UInt' 1132 | UInt RefsOfPE; /* used to count the number of holds */ | ^~~~ ./H/amiops.h:304:18: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 304 | CELL *pt = RepAppl(d1); | ^~~~~~~ ./H/Yatom.h:1199:3: error: unknown type name 'Int' 1199 | Int ArrayEArity; /* Arity of Array (positive) */ | ^~~ ./H/amiops.h: At top level: ./H/Yatom.h:1234:3: error: unknown type name 'Int' 1234 | Int *ints; | ^~~ ./H/amiops.h:358:1: error: unknown type name 'Int' 358 | Int Yap_unify(Term t0, Term t1); | ^~~ In file included from ./H/Yap.h:833, from C/alloc.c:22: ./H/hlocals.h:22:3: error: unknown type name 'Int' 22 | Int ClDiff_; | ^~~ ./H/amiops.h:361:1: error: unknown type name 'Int' 361 | Int Yap_unify(Term t0, Term t1) | ^~~ ./H/hlocals.h:23:3: error: unknown type name 'Int' 23 | Int GDiff_; | ^~~ ./H/hlocals.h:24:3: error: unknown type name 'Int' 24 | Int HDiff_; | ^~~ ./H/hlocals.h:25:3: error: unknown type name 'Int' 25 | Int GDiff0_; | ^~~ ./H/Yatom.h:1250:3: error: unknown type name 'Int' 1250 | Int ArrayEArity; /* Arity of Array (negative) */ | ^~~ ./H/hlocals.h:27:3: error: unknown type name 'Int' 27 | Int LDiff_; | ^~~ ./H/amiops.h:374:8: error: unknown type name 'Int' 374 | EXTERN Int STD_PROTO(Yap_unify_constant,(Term,Term)); | ^~~ ./H/hlocals.h:28:3: error: unknown type name 'Int' 28 | Int TrDiff_; | ^~~ ./H/hlocals.h:29:3: error: unknown type name 'Int' 29 | Int XDiff_; | ^~~ ./H/amiops.h:376:15: error: unknown type name 'Int' 376 | EXTERN inline Int | ^~~ ./H/hlocals.h:30:3: error: unknown type name 'Int' 30 | Int DelayDiff_; | ^~~ ./H/hlocals.h:31:3: error: unknown type name 'Int' 31 | Int BaseDiff_; | ^~~ ./H/hlocals.h:43:3: error: unknown type name 'UInt' 43 | UInt ConsultCapacity_; | ^~~~ ./H/hlocals.h:50:3: error: unknown type name 'UInt' 50 | UInt GlobalArenaOverflows_; | ^~~~ ./H/amiops.h: In function 'Yap_unify_constant': ./H/hlocals.h:51:3: error: unknown type name 'Int' 51 | Int ArenaOverflows_; | ^~~ ./H/amiops.h:398:26: error: subscripted value is neither array nor pointer nor vector 398 | CELL d0 = RepAppl(a)[1]; | ^ ./H/hlocals.h:52:3: error: unknown type name 'Int' 52 | Int DepthArenas_; | ^~~ ./H/amiops.h:399:29: error: subscripted value is neither array nor pointer nor vector 399 | CELL d1 = RepAppl(cons)[1]; | ^ ./H/hlocals.h:59:3: error: unknown type name 'UInt' 59 | UInt ActiveSignals_; | ^~~~ ./H/hlocals.h:60:3: error: unknown type name 'UInt' 60 | UInt IPredArity_; | ^~~~ ./H/hlocals.h:64:3: error: unknown type name 'Int' 64 | Int StartLine_; | ^~~ ./H/hlocals.h:73:3: error: unknown type name 'UInt' 73 | UInt GcCurrentPhase_; | ^~~~ In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yatom.h:1449:60: error: unknown type name 'UInt' 1449 | DBTerm *STD_PROTO (Yap_StoreTermInDBPlusExtraSpace, (Term, UInt, UInt *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/hlocals.h:74:3: error: unknown type name 'UInt' 74 | UInt GcCalls_; | ^~~~ ./H/hlocals.h:75:3: error: unknown type name 'Int' 75 | Int TotGcTime_; | ^~~ ./H/Yap.h:893:15: error: unknown type name 'Int' 893 | static inline Int | ^~~ ./H/hlocals.h:77:3: error: unknown type name 'Int' 77 | Int LastGcTime_; | ^~~ ./H/hlocals.h:78:3: error: unknown type name 'Int' 78 | Int LastSSTime_; | ^~~ ./H/hlocals.h:81:3: error: unknown type name 'Int' 81 | Int total_marked_; | ^~~ In file included from ./H/Yap.h:831, from ./H/absmi.h:148, from C/absmi.c:497: ./H/hglobals.h:33:3: error: unknown type name 'UInt' 33 | UInt SizeOfOverflow_; | ^~~~ ./H/Yatom.h:1449:66: error: unknown type name 'UInt' 1449 | DBTerm *STD_PROTO (Yap_StoreTermInDBPlusExtraSpace, (Term, UInt, UInt *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yap.h:899:17: error: unknown type name 'Int'; did you mean 'int'? 899 | Yap_GetFromSlot(Int slot USES_REGS) | ^~~ | int In file included from C/arrays.c:18: ./H/Yap.h: In function 'Yap_PopSlots': ./H/hglobals.h:35:3: error: unknown type name 'UInt' 35 | UInt AGcThreshold_; | ^~~~ ./H/hlocals.h:82:3: error: unknown type name 'Int' 82 | Int total_oldies_; | ^~~ ./H/Yap.h:873:5: error: unknown type name 'Int'; did you mean 'int'? 873 | Int old_slots; | ^~~ | int ./H/hlocals.h:99:3: error: unknown type name 'UInt' 99 | UInt gc_timestamp_; | ^~~~ ./H/Yap.h:905:24: error: unknown type name 'Int'; did you mean 'int'? 905 | Yap_GetDerefedFromSlot(Int slot USES_REGS) | ^~~ | int ./H/hglobals.h:76:3: error: unknown type name 'Int' 76 | Int tot_agc_time_; | ^~~ ./H/hlocals.h:108:3: error: unknown type name 'UInt' 108 | UInt extra_gc_cells_size_; | ^~~~ ./H/hglobals.h:78:3: error: unknown type name 'Int' 78 | Int tot_agc_recovered_; | ^~~ ./H/hlocals.h:115:3: error: unknown type name 'UInt' 115 | UInt CMemFirstBlockSz_; | ^~~~ ./H/hlocals.h:119:3: error: unknown type name 'Int' 119 | Int* LabelFirstArray_; | ^~~ ./H/hlocals.h:120:3: error: unknown type name 'UInt' 120 | UInt LabelFirstArraySz_; | ^~~~ ./H/Yap.h: In function 'Yap_CloseSlots': ./H/Yap.h:911:20: error: unknown type name 'Int'; did you mean 'int'? 911 | Yap_GetPtrFromSlot(Int slot USES_REGS) | ^~~ | int ./H/hlocals.h:150:3: error: unknown type name 'UInt' 150 | UInt Error_Size_; | ^~~~ ./H/Yap.h:883:3: error: unknown type name 'Int'; did you mean 'int'? 883 | Int old_slots; | ^~~ | int ./H/hlocals.h:167:3: error: unknown type name 'Int' 167 | Int PrologMode_; | ^~~ ./H/Yap.h: At top level: ./H/hlocals.h:181:3: error: unknown type name 'Int' 181 | Int total_heap_overflow_time_; | ^~~ In file included from ./H/Yap.h:833, from ./H/absmi.h:148, from C/absmi.c:497: ./H/hlocals.h:22:3: error: unknown type name 'Int' 22 | Int ClDiff_; | ^~~ ./H/hlocals.h:183:3: error: unknown type name 'Int' 183 | Int total_stack_overflow_time_; | ^~~ ./H/hlocals.h:23:3: error: unknown type name 'Int' 23 | Int GDiff_; | ^~~ ./H/Yap.h:893:15: error: unknown type name 'Int' 893 | static inline Int | ^~~ ./H/hlocals.h:24:3: error: unknown type name 'Int' 24 | Int HDiff_; | ^~~ ./H/Yap.h:917:21: error: unknown type name 'Int'; did you mean 'int'? 917 | Yap_AddressFromSlot(Int slot USES_REGS) | ^~~ | int ./H/hlocals.h:25:3: error: unknown type name 'Int' 25 | Int GDiff0_; | ^~~ ./H/hlocals.h:185:3: error: unknown type name 'Int' 185 | Int total_delay_overflow_time_; | ^~~ ./H/hlocals.h:27:3: error: unknown type name 'Int' 27 | Int LDiff_; | ^~~ ./H/hlocals.h:187:3: error: unknown type name 'Int' 187 | Int total_trail_overflow_time_; | ^~~ ./H/hlocals.h:28:3: error: unknown type name 'Int' 28 | Int TrDiff_; | ^~~ ./H/hlocals.h:189:3: error: unknown type name 'Int' 189 | Int total_atom_table_overflow_time_; | ^~~ ./H/Yap.h:899:17: error: unknown type name 'Int'; did you mean 'int'? 899 | Yap_GetFromSlot(Int slot USES_REGS) | ^~~ | int ./H/hlocals.h:200:3: error: unknown type name 'UInt' 200 | UInt ExportAtomHashTableSize_; | ^~~~ ./H/Yap.h:923:15: error: unknown type name 'Int'; did you mean 'int'? 923 | Yap_PutInSlot(Int slot, Term t USES_REGS) | ^~~ | int ./H/hlocals.h:29:3: error: unknown type name 'Int' 29 | Int XDiff_; | ^~~ ./H/hlocals.h:201:3: error: unknown type name 'UInt' 201 | UInt ExportAtomHashTableNum_; | ^~~~ ./H/hlocals.h:30:3: error: unknown type name 'Int' 30 | Int DelayDiff_; | ^~~ ./H/hlocals.h:203:3: error: unknown type name 'UInt' 203 | UInt ExportFunctorHashTableSize_; | ^~~~ ./H/hlocals.h:31:3: error: unknown type name 'Int' 31 | Int BaseDiff_; | ^~~ ./H/hlocals.h:204:3: error: unknown type name 'UInt' 204 | UInt ExportFunctorHashTableNum_; | ^~~~ ./H/hlocals.h:43:3: error: unknown type name 'UInt' 43 | UInt ConsultCapacity_; | ^~~~ ./H/Yap.h:905:24: error: unknown type name 'Int'; did you mean 'int'? 905 | Yap_GetDerefedFromSlot(Int slot USES_REGS) | ^~~ | int ./H/hlocals.h:206:3: error: unknown type name 'UInt' 206 | UInt ExportPredEntryHashTableSize_; | ^~~~ ./H/hlocals.h:50:3: error: unknown type name 'UInt' 50 | UInt GlobalArenaOverflows_; | ^~~~ ./H/hlocals.h:51:3: error: unknown type name 'Int' 51 | Int ArenaOverflows_; | ^~~ In file included from ./H/Yatom.h:1471, from C/adtdefs.c:32: ./H/YapHeap.h:38:14: error: expected declaration specifiers or '...' before '*' token 38 | typedef Int (*Opaque_CallOnGCMark)(int, void *, Term *, Int); | ^ ./H/hlocals.h:52:3: error: unknown type name 'Int' 52 | Int DepthArenas_; | ^~~ ./H/hlocals.h:207:3: error: unknown type name 'UInt' 207 | UInt ExportPredEntryHashTableNum_; | ^~~~ ./H/hlocals.h:59:3: error: unknown type name 'UInt' 59 | UInt ActiveSignals_; | ^~~~ ./H/hlocals.h:209:3: error: unknown type name 'UInt' 209 | UInt ExportDBRefHashTableSize_; | ^~~~ ./H/hlocals.h:60:3: error: unknown type name 'UInt' 60 | UInt IPredArity_; | ^~~~ ./H/hlocals.h:210:3: error: unknown type name 'UInt' 210 | UInt ExportDBRefHashTableNum_; | ^~~~ ./H/YapHeap.h:39:61: error: unknown type name 'Int'; did you mean 'int'? 39 | typedef int (*Opaque_CallOnGCRelocate)(int, void *, Term *, Int); | ^~~ | int ./H/hlocals.h:64:3: error: unknown type name 'Int' 64 | Int StartLine_; | ^~~ ./H/hlocals.h:212:3: error: unknown type name 'UInt' 212 | UInt ImportAtomHashTableSize_; | ^~~~ In file included from ./H/clause.h:18, from ./H/absmi.h:149, from C/agc.c:21: ./H/Yatom.h:156:27: error: unknown type name 'Int' 156 | INLINE_ONLY inline EXTERN Int ArityOfFunctor (Functor); | ^~~ ./H/hlocals.h:73:3: error: unknown type name 'UInt' 73 | UInt GcCurrentPhase_; | ^~~~ ./H/YapHeap.h:44:3: error: unknown type name 'Opaque_CallOnGCMark' 44 | Opaque_CallOnGCMark gc_mark_handler; | ^~~~~~~~~~~~~~~~~~~ ./H/Yap.h:911:20: error: unknown type name 'Int'; did you mean 'int'? 911 | Yap_GetPtrFromSlot(Int slot USES_REGS) | ^~~ | int ./H/hlocals.h:213:3: error: unknown type name 'UInt' 213 | UInt ImportAtomHashTableNum_; | ^~~~ ./H/Yatom.h:158:27: error: unknown type name 'Int' 158 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/hlocals.h:215:3: error: unknown type name 'UInt' 215 | UInt ImportFunctorHashTableSize_; | ^~~~ ./H/YapHeap.h:45:3: error: unknown type name 'Opaque_CallOnGCRelocate' 45 | Opaque_CallOnGCRelocate gc_relocate_handler; | ^~~~~~~~~~~~~~~~~~~~~~~ ./H/hlocals.h:74:3: error: unknown type name 'UInt' 74 | UInt GcCalls_; | ^~~~ ./H/hlocals.h:216:3: error: unknown type name 'UInt' 216 | UInt ImportFunctorHashTableNum_; | ^~~~ ./H/Yatom.h: In function 'ArityOfFunctor': ./H/hlocals.h:75:3: error: unknown type name 'Int' 75 | Int TotGcTime_; | ^~~ ./H/hlocals.h:218:3: error: unknown type name 'UInt' 218 | UInt ImportOPCODEHashTableSize_; | ^~~~ ./H/Yatom.h:161:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 161 | return (Int) (((FunctorEntry *) Fun)->ArityOfFE); | ^~~ | int ./H/hlocals.h:220:3: error: unknown type name 'UInt' 220 | UInt ImportPredEntryHashTableSize_; | ^~~~ ./H/hlocals.h:77:3: error: unknown type name 'Int' 77 | Int LastGcTime_; | ^~~ ./H/YapHeap.h:48:60: error: unknown type name 'Int'; did you mean 'int'? 48 | extern Opaque_CallOnWrite Yap_blob_write_handler_from_slot(Int slot); | ^~~ | int ./H/Yap.h:917:21: error: unknown type name 'Int'; did you mean 'int'? 917 | Yap_AddressFromSlot(Int slot USES_REGS) | ^~~ | int ./H/hlocals.h:221:3: error: unknown type name 'UInt' 221 | UInt ImportPredEntryHashTableNum_; | ^~~~ ./H/YapHeap.h:49:8: error: unknown type name 'Opaque_CallOnGCMark' 49 | extern Opaque_CallOnGCMark Yap_blob_gc_mark_handler(Term t); | ^~~~~~~~~~~~~~~~~~~ ./H/hlocals.h:78:3: error: unknown type name 'Int' 78 | Int LastSSTime_; | ^~~ ./H/YapHeap.h:50:8: error: unknown type name 'Opaque_CallOnGCRelocate' 50 | extern Opaque_CallOnGCRelocate Yap_blob_gc_relocate_handler(Term t); | ^~~~~~~~~~~~~~~~~~~~~~~ ./H/hlocals.h:223:3: error: unknown type name 'UInt' 223 | UInt ImportDBRefHashTableSize_; | ^~~~ ./H/hlocals.h:81:3: error: unknown type name 'Int' 81 | Int total_marked_; | ^~~ ./H/Yatom.h: At top level: ./H/hlocals.h:82:3: error: unknown type name 'Int' 82 | Int total_oldies_; | ^~~ ./H/YapHeap.h:51:8: error: unknown type name 'Int' 51 | extern Int Yap_blob_tag_from_slot(Int slot); | ^~~ ./H/hlocals.h:224:3: error: unknown type name 'UInt' 224 | UInt ImportDBRefHashTableNum_; | ^~~~ ./H/Yatom.h:281:3: error: unknown type name 'UInt' 281 | UInt SizeOfAtom; /* index in module table */ | ^~~~ ./H/Yap.h:923:15: error: unknown type name 'Int'; did you mean 'int'? 923 | Yap_PutInSlot(Int slot, Term t USES_REGS) | ^~~ | int ./H/hlocals.h:227:3: error: unknown type name 'Int' 227 | Int ProfCalls_; | ^~~ ./H/YapHeap.h:51:35: error: unknown type name 'Int'; did you mean 'int'? 51 | extern Int Yap_blob_tag_from_slot(Int slot); | ^~~ | int ./H/hlocals.h:99:3: error: unknown type name 'UInt' 99 | UInt gc_timestamp_; | ^~~~ ./H/hlocals.h:228:3: error: unknown type name 'Int' 228 | Int ProfGCs_; | ^~~ ./H/hlocals.h:108:3: error: unknown type name 'UInt' 108 | UInt extra_gc_cells_size_; | ^~~~ ./H/YapHeap.h:52:38: error: unknown type name 'Int'; did you mean 'int'? 52 | extern void *Yap_blob_info_from_slot(Int slot); | ^~~ | int ./H/hlocals.h:229:3: error: unknown type name 'Int' 229 | Int ProfHGrows_; | ^~~ ./H/YapHeap.h:70:3: error: unknown type name 'Int' 70 | Int pos; | ^~~ ./H/hlocals.h:115:3: error: unknown type name 'UInt' 115 | UInt CMemFirstBlockSz_; | ^~~~ ./H/hlocals.h:230:3: error: unknown type name 'Int' 230 | Int ProfSGrows_; | ^~~ ./H/hlocals.h:119:3: error: unknown type name 'Int' 119 | Int* LabelFirstArray_; | ^~~ In file included from ./H/YapHeap.h:163, from ./H/Yatom.h:1471, from C/adtdefs.c:32: ./H/hstruct.h:32:3: error: unknown type name 'UInt' 32 | UInt hole_size; | ^~~~ ./H/hlocals.h:231:3: error: unknown type name 'Int' 231 | Int ProfMallocs_; | ^~~ ./H/hlocals.h:120:3: error: unknown type name 'UInt' 120 | UInt LabelFirstArraySz_; | ^~~~ ./H/hstruct.h:47:3: error: unknown type name 'Int' 47 | Int heap_used; | ^~~ ./H/hlocals.h:232:3: error: unknown type name 'Int' 232 | Int ProfIndexing_; | ^~~ ./H/hstruct.h:49:3: error: unknown type name 'Int' 49 | Int heap_max; | ^~~ ./H/hlocals.h:233:3: error: unknown type name 'Int' 233 | Int ProfOn_; | ^~~ ./H/hstruct.h:59:3: error: unknown type name 'UInt' 59 | UInt MaxStack_; | ^~~~ ./H/hlocals.h:150:3: error: unknown type name 'UInt' 150 | UInt Error_Size_; | ^~~~ ./H/hstruct.h:60:3: error: unknown type name 'UInt' 60 | UInt MaxTrail_; | ^~~~ ./H/hlocals.h:234:3: error: unknown type name 'Int' 234 | Int ProfOns_; | ^~~ ./H/hstruct.h:75:3: error: unknown type name 'UInt' 75 | UInt n_of_atoms; | ^~~~ ./H/hstruct.h:76:3: error: unknown type name 'UInt' 76 | UInt atom_hash_table_size; | ^~~~ ./H/hlocals.h:167:3: error: unknown type name 'Int' 167 | Int PrologMode_; | ^~~ ./H/hstruct.h:77:3: error: unknown type name 'UInt' 77 | UInt wide_atom_hash_table_size; | ^~~~ ./H/hlocals.h:245:3: error: unknown type name 'UInt' 245 | UInt ibnds_[256]; | ^~~~ ./H/hlocals.h:181:3: error: unknown type name 'Int' 181 | Int total_heap_overflow_time_; | ^~~ ./H/Yatom.h:711:3: error: unknown type name 'UInt' 711 | UInt ArityOfPE; /* arity of property */ | ^~~~ ./H/hstruct.h:78:3: error: unknown type name 'UInt' 78 | UInt n_of_wide_atoms; | ^~~~ ./H/hlocals.h:183:3: error: unknown type name 'Int' 183 | Int total_stack_overflow_time_; | ^~~ ./H/hlocals.h:185:3: error: unknown type name 'Int' 185 | Int total_delay_overflow_time_; | ^~~ ./H/hlocals.h:187:3: error: unknown type name 'Int' 187 | Int total_trail_overflow_time_; | ^~~ ./H/Yatom.h:719:7: error: unknown type name 'UInt' 719 | UInt NOfClauses; | ^~~~ In file included from ./H/clause.h:18, from C/arrays.c:19: ./H/Yatom.h:156:27: error: unknown type name 'Int' 156 | INLINE_ONLY inline EXTERN Int ArityOfFunctor (Functor); | ^~~ ./H/hlocals.h:189:3: error: unknown type name 'Int' 189 | Int total_atom_table_overflow_time_; | ^~~ ./H/Yatom.h:722:5: error: unknown type name 'CPredicate' 722 | CPredicate f_code; | ^~~~~~~~~~ ./H/Yatom.h:158:27: error: unknown type name 'Int' 158 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/hlocals.h:200:3: error: unknown type name 'UInt' 200 | UInt ExportAtomHashTableSize_; | ^~~~ ./H/Yatom.h:723:5: error: unknown type name 'CmpPredicate' 723 | CmpPredicate d_code; | ^~~~~~~~~~~~ ./H/hlocals.h:201:3: error: unknown type name 'UInt' 201 | UInt ExportAtomHashTableNum_; | ^~~~ ./H/Yatom.h: In function 'ArityOfFunctor': ./H/Yatom.h:729:5: error: unknown type name 'Int' 729 | Int IndxId; /* Index for a certain key */ | ^~~ ./H/hlocals.h:203:3: error: unknown type name 'UInt' 203 | UInt ExportFunctorHashTableSize_; | ^~~~ ./H/Yatom.h:161:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 161 | return (Int) (((FunctorEntry *) Fun)->ArityOfFE); | ^~~ | int ./H/hlocals.h:204:3: error: unknown type name 'UInt' 204 | UInt ExportFunctorHashTableNum_; | ^~~~ ./H/Yatom.h:741:3: error: unknown type name 'UInt' 741 | UInt TimeStampOfPred; | ^~~~ ./H/hlocals.h:206:3: error: unknown type name 'UInt' 206 | UInt ExportPredEntryHashTableSize_; | ^~~~ ./H/Yatom.h: At top level: ./H/hlocals.h:207:3: error: unknown type name 'UInt' 207 | UInt ExportPredEntryHashTableNum_; | ^~~~ In file included from ./H/YapHeap.h:163, from ./H/Yatom.h:1471, from C/adtdefs.c:32: ./H/hstruct.h:119:3: error: unknown type name 'UInt' 119 | UInt preds_in_hash_table; | ^~~~ ./H/Yatom.h:281:3: error: unknown type name 'UInt' 281 | UInt SizeOfAtom; /* index in module table */ | ^~~~ ./H/hlocals.h:209:3: error: unknown type name 'UInt' 209 | UInt ExportDBRefHashTableSize_; | ^~~~ ./H/hstruct.h:120:3: error: unknown type name 'UInt' 120 | UInt pred_hash_table_size; | ^~~~ ./H/hlocals.h:210:3: error: unknown type name 'UInt' 210 | UInt ExportDBRefHashTableNum_; | ^~~~ ./H/hstruct.h:155:3: error: unknown type name 'UInt' 155 | UInt clause_space; | ^~~~ ./H/hlocals.h:212:3: error: unknown type name 'UInt' 212 | UInt ImportAtomHashTableSize_; | ^~~~ In file included from ./H/Yap.h:841, from C/alloc.c:22: ./H/YapCompoundTerm.h:26:8: error: unknown type name 'Int' 26 | EXTERN Int Yap_unify(Term a,Term b); | ^~~ ./H/hlocals.h:213:3: error: unknown type name 'UInt' 213 | UInt ImportAtomHashTableNum_; | ^~~~ ./H/hstruct.h:156:3: error: unknown type name 'UInt' 156 | UInt index_space_Tree; | ^~~~ ./H/hlocals.h:215:3: error: unknown type name 'UInt' 215 | UInt ImportFunctorHashTableSize_; | ^~~~ ./H/hstruct.h:157:3: error: unknown type name 'UInt' 157 | UInt index_space_EXT; | ^~~~ ./H/hlocals.h:216:3: error: unknown type name 'UInt' 216 | UInt ImportFunctorHashTableNum_; | ^~~~ ./H/hstruct.h:158:3: error: unknown type name 'UInt' 158 | UInt index_space_SW; | ^~~~ ./H/hstruct.h:159:3: error: unknown type name 'UInt' 159 | UInt lu_clause_space; | ^~~~ ./H/hlocals.h:218:3: error: unknown type name 'UInt' 218 | UInt ImportOPCODEHashTableSize_; | ^~~~ ./H/YapCompoundTerm.h: In function 'ArgOfTerm': ./H/hstruct.h:160:3: error: unknown type name 'UInt' 160 | UInt lu_index_space_Tree; | ^~~~ ./H/hlocals.h:220:3: error: unknown type name 'UInt' 220 | UInt ImportPredEntryHashTableSize_; | ^~~~ ./H/YapCompoundTerm.h:63:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 63 | return (Term) (Derefa (RepAppl (t) + (i))); | ~~~~~~~~~~~~^~~~~ | | | int ./H/hstruct.h:161:3: error: unknown type name 'UInt' 161 | UInt lu_index_space_CP; | ^~~~ ./H/hlocals.h:221:3: error: unknown type name 'UInt' 221 | UInt ImportPredEntryHashTableNum_; | ^~~~ ./H/hstruct.h:162:3: error: unknown type name 'UInt' 162 | UInt lu_index_space_EXT; | ^~~~ ./H/hlocals.h:223:3: error: unknown type name 'UInt' 223 | UInt ImportDBRefHashTableSize_; | ^~~~ ./H/hstruct.h:163:3: error: unknown type name 'UInt' 163 | UInt lu_index_space_SW; | ^~~~ ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/hlocals.h:224:3: error: unknown type name 'UInt' 224 | UInt ImportDBRefHashTableNum_; | ^~~~ ./H/hstruct.h:219:3: error: unknown type name 'UInt' 219 | UInt expand_clauses; | ^~~~ ./H/hlocals.h:227:3: error: unknown type name 'Int' 227 | Int ProfCalls_; | ^~~ ./H/hstruct.h:231:3: error: unknown type name 'UInt' 231 | UInt expand_clauses_sz; | ^~~~ ./H/Yatom.h: In function 'TermToDBTerm': ./H/hstruct.h:236:3: error: unknown type name 'Int' 236 | Int static_predicates_marked; | ^~~ ./H/hlocals.h:228:3: error: unknown type name 'Int' 228 | Int ProfGCs_; | ^~~ ./H/hstruct.h:242:3: error: unknown type name 'UInt' 242 | UInt int_keys_size; | ^~~~ ./H/Yatom.h:711:3: error: unknown type name 'UInt' 711 | UInt ArityOfPE; /* arity of property */ | ^~~~ ./H/hlocals.h:229:3: error: unknown type name 'Int' 229 | Int ProfHGrows_; | ^~~ ./H/hstruct.h:243:3: error: unknown type name 'UInt' 243 | UInt int_keys_timestamp; | ^~~~ ./H/Yatom.h:719:7: error: unknown type name 'UInt' 719 | UInt NOfClauses; | ^~~~ ./H/hstruct.h:244:3: error: unknown type name 'UInt' 244 | UInt int_bb_keys_size; | ^~~~ ./H/hlocals.h:230:3: error: unknown type name 'Int' 230 | Int ProfSGrows_; | ^~~ ./H/Yatom.h:851:7: warning: implicit declaration of function 'IsPairTerm'; did you mean 'MkPairTerm'? [-Wimplicit-function-declaration] 851 | if (IsPairTerm(X)) { | ^~~~~~~~~~ | MkPairTerm ./H/hlocals.h:231:3: error: unknown type name 'Int' 231 | Int ProfMallocs_; | ^~~ ./H/hstruct.h:265:3: error: unknown type name 'UInt' 265 | UInt atts_size; | ^~~~ ./H/Yatom.h:722:5: error: unknown type name 'CPredicate' 722 | CPredicate f_code; | ^~~~~~~~~~ ./H/hlocals.h:232:3: error: unknown type name 'Int' 232 | Int ProfIndexing_; | ^~~ ./H/hstruct.h:268:3: error: unknown type name 'Int' 268 | Int yap_flags_field[NUMBER_OF_YAP_FLAGS]; | ^~~ ./H/hlocals.h:233:3: error: unknown type name 'Int' 233 | Int ProfOn_; | ^~~ ./H/hstruct.h:275:3: error: unknown type name 'UInt' 275 | UInt n_of_file_aliases; | ^~~~ In file included from ./H/Yap.h:309, from C/amasm.c:186: ./H/amidefs.h:93:17: error: unknown type name 'Int' 93 | /* */ typedef Int DISPREG; | ^~~ ./H/Yatom.h:723:5: error: unknown type name 'CmpPredicate' 723 | CmpPredicate d_code; | ^~~~~~~~~~~~ ./H/amidefs.h:95:17: error: unknown type name 'Int' 95 | /* */ typedef Int OPREG; | ^~~ ./H/hstruct.h:276:3: error: unknown type name 'UInt' 276 | UInt sz_of_file_aliases; | ^~~~ ./H/amidefs.h:120:14: error: expected declaration specifiers or '...' before '*' token 120 | typedef Int (*CPredicate)(CACHE_TYPE1); | ^ ./H/hlocals.h:234:3: error: unknown type name 'Int' 234 | Int ProfOns_; | ^~~ ./H/amidefs.h:122:14: error: expected declaration specifiers or '...' before '*' token 122 | typedef Int (*CmpPredicate)(Term, Term); | ^ ./H/Yatom.h: At top level: ./H/YapCompoundTerm.h: In function 'HeadOfTerm': ./H/Yatom.h:729:5: error: unknown type name 'Int' 729 | Int IndxId; /* Index for a certain key */ | ^~~ ./H/hstruct.h:304:3: error: unknown type name 'UInt' 304 | UInt nofblobs; | ^~~~ ./H/YapCompoundTerm.h:73:26: warning: implicit declaration of function 'RepPair' [-Wimplicit-function-declaration] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~ ./H/hlocals.h:245:3: error: unknown type name 'UInt' 245 | UInt ibnds_[256]; | ^~~~ ./H/YapCompoundTerm.h:73:26: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~~~~~ | | | int ./H/Yatom.h:982:3: error: unknown type name 'Int' 982 | Int NOfEntries; /* age counter */ | ^~~ ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/Yatom.h:741:3: error: unknown type name 'UInt' 741 | UInt TimeStampOfPred; | ^~~~ ./H/hstruct.h:305:3: error: unknown type name 'UInt' 305 | UInt nofblobsmax; | ^~~~ ./H/YapCompoundTerm.h: In function 'TailOfTerm': ./H/YapCompoundTerm.h:83:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 83 | return (Term) (Derefa (RepPair (t) + 1)); | ~~~~~~~~~~~~^~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/Yatom.h:1132:3: error: unknown type name 'UInt' 1132 | UInt RefsOfPE; /* used to count the number of holds */ | ^~~~ In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/YapHeap.h:221:55: error: expected ')' before 'void' 221 | ADDR STD_PROTO(Yap_ExpandPreAllocCodeSpace, (UInt, void *, int)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:1199:3: error: unknown type name 'Int' 1199 | Int ArrayEArity; /* Arity of Array (positive) */ | ^~~ ./H/Yatom.h:1234:3: error: unknown type name 'Int' 1234 | Int *ints; | ^~~ In file included from C/adtdefs.c:32: ./H/Yatom.h:1476:27: error: unknown type name 'UInt' 1476 | INLINE_ONLY EXTERN inline UInt STD_PROTO(PRED_HASH, (FunctorEntry *, Term, UInt)); | ^~~~ ./H/Yatom.h: In function 'TermToDBTerm': In file included from ./H/Yap.h:841, from ./H/absmi.h:148, from C/absmi.c:497: ./H/YapCompoundTerm.h:26:8: error: unknown type name 'Int' 26 | EXTERN Int Yap_unify(Term a,Term b); | ^~~ ./H/Yatom.h:1250:3: error: unknown type name 'Int' 1250 | Int ArrayEArity; /* Arity of Array (negative) */ | ^~~ ./H/Yatom.h:851:7: warning: implicit declaration of function 'IsPairTerm'; did you mean 'MkPairTerm'? [-Wimplicit-function-declaration] 851 | if (IsPairTerm(X)) { | ^~~~~~~~~~ | MkPairTerm In file included from ./H/Yap.h:546, from C/adtdefs.c:28: ./H/Yatom.h:1476:76: error: unknown type name 'UInt' 1476 | INLINE_ONLY EXTERN inline UInt STD_PROTO(PRED_HASH, (FunctorEntry *, Term, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from C/adtdefs.c:32: ./H/Yatom.h:1478:27: error: unknown type name 'UInt' 1478 | INLINE_ONLY EXTERN inline UInt | ^~~~ In file included from ./H/Yap.h:309, from C/amasm.c:186: ./H/amidefs.h:344:32: warning: division by zero [-Wdiv-by-zero] 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yatom.h: At top level: ./H/amidefs.h:344:15: error: variably modified 'd' at file scope 344 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yatom.h:982:3: error: unknown type name 'Int' 982 | Int NOfEntries; /* age counter */ | ^~~ ./H/amidefs.h:353:7: error: unknown type name 'Int' 353 | Int a; | ^~~ In file included from ./H/Yap.h:851, from C/alloc.c:22: ./H/amiops.h: In function 'AlignGlobalForDouble': ./H/Yatom.h:1479:43: error: unknown type name 'UInt' 1479 | PRED_HASH(FunctorEntry *fe, Term cur_mod, UInt size) | ^~~~ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yatom.h:1449:60: error: unknown type name 'UInt' 1449 | DBTerm *STD_PROTO (Yap_StoreTermInDBPlusExtraSpace, (Term, UInt, UInt *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amiops.h:113:8: warning: implicit declaration of function 'DOUBLE_ALIGNED' [-Wimplicit-function-declaration] 113 | if (!DOUBLE_ALIGNED(H)) { | ^~~~~~~~~~~~~~ ./H/amidefs.h:379:7: error: unknown type name 'Int' 379 | Int s; | ^~~ ./H/amidefs.h:388:7: error: unknown type name 'CPredicate' 388 | CPredicate native; | ^~~~~~~~~~ ./H/Yatom.h:1132:3: error: unknown type name 'UInt' 1132 | UInt RefsOfPE; /* used to count the number of holds */ | ^~~~ ./H/Yatom.h: In function 'GetPredPropByFuncHavingLock': ./H/amidefs.h:436:7: error: unknown type name 'Int' 436 | Int s; | ^~~ ./H/amidefs.h:438:7: error: unknown type name 'CPredicate' 438 | CPredicate f; | ^~~~~~~~~~ ./H/Yatom.h:1531:5: error: unknown type name 'UInt' 1531 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~ In file included from ./H/Yap.h:851, from C/alloc.c:22: ./H/amiops.h: In function 'reset_trail': ./H/Yatom.h:1199:3: error: unknown type name 'Int' 1199 | Int ArrayEArity; /* Arity of Array (positive) */ | ^~~ ./H/Yatom.h:1449:66: error: unknown type name 'UInt' 1449 | DBTerm *STD_PROTO (Yap_StoreTermInDBPlusExtraSpace, (Term, UInt, UInt *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amiops.h:304:18: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 304 | CELL *pt = RepAppl(d1); | ^~~~~~~ ./H/amidefs.h:504:7: error: unknown type name 'Int' 504 | Int i; | ^~~ ./H/Yatom.h:1234:3: error: unknown type name 'Int' 1234 | Int *ints; | ^~~ ./H/YapCompoundTerm.h: In function 'ArgOfTerm': ./H/YapCompoundTerm.h:63:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 63 | return (Term) (Derefa (RepAppl (t) + (i))); | ~~~~~~~~~~~~^~~~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/amidefs.h:529:32: warning: division by zero [-Wdiv-by-zero] 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yatom.h:1250:3: error: unknown type name 'Int' 1250 | Int ArrayEArity; /* Arity of Array (negative) */ | ^~~ ./H/amidefs.h:529:15: error: variably modified 'd' at file scope 529 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amiops.h: At top level: ./H/amidefs.h:540:7: error: unknown type name 'Int' 540 | Int a; | ^~~ ./H/amiops.h:358:1: error: unknown type name 'Int' 358 | Int Yap_unify(Term t0, Term t1); | ^~~ ./H/amiops.h:361:1: error: unknown type name 'Int' 361 | Int Yap_unify(Term t0, Term t1) | ^~~ ./H/amidefs.h:605:32: warning: division by zero [-Wdiv-by-zero] 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amiops.h:374:8: error: unknown type name 'Int' 374 | EXTERN Int STD_PROTO(Yap_unify_constant,(Term,Term)); | ^~~ ./H/amidefs.h:605:15: error: variably modified 'd' at file scope 605 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amiops.h:376:15: error: unknown type name 'Int' 376 | EXTERN inline Int | ^~~ ./H/amidefs.h:618:7: error: unknown type name 'Int' 618 | Int I; | ^~~ ./H/amidefs.h:626:32: warning: division by zero [-Wdiv-by-zero] 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/amiops.h: In function 'Yap_unify_constant': In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yatom.h:1449:60: error: unknown type name 'UInt' 1449 | DBTerm *STD_PROTO (Yap_StoreTermInDBPlusExtraSpace, (Term, UInt, UInt *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:626:15: error: variably modified 'd' at file scope 626 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/YapCompoundTerm.h: In function 'HeadOfTerm': ./H/amiops.h:398:26: error: subscripted value is neither array nor pointer nor vector 398 | CELL d0 = RepAppl(a)[1]; | ^ ./H/YapCompoundTerm.h:73:26: warning: implicit declaration of function 'RepPair' [-Wimplicit-function-declaration] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~ ./H/amidefs.h:632:7: error: unknown type name 'Int' 632 | Int n; | ^~~ ./H/amiops.h:399:29: error: subscripted value is neither array nor pointer nor vector 399 | CELL d1 = RepAppl(cons)[1]; | ^ ./H/YapCompoundTerm.h:73:26: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~~~~~ | | | int ./H/Yatom.h:1531:17: warning: implicit declaration of function 'PRED_HASH' [-Wimplicit-function-declaration] 1531 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~~~~~~ ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/Yatom.h:1449:66: error: unknown type name 'UInt' 1449 | DBTerm *STD_PROTO (Yap_StoreTermInDBPlusExtraSpace, (Term, UInt, UInt *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/amidefs.h:694:7: error: unknown type name 'Int' 694 | Int i; | ^~~ ./H/YapCompoundTerm.h: In function 'TailOfTerm': ./H/YapCompoundTerm.h:83:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 83 | return (Term) (Derefa (RepPair (t) + 1)); | ~~~~~~~~~~~~^~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/amidefs.h:749:32: warning: division by zero [-Wdiv-by-zero] 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ ./H/Yatom.h: In function 'GetPredPropByFuncAndModHavingLock': ./H/amidefs.h:749:15: error: variably modified 'd' at file scope 749 | CELL d[1+SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ In file included from C/alloc.c:22: ./H/Yap.h: In function 'Yap_PopSlots': ./H/Yap.h:873:5: error: unknown type name 'Int'; did you mean 'int'? 873 | Int old_slots; | ^~~ | int ./H/Yatom.h:1589:5: error: unknown type name 'UInt' 1589 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~ ./H/amidefs.h:760:7: error: unknown type name 'Int' 760 | Int a; | ^~~ ./H/amidefs.h:793:7: error: unknown type name 'Int' 793 | Int c; | ^~~ ./H/Yap.h: In function 'Yap_CloseSlots': ./H/Yap.h:883:3: error: unknown type name 'Int'; did you mean 'int'? 883 | Int old_slots; | ^~~ | int ./H/Yap.h: At top level: ./H/Yap.h:893:15: error: unknown type name 'Int' 893 | static inline Int | ^~~ In file included from ./H/Yatom.h:1471, from ./H/clause.h:18, from ./H/absmi.h:149, from C/agc.c:21: ./H/YapHeap.h:38:14: error: expected declaration specifiers or '...' before '*' token 38 | typedef Int (*Opaque_CallOnGCMark)(int, void *, Term *, Int); | ^ In file included from C/adtdefs.c:33: ./H/yapio.h: At top level: ./H/amidefs.h:863:7: error: unknown type name 'Int' 863 | Int c; | ^~~ ./H/yapio.h:234:1: warning: parameter names (without types) in function declaration 234 | INLINE_ONLY EXTERN inline int STD_PROTO(chtype,(Int)); | ^~~~~~~~~~~ ./H/Yap.h:899:17: error: unknown type name 'Int'; did you mean 'int'? 899 | Yap_GetFromSlot(Int slot USES_REGS) | ^~~ | int ./H/YapHeap.h:39:61: error: unknown type name 'Int'; did you mean 'int'? 39 | typedef int (*Opaque_CallOnGCRelocate)(int, void *, Term *, Int); | ^~~ | int ./H/yapio.h:235:1: warning: parameter names (without types) in function declaration 235 | int STD_PROTO(Yap_wide_chtype,(Int)); | ^~~ ./H/YapHeap.h:44:3: error: unknown type name 'Opaque_CallOnGCMark' 44 | Opaque_CallOnGCMark gc_mark_handler; | ^~~~~~~~~~~~~~~~~~~ ./H/Yap.h:905:24: error: unknown type name 'Int'; did you mean 'int'? 905 | Yap_GetDerefedFromSlot(Int slot USES_REGS) | ^~~ | int ./H/YapHeap.h:45:3: error: unknown type name 'Opaque_CallOnGCRelocate' 45 | Opaque_CallOnGCRelocate gc_relocate_handler; | ^~~~~~~~~~~~~~~~~~~~~~~ ./H/amidefs.h:1054:1: error: unknown type name 'UInt' 1054 | UInt ENV_Size(yamop *cp) | ^~~~ ./H/yapio.h:238:8: error: unknown type name 'Int'; did you mean 'int'? 238 | chtype(Int ch) | ^~~ | int ./H/Yap.h:911:20: error: unknown type name 'Int'; did you mean 'int'? 911 | Yap_GetPtrFromSlot(Int slot USES_REGS) | ^~~ | int ./H/YapHeap.h:48:60: error: unknown type name 'Int'; did you mean 'int'? 48 | extern Opaque_CallOnWrite Yap_blob_write_handler_from_slot(Int slot); | ^~~ | int ./H/YapHeap.h:49:8: error: unknown type name 'Opaque_CallOnGCMark' 49 | extern Opaque_CallOnGCMark Yap_blob_gc_mark_handler(Term t); | ^~~~~~~~~~~~~~~~~~~ ./H/YapHeap.h:50:8: error: unknown type name 'Opaque_CallOnGCRelocate' 50 | extern Opaque_CallOnGCRelocate Yap_blob_gc_relocate_handler(Term t); | ^~~~~~~~~~~~~~~~~~~~~~~ ./H/Yap.h:917:21: error: unknown type name 'Int'; did you mean 'int'? 917 | Yap_AddressFromSlot(Int slot USES_REGS) | ^~~ | int In file included from ./H/Yap.h:851, from ./H/absmi.h:148, from C/absmi.c:497: ./H/amiops.h: In function 'AlignGlobalForDouble': ./H/amidefs.h:1072:1: error: unknown type name 'UInt' 1072 | UInt EnvSize(yamop *cp) | ^~~~ ./H/YapHeap.h:51:8: error: unknown type name 'Int' 51 | extern Int Yap_blob_tag_from_slot(Int slot); | ^~~ ./H/yapio.h:261:1: error: unknown type name 'Int'; did you mean 'int'? 261 | Int STD_PROTO(Yap_FirstLineInParse,(void)); | ^~~ | int ./H/Yap.h:923:15: error: unknown type name 'Int'; did you mean 'int'? 923 | Yap_PutInSlot(Int slot, Term t USES_REGS) | ^~~ | int ./H/amiops.h:113:8: warning: implicit declaration of function 'DOUBLE_ALIGNED' [-Wimplicit-function-declaration] 113 | if (!DOUBLE_ALIGNED(H)) { | ^~~~~~~~~~~~~~ ./H/YapHeap.h:51:35: error: unknown type name 'Int'; did you mean 'int'? 51 | extern Int Yap_blob_tag_from_slot(Int slot); | ^~~ | int ./H/yapio.h:270:1: error: unknown type name 'Int'; did you mean 'int'? 270 | Int STD_PROTO(Yap_GetStreamFd,(int)); | ^~~ | int In file included from ./H/Yatom.h:1471, from ./H/clause.h:18, from C/arrays.c:19: ./H/YapHeap.h:38:14: error: expected declaration specifiers or '...' before '*' token 38 | typedef Int (*Opaque_CallOnGCMark)(int, void *, Term *, Int); | ^ ./H/YapHeap.h:52:38: error: unknown type name 'Int'; did you mean 'int'? 52 | extern void *Yap_blob_info_from_slot(Int slot); | ^~~ | int ./H/YapHeap.h:70:3: error: unknown type name 'Int' 70 | Int pos; | ^~~ In file included from ./H/Yap.h:851, from ./H/absmi.h:148, from C/absmi.c:497: ./H/amiops.h: In function 'reset_trail': ./H/yapio.h:278:1: error: unknown type name 'Int'; did you mean 'int'? 278 | Int STD_PROTO(Yap_StreamToFileNo,(Term)); | ^~~ | int ./H/YapHeap.h:39:61: error: unknown type name 'Int'; did you mean 'int'? 39 | typedef int (*Opaque_CallOnGCRelocate)(int, void *, Term *, Int); | ^~~ | int ./H/amiops.h:304:18: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 304 | CELL *pt = RepAppl(d1); | ^~~~~~~ ./H/YapHeap.h:44:3: error: unknown type name 'Opaque_CallOnGCMark' 44 | Opaque_CallOnGCMark gc_mark_handler; | ^~~~~~~~~~~~~~~~~~~ In file included from ./H/Yap.h:311, from C/amasm.c:186: ./H/Regs.h:95:5: error: unknown type name 'Int' 95 | Int CurSlot_; | ^~~ In file included from ./H/YapHeap.h:163, from ./H/Yatom.h:1471, from ./H/clause.h:18, from ./H/absmi.h:149, from C/agc.c:21: ./H/hstruct.h:32:3: error: unknown type name 'UInt' 32 | UInt hole_size; | ^~~~ ./H/YapHeap.h:45:3: error: unknown type name 'Opaque_CallOnGCRelocate' 45 | Opaque_CallOnGCRelocate gc_relocate_handler; | ^~~~~~~~~~~~~~~~~~~~~~~ ./H/hstruct.h:47:3: error: unknown type name 'Int' 47 | Int heap_used; | ^~~ ./H/hstruct.h:49:3: error: unknown type name 'Int' 49 | Int heap_max; | ^~~ ./H/hstruct.h:59:3: error: unknown type name 'UInt' 59 | UInt MaxStack_; | ^~~~ ./H/hstruct.h:60:3: error: unknown type name 'UInt' 60 | UInt MaxTrail_; | ^~~~ ./H/hstruct.h:75:3: error: unknown type name 'UInt' 75 | UInt n_of_atoms; | ^~~~ ./H/YapHeap.h:48:60: error: unknown type name 'Int'; did you mean 'int'? 48 | extern Opaque_CallOnWrite Yap_blob_write_handler_from_slot(Int slot); | ^~~ | int ./H/hstruct.h:76:3: error: unknown type name 'UInt' 76 | UInt atom_hash_table_size; | ^~~~ ./H/amiops.h: At top level: ./H/hstruct.h:77:3: error: unknown type name 'UInt' 77 | UInt wide_atom_hash_table_size; | ^~~~ ./H/YapHeap.h:49:8: error: unknown type name 'Opaque_CallOnGCMark' 49 | extern Opaque_CallOnGCMark Yap_blob_gc_mark_handler(Term t); | ^~~~~~~~~~~~~~~~~~~ ./H/amiops.h:358:1: error: unknown type name 'Int' 358 | Int Yap_unify(Term t0, Term t1); | ^~~ ./H/hstruct.h:78:3: error: unknown type name 'UInt' 78 | UInt n_of_wide_atoms; | ^~~~ ./H/YapHeap.h:50:8: error: unknown type name 'Opaque_CallOnGCRelocate' 50 | extern Opaque_CallOnGCRelocate Yap_blob_gc_relocate_handler(Term t); | ^~~~~~~~~~~~~~~~~~~~~~~ ./H/amiops.h:361:1: error: unknown type name 'Int' 361 | Int Yap_unify(Term t0, Term t1) | ^~~ ./H/Regs.h:717:15: error: unknown type name 'UInt' 717 | static inline UInt | ^~~~ ./H/YapHeap.h:51:8: error: unknown type name 'Int' 51 | extern Int Yap_blob_tag_from_slot(Int slot); | ^~~ In file included from C/adtdefs.c:33: ./H/yapio.h:327:27: error: unknown type name 'UInt' 327 | INLINE_ONLY EXTERN inline UInt STD_PROTO(HashFunction, (unsigned char *)); | ^~~~ ./H/amiops.h:374:8: error: unknown type name 'Int' 374 | EXTERN Int STD_PROTO(Yap_unify_constant,(Term,Term)); | ^~~ ./H/yapio.h:328:27: error: unknown type name 'UInt' 328 | INLINE_ONLY EXTERN inline UInt STD_PROTO(WideHashFunction, (wchar_t *)); | ^~~~ In file included from C/alloc.c:23: ./H/Yatom.h:156:27: error: unknown type name 'Int' 156 | INLINE_ONLY inline EXTERN Int ArityOfFunctor (Functor); | ^~~ ./H/yapio.h:330:27: error: unknown type name 'UInt' 330 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/amiops.h:376:15: error: unknown type name 'Int' 376 | EXTERN inline Int | ^~~ ./H/YapHeap.h:51:35: error: unknown type name 'Int'; did you mean 'int'? 51 | extern Int Yap_blob_tag_from_slot(Int slot); | ^~~ | int ./H/Regs.h: In function 'CalculateStackGap': ./H/Yatom.h:158:27: error: unknown type name 'Int' 158 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/Regs.h:721:3: error: unknown type name 'UInt' 721 | UInt gmin = (LCL0-H0)>>2; | ^~~~ ./H/YapHeap.h:52:38: error: unknown type name 'Int'; did you mean 'int'? 52 | extern void *Yap_blob_info_from_slot(Int slot); | ^~~ | int ./H/Yatom.h: In function 'ArityOfFunctor': ./H/amiops.h: In function 'Yap_unify_constant': ./H/YapHeap.h:70:3: error: unknown type name 'Int' 70 | Int pos; | ^~~ ./H/Yatom.h:161:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 161 | return (Int) (((FunctorEntry *) Fun)->ArityOfFE); | ^~~ | int ./H/amiops.h:398:26: error: subscripted value is neither array nor pointer nor vector 398 | CELL d0 = RepAppl(a)[1]; | ^ ./H/yapio.h: In function 'HashFunction': ./H/yapio.h:334:3: error: unknown type name 'UInt' 334 | UInt hash = 5381; | ^~~~ ./H/amiops.h:399:29: error: subscripted value is neither array nor pointer nor vector 399 | CELL d1 = RepAppl(cons)[1]; | ^ ./H/Yatom.h: At top level: In file included from ./H/YapHeap.h:163, from ./H/Yatom.h:1471, from ./H/clause.h:18, from C/arrays.c:19: ./H/hstruct.h:32:3: error: unknown type name 'UInt' 32 | UInt hole_size; | ^~~~ ./H/Yatom.h:281:3: error: unknown type name 'UInt' 281 | UInt SizeOfAtom; /* index in module table */ | ^~~~ ./H/hstruct.h:47:3: error: unknown type name 'Int' 47 | Int heap_used; | ^~~ ./H/yapio.h:335:3: error: unknown type name 'UInt' 335 | UInt c; | ^~~~ In file included from ./H/YapHeap.h:163, from ./H/Yatom.h:1471, from ./H/clause.h:18, from ./H/absmi.h:149, from C/agc.c:21: ./H/hstruct.h:119:3: error: unknown type name 'UInt' 119 | UInt preds_in_hash_table; | ^~~~ ./H/yapio.h: At top level: ./H/hstruct.h:49:3: error: unknown type name 'Int' 49 | Int heap_max; | ^~~ ./H/yapio.h:349:27: error: unknown type name 'UInt' 349 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/hstruct.h:120:3: error: unknown type name 'UInt' 120 | UInt pred_hash_table_size; | ^~~~ ./H/hstruct.h:59:3: error: unknown type name 'UInt' 59 | UInt MaxStack_; | ^~~~ ./H/hstruct.h:60:3: error: unknown type name 'UInt' 60 | UInt MaxTrail_; | ^~~~ ./H/hstruct.h:155:3: error: unknown type name 'UInt' 155 | UInt clause_space; | ^~~~ ./H/hstruct.h:75:3: error: unknown type name 'UInt' 75 | UInt n_of_atoms; | ^~~~ ./H/hstruct.h:156:3: error: unknown type name 'UInt' 156 | UInt index_space_Tree; | ^~~~ ./H/yapio.h: In function 'WideHashFunction': ./H/hstruct.h:76:3: error: unknown type name 'UInt' 76 | UInt atom_hash_table_size; | ^~~~ ./H/hstruct.h:157:3: error: unknown type name 'UInt' 157 | UInt index_space_EXT; | ^~~~ ./H/yapio.h:352:3: error: unknown type name 'UInt' 352 | UInt hash = 5381; | ^~~~ ./H/hstruct.h:158:3: error: unknown type name 'UInt' 158 | UInt index_space_SW; | ^~~~ ./H/hstruct.h:77:3: error: unknown type name 'UInt' 77 | UInt wide_atom_hash_table_size; | ^~~~ In file included from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yap.h: In function 'Yap_PopSlots': ./H/hstruct.h:159:3: error: unknown type name 'UInt' 159 | UInt lu_clause_space; | ^~~~ ./H/hstruct.h:78:3: error: unknown type name 'UInt' 78 | UInt n_of_wide_atoms; | ^~~~ ./H/Yatom.h:711:3: error: unknown type name 'UInt' 711 | UInt ArityOfPE; /* arity of property */ | ^~~~ ./H/hstruct.h:160:3: error: unknown type name 'UInt' 160 | UInt lu_index_space_Tree; | ^~~~ ./H/yapio.h:353:3: error: unknown type name 'UInt' 353 | UInt c; | ^~~~ ./H/Yap.h:873:5: error: unknown type name 'Int'; did you mean 'int'? 873 | Int old_slots; | ^~~ | int ./H/Yatom.h:719:7: error: unknown type name 'UInt' 719 | UInt NOfClauses; | ^~~~ ./H/hstruct.h:161:3: error: unknown type name 'UInt' 161 | UInt lu_index_space_CP; | ^~~~ ./H/hstruct.h:162:3: error: unknown type name 'UInt' 162 | UInt lu_index_space_EXT; | ^~~~ ./H/hstruct.h:163:3: error: unknown type name 'UInt' 163 | UInt lu_index_space_SW; | ^~~~ ./H/Yatom.h:722:5: error: unknown type name 'CPredicate' 722 | CPredicate f_code; | ^~~~~~~~~~ ./H/Yatom.h:723:5: error: unknown type name 'CmpPredicate' 723 | CmpPredicate d_code; | ^~~~~~~~~~~~ ./H/hstruct.h:219:3: error: unknown type name 'UInt' 219 | UInt expand_clauses; | ^~~~ ./H/Yap.h: In function 'Yap_CloseSlots': ./H/Yatom.h:729:5: error: unknown type name 'Int' 729 | Int IndxId; /* Index for a certain key */ | ^~~ ./H/hstruct.h:231:3: error: unknown type name 'UInt' 231 | UInt expand_clauses_sz; | ^~~~ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h: At top level: ./H/Yap.h:883:3: error: unknown type name 'Int'; did you mean 'int'? 883 | Int old_slots; | ^~~ | int ./H/hstruct.h:236:3: error: unknown type name 'Int' 236 | Int static_predicates_marked; | ^~~ ./H/Yatom.h:741:3: error: unknown type name 'UInt' 741 | UInt TimeStampOfPred; | ^~~~ ./H/hstruct.h:242:3: error: unknown type name 'UInt' 242 | UInt int_keys_size; | ^~~~ ./H/Yap.h: At top level: ./H/hstruct.h:243:3: error: unknown type name 'UInt' 243 | UInt int_keys_timestamp; | ^~~~ ./H/Yap.h:893:15: error: unknown type name 'Int' 893 | static inline Int | ^~~ ./H/Yapproto.h:23:1: error: unknown type name 'Int'; did you mean 'int'? 23 | Int STD_PROTO(Yap_absmi,(int)); | ^~~ | int ./H/hstruct.h:244:3: error: unknown type name 'UInt' 244 | UInt int_bb_keys_size; | ^~~~ In file included from ./H/YapHeap.h:163, from ./H/Yatom.h:1471, from ./H/clause.h:18, from C/arrays.c:19: ./H/hstruct.h:119:3: error: unknown type name 'UInt' 119 | UInt preds_in_hash_table; | ^~~~ ./H/hstruct.h:265:3: error: unknown type name 'UInt' 265 | UInt atts_size; | ^~~~ ./H/Yapproto.h:28:35: error: unknown type name 'UInt' 28 | int STD_PROTO(Yap_GetName,(char *,UInt,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yap.h:899:17: error: unknown type name 'Int'; did you mean 'int'? 899 | Yap_GetFromSlot(Int slot USES_REGS) | ^~~ | int ./H/hstruct.h:120:3: error: unknown type name 'UInt' 120 | UInt pred_hash_table_size; | ^~~~ ./H/hstruct.h:268:3: error: unknown type name 'Int' 268 | Int yap_flags_field[NUMBER_OF_YAP_FLAGS]; | ^~~ ./H/hstruct.h:155:3: error: unknown type name 'UInt' 155 | UInt clause_space; | ^~~~ ./H/hstruct.h:275:3: error: unknown type name 'UInt' 275 | UInt n_of_file_aliases; | ^~~~ ./H/hstruct.h:156:3: error: unknown type name 'UInt' 156 | UInt index_space_Tree; | ^~~~ ./H/hstruct.h:157:3: error: unknown type name 'UInt' 157 | UInt index_space_EXT; | ^~~~ ./H/hstruct.h:276:3: error: unknown type name 'UInt' 276 | UInt sz_of_file_aliases; | ^~~~ ./H/hstruct.h:158:3: error: unknown type name 'UInt' 158 | UInt index_space_SW; | ^~~~ ./H/Yap.h:905:24: error: unknown type name 'Int'; did you mean 'int'? 905 | Yap_GetDerefedFromSlot(Int slot USES_REGS) | ^~~ | int ./H/hstruct.h:159:3: error: unknown type name 'UInt' 159 | UInt lu_clause_space; | ^~~~ ./H/hstruct.h:160:3: error: unknown type name 'UInt' 160 | UInt lu_index_space_Tree; | ^~~~ ./H/hstruct.h:161:3: error: unknown type name 'UInt' 161 | UInt lu_index_space_CP; | ^~~~ ./H/hstruct.h:304:3: error: unknown type name 'UInt' 304 | UInt nofblobs; | ^~~~ ./H/Yatom.h: In function 'TermToDBTerm': ./H/Yapproto.h:62:1: error: unknown type name 'Int'; did you mean 'int'? 62 | Int STD_PROTO(Yap_InitSlot,(Term CACHE_TYPE)); | ^~~ | int ./H/hstruct.h:305:3: error: unknown type name 'UInt' 305 | UInt nofblobsmax; | ^~~~ ./H/hstruct.h:162:3: error: unknown type name 'UInt' 162 | UInt lu_index_space_EXT; | ^~~~ ./H/Yap.h:911:20: error: unknown type name 'Int'; did you mean 'int'? 911 | Yap_GetPtrFromSlot(Int slot USES_REGS) | ^~~ | int ./H/hstruct.h:163:3: error: unknown type name 'UInt' 163 | UInt lu_index_space_SW; | ^~~~ ./H/Yapproto.h:63:1: error: unknown type name 'Int'; did you mean 'int'? 63 | Int STD_PROTO(Yap_NewSlots,(int CACHE_TYPE)); | ^~~ | int ./H/Yatom.h:851:7: warning: implicit declaration of function 'IsPairTerm'; did you mean 'MkPairTerm'? [-Wimplicit-function-declaration] 851 | if (IsPairTerm(X)) { | ^~~~~~~~~~ | MkPairTerm ./H/hstruct.h:219:3: error: unknown type name 'UInt' 219 | UInt expand_clauses; | ^~~~ ./H/Yapproto.h:89:1: warning: parameter names (without types) in function declaration 89 | ADDR STD_PROTO(Yap_AllocFromForeignArea,(Int)); | ^~~~ ./H/hstruct.h:231:3: error: unknown type name 'UInt' 231 | UInt expand_clauses_sz; | ^~~~ ./H/Yap.h:917:21: error: unknown type name 'Int'; did you mean 'int'? 917 | Yap_AddressFromSlot(Int slot USES_REGS) | ^~~ | int ./H/Yapproto.h:90:1: warning: parameter names (without types) in function declaration 90 | int STD_PROTO(Yap_ExtendWorkSpace,(Int)); | ^~~ ./H/hstruct.h:236:3: error: unknown type name 'Int' 236 | Int static_predicates_marked; | ^~~ ./H/Yapproto.h:93:1: warning: parameter names (without types) in function declaration 93 | void STD_PROTO(Yap_InitMemory,(UInt,UInt,UInt)); | ^~~~ ./H/hstruct.h:242:3: error: unknown type name 'UInt' 242 | UInt int_keys_size; | ^~~~ ./H/hstruct.h:243:3: error: unknown type name 'UInt' 243 | UInt int_keys_timestamp; | ^~~~ ./H/Yatom.h: At top level: ./H/hstruct.h:244:3: error: unknown type name 'UInt' 244 | UInt int_bb_keys_size; | ^~~~ ./H/Yapproto.h:123:1: error: unknown type name 'Int'; did you mean 'int'? 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/Yap.h:923:15: error: unknown type name 'Int'; did you mean 'int'? 923 | Yap_PutInSlot(Int slot, Term t USES_REGS) | ^~~ | int In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/YapHeap.h:221:55: error: expected ')' before 'void' 221 | ADDR STD_PROTO(Yap_ExpandPreAllocCodeSpace, (UInt, void *, int)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:982:3: error: unknown type name 'Int' 982 | Int NOfEntries; /* age counter */ | ^~~ ./H/hstruct.h:265:3: error: unknown type name 'UInt' 265 | UInt atts_size; | ^~~~ ./H/hstruct.h:268:3: error: unknown type name 'Int' 268 | Int yap_flags_field[NUMBER_OF_YAP_FLAGS]; | ^~~ ./H/hstruct.h:275:3: error: unknown type name 'UInt' 275 | UInt n_of_file_aliases; | ^~~~ ./H/hstruct.h:276:3: error: unknown type name 'UInt' 276 | UInt sz_of_file_aliases; | ^~~~ In file included from ./H/clause.h:18, from ./H/absmi.h:149, from C/agc.c:21: ./H/Yatom.h:1476:27: error: unknown type name 'UInt' 1476 | INLINE_ONLY EXTERN inline UInt STD_PROTO(PRED_HASH, (FunctorEntry *, Term, UInt)); | ^~~~ ./H/Yapproto.h:123:52: error: unknown type name 'CPredicate' 123 | Int STD_PROTO(YAP_Execute,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/hstruct.h:304:3: error: unknown type name 'UInt' 304 | UInt nofblobs; | ^~~~ ./H/hstruct.h:305:3: error: unknown type name 'UInt' 305 | UInt nofblobsmax; | ^~~~ ./H/Yatom.h:1132:3: error: unknown type name 'UInt' 1132 | UInt RefsOfPE; /* used to count the number of holds */ | ^~~~ ./H/Yapproto.h:124:1: error: unknown type name 'Int'; did you mean 'int'? 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~ | int ./H/Yatom.h:1199:3: error: unknown type name 'Int' 1199 | Int ArrayEArity; /* Arity of Array (positive) */ | ^~~ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yatom.h:1476:76: error: unknown type name 'UInt' 1476 | INLINE_ONLY EXTERN inline UInt STD_PROTO(PRED_HASH, (FunctorEntry *, Term, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/clause.h:18, from ./H/absmi.h:149, from C/absmi.c:497: ./H/Yatom.h:156:27: error: unknown type name 'Int' 156 | INLINE_ONLY inline EXTERN Int ArityOfFunctor (Functor); | ^~~ ./H/Yapproto.h:124:57: error: unknown type name 'CPredicate' 124 | Int STD_PROTO(YAP_ExecuteFirst,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:158:27: error: unknown type name 'Int' 158 | INLINE_ONLY inline EXTERN Int | ^~~ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/YapHeap.h:221:55: error: expected ')' before 'void' 221 | ADDR STD_PROTO(Yap_ExpandPreAllocCodeSpace, (UInt, void *, int)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:1234:3: error: unknown type name 'Int' 1234 | Int *ints; | ^~~ ./H/Yapproto.h:125:1: error: unknown type name 'Int'; did you mean 'int'? 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~ | int In file included from ./H/clause.h:18, from ./H/absmi.h:149, from C/agc.c:21: ./H/Yatom.h:1478:27: error: unknown type name 'UInt' 1478 | INLINE_ONLY EXTERN inline UInt | ^~~~ C/adtdefs.c: In function 'LookupWideAtom': ./H/Yatom.h: In function 'ArityOfFunctor': In file included from ./H/clause.h:18, from C/arrays.c:19: ./H/Yatom.h:1476:27: error: unknown type name 'UInt' 1476 | INLINE_ONLY EXTERN inline UInt STD_PROTO(PRED_HASH, (FunctorEntry *, Term, UInt)); | ^~~~ C/adtdefs.c:221:3: error: unknown type name 'UInt' 221 | UInt sz; | ^~~~ ./H/Yatom.h:161:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 161 | return (Int) (((FunctorEntry *) Fun)->ArityOfFE); | ^~~ | int ./H/Yatom.h:1250:3: error: unknown type name 'Int' 1250 | Int ArrayEArity; /* Arity of Array (negative) */ | ^~~ ./H/Yapproto.h:125:56: error: unknown type name 'CPredicate' 125 | Int STD_PROTO(YAP_ExecuteNext,(struct pred_entry *, CPredicate)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h: At top level: ./H/Yapproto.h:126:1: error: unknown type name 'Int'; did you mean 'int'? 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~ | int ./H/Yatom.h:281:3: error: unknown type name 'UInt' 281 | UInt SizeOfAtom; /* index in module table */ | ^~~~ ./H/Yatom.h:1479:43: error: unknown type name 'UInt' 1479 | PRED_HASH(FunctorEntry *fe, Term cur_mod, UInt size) | ^~~~ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/Yatom.h:1476:76: error: unknown type name 'UInt' 1476 | INLINE_ONLY EXTERN inline UInt STD_PROTO(PRED_HASH, (FunctorEntry *, Term, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:126:57: error: unknown type name 'CPredicate' 126 | Int STD_PROTO(YAP_ExecuteOnCut,(struct pred_entry *, CPredicate, struct cut_c_str *)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/clause.h:18, from C/arrays.c:19: ./H/Yatom.h:1478:27: error: unknown type name 'UInt' 1478 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/Yatom.h: In function 'GetPredPropByFuncHavingLock': ./H/Yapproto.h:144:1: error: unknown type name 'Int'; did you mean 'int'? 144 | Int STD_PROTO(Yap_compare_terms,(Term,Term)); | ^~~ | int In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yatom.h:1449:60: error: unknown type name 'UInt' 1449 | DBTerm *STD_PROTO (Yap_StoreTermInDBPlusExtraSpace, (Term, UInt, UInt *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:148:38: error: unknown type name 'Int'; did you mean 'int'? 148 | yamop *STD_PROTO(Yap_cclause,(Term, Int, Term, Term)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:1531:5: error: unknown type name 'UInt' 1531 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~ ./H/Yatom.h:1479:43: error: unknown type name 'UInt' 1479 | PRED_HASH(FunctorEntry *fe, Term cur_mod, UInt size) | ^~~~ ./H/Yapproto.h:160:8: warning: parameter names (without types) in function declaration 160 | struct pred_entry *STD_PROTO(Yap_FindLUIntKey,(Int)); | ^~~~~~~~~~ C/adtdefs.c: In function 'Yap_ReleaseAtom': C/adtdefs.c:398:12: error: unknown type name 'Int' 398 | register Int hash; | ^~~ ./H/Yapproto.h:178:1: error: unknown type name 'Int'; did you mean 'int'? 178 | Int STD_PROTO(Yap_JumpToEnv,(Term)); | ^~~ | int ./H/Yatom.h: In function 'GetPredPropByFuncHavingLock': ./H/Yatom.h:1449:66: error: unknown type name 'UInt' 1449 | DBTerm *STD_PROTO (Yap_StoreTermInDBPlusExtraSpace, (Term, UInt, UInt *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:181:1: error: unknown type name 'Int'; did you mean 'int'? 181 | Int STD_PROTO(Yap_execute_goal,(Term, int, Term)); | ^~~ | int ./H/Yatom.h:711:3: error: unknown type name 'UInt' 711 | UInt ArityOfPE; /* arity of property */ | ^~~~ ./H/Yatom.h:1531:5: error: unknown type name 'UInt' 1531 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~ ./H/Yapproto.h:182:1: error: unknown type name 'Int'; did you mean 'int'? 182 | Int STD_PROTO(Yap_exec_absmi,(int)); | ^~~ | int ./H/Yatom.h:719:7: error: unknown type name 'UInt' 719 | UInt NOfClauses; | ^~~~ ./H/Yapproto.h:200:35: error: expected ')' before 'CELL' 200 | Term STD_PROTO(Yap_NewArena,(UInt,CELL *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:722:5: error: unknown type name 'CPredicate' 722 | CPredicate f_code; | ^~~~~~~~~~ ./H/Yapproto.h:201:44: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:723:5: error: unknown type name 'CmpPredicate' 723 | CmpPredicate d_code; | ^~~~~~~~~~~~ ./H/Yapproto.h:201:49: error: unknown type name 'UInt' 201 | CELL *STD_PROTO(Yap_GetFromArena,(Term *,UInt,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:729:5: error: unknown type name 'Int' 729 | Int IndxId; /* Index for a certain key */ | ^~~ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:205:1: error: unknown type name 'Int'; did you mean 'int'? 205 | Int STD_PROTO(Yap_DeleteGlobal, (Atom)); | ^~~ | int In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:206:53: error: expected ')' before 'int' 206 | void STD_PROTO(Yap_AllocateDefaultArena, (Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:741:3: error: unknown type name 'UInt' 741 | UInt TimeStampOfPred; | ^~~~ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:209:1: error: unknown type name 'Int'; did you mean 'int'? 209 | Int STD_PROTO(Yap_total_stack_shift_time,(void)); | ^~~ | int C/adtdefs.c: In function 'ExpandPredHash': ./H/Yapproto.h:211:1: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ C/adtdefs.c:742:3: error: unknown type name 'UInt' 742 | UInt new_size = PredHashTableSize+PredHashIncrement; | ^~~~ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:211:48: error: unknown type name 'UInt' 211 | UInt STD_PROTO(Yap_InsertInGlobal, (CELL *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:222:1: error: unknown type name 'Int'; did you mean 'int'? 222 | Int STD_PROTO(Yap_total_gc_time,(void)); | ^~~ | int In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:225:30: error: expected ')' before 'CELL' 225 | int STD_PROTO(Yap_gc, (Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:1531:17: warning: implicit declaration of function 'PRED_HASH' [-Wimplicit-function-declaration] 1531 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~~~~~~ ./H/Yapproto.h:226:37: error: expected ')' before 'CELL' 226 | int STD_PROTO(Yap_gcl, (UInt, Int, CELL *, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h: In function 'TermToDBTerm': ./H/Yapproto.h:236:58: error: unknown type name 'CPredicate' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from C/adtdefs.c:32: ./H/Yatom.h:1474:37: error: 'UInt' undeclared (first use in this function) 1474 | #define PredHashIncrement ((UInt)7919) | ^~~~ C/adtdefs.c:742:37: note: in expansion of macro 'PredHashIncrement' 742 | UInt new_size = PredHashTableSize+PredHashIncrement; | ^~~~~~~~~~~~~~~~~ ./H/Yatom.h:851:7: warning: implicit declaration of function 'IsPairTerm'; did you mean 'MkPairTerm'? [-Wimplicit-function-declaration] 851 | if (IsPairTerm(X)) { | ^~~~~~~~~~ | MkPairTerm ./H/Yatom.h: In function 'GetPredPropByFuncAndModHavingLock': ./H/Yapproto.h:236:70: error: unknown type name 'UInt' 236 | void STD_PROTO(Yap_InitCPred,(char *, unsigned long int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:1589:5: error: unknown type name 'UInt' 1589 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~ In file included from ./H/Yatom.h:1471, from C/alloc.c:23: ./H/YapHeap.h:38:14: error: expected declaration specifiers or '...' before '*' token 38 | typedef Int (*Opaque_CallOnGCMark)(int, void *, Term *, Int); | ^ ./H/Yatom.h: At top level: ./H/Yapproto.h:237:65: error: unknown type name 'CPredicate' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:982:3: error: unknown type name 'Int' 982 | Int NOfEntries; /* age counter */ | ^~~ ./H/YapHeap.h:39:61: error: unknown type name 'Int'; did you mean 'int'? 39 | typedef int (*Opaque_CallOnGCRelocate)(int, void *, Term *, Int); | ^~~ | int ./H/Yapproto.h:237:77: error: unknown type name 'UInt' 237 | void STD_PROTO(Yap_InitAsmPred,(char *, unsigned long int, int, CPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from C/arrays.c:19: ./H/clause.h: At top level: ./H/Yatom.h:1474:42: error: expected ')' before numeric constant 1474 | #define PredHashIncrement ((UInt)7919) | ~ ^~~~ C/adtdefs.c:742:37: note: in expansion of macro 'PredHashIncrement' 742 | UInt new_size = PredHashTableSize+PredHashIncrement; | ^~~~~~~~~~~~~~~~~ ./H/YapHeap.h:44:3: error: unknown type name 'Opaque_CallOnGCMark' 44 | Opaque_CallOnGCMark gc_mark_handler; | ^~~~~~~~~~~~~~~~~~~ ./H/YapHeap.h:45:3: error: unknown type name 'Opaque_CallOnGCRelocate' 45 | Opaque_CallOnGCRelocate gc_relocate_handler; | ^~~~~~~~~~~~~~~~~~~~~~~ ./H/clause.h:27:3: error: unknown type name 'UInt' 27 | UInt c; | ^~~~ ./H/clause.h:44:3: error: unknown type name 'UInt' 44 | UInt ClRefCount; | ^~~~ ./H/clause.h:49:3: error: unknown type name 'UInt' 49 | UInt ClSize; | ^~~~ ./H/clause.h:70:3: error: unknown type name 'UInt' 70 | UInt ClSize; | ^~~~ C/adtdefs.c:745:7: error: expected ';' before 'i' 745 | UInt i; | ^~ | ; ./H/clause.h:73:3: error: unknown type name 'UInt' 73 | UInt ClRefCount; | ^~~~ ./H/Yatom.h:1132:3: error: unknown type name 'UInt' 1132 | UInt RefsOfPE; /* used to count the number of holds */ | ^~~~ ./H/clause.h:81:3: error: unknown type name 'UInt' 81 | UInt ClTimeStart, ClTimeEnd; | ^~~~ ./H/YapHeap.h:48:60: error: unknown type name 'Int'; did you mean 'int'? 48 | extern Opaque_CallOnWrite Yap_blob_write_handler_from_slot(Int slot); | ^~~ | int ./H/Yapproto.h:238:60: error: unknown type name 'CmpPredicate' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapHeap.h:49:8: error: unknown type name 'Opaque_CallOnGCMark' 49 | extern Opaque_CallOnGCMark Yap_blob_gc_mark_handler(Term t); | ^~~~~~~~~~~~~~~~~~~ ./H/clause.h:87:52: error: expected ')' before 'struct' 87 | INLINE_ONLY inline EXTERN int VALID_TIMESTAMP(UInt, struct logic_upd_clause *); | ^~~~~~~ | ) ./H/YapHeap.h:50:8: error: unknown type name 'Opaque_CallOnGCRelocate' 50 | extern Opaque_CallOnGCRelocate Yap_blob_gc_relocate_handler(Term t); | ^~~~~~~~~~~~~~~~~~~~~~~ ./H/Yapproto.h:238:74: error: unknown type name 'UInt' 238 | void STD_PROTO(Yap_InitCmpPred,(char *, unsigned long int, CmpPredicate, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/adtdefs.c:750:8: error: 'i' undeclared (first use in this function) 750 | for (i = 0; i < new_size; i++) { | ^ ./H/YapHeap.h:51:8: error: unknown type name 'Int' 51 | extern Int Yap_blob_tag_from_slot(Int slot); | ^~~ ./H/Yatom.h:1199:3: error: unknown type name 'Int' 1199 | Int ArrayEArity; /* Arity of Array (positive) */ | ^~~ ./H/clause.h:90:17: error: unknown type name 'UInt' 90 | VALID_TIMESTAMP(UInt timestamp, struct logic_upd_clause *cl) | ^~~~ ./H/clause.h:102:3: error: unknown type name 'UInt' 102 | UInt ClSize; | ^~~~ ./H/clause.h:103:3: error: unknown type name 'UInt' 103 | UInt ClRefCount; | ^~~~ ./H/clause.h:112:3: error: unknown type name 'UInt' 112 | UInt ClSize; | ^~~~ ./H/clause.h:123:3: error: unknown type name 'UInt' 123 | UInt ClSize; | ^~~~ C/adtdefs.c:758:11: error: expected ';' before 'hsh' 758 | UInt hsh = PRED_HASH(p->FunctorOfPred, p->ModuleOfPred, new_size); | ^~~~ | ; ./H/Yatom.h:1234:3: error: unknown type name 'Int' 1234 | Int *ints; | ^~~ ./H/Yapproto.h:239:76: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/clause.h:136:3: error: unknown type name 'UInt' 136 | UInt ClSize; | ^~~~ ./H/clause.h:138:3: error: unknown type name 'UInt' 138 | UInt ClItemSize; | ^~~~ ./H/clause.h:164:3: error: unknown type name 'UInt' 164 | UInt nels; | ^~~~ ./H/YapHeap.h:51:35: error: unknown type name 'Int'; did you mean 'int'? 51 | extern Int Yap_blob_tag_from_slot(Int slot); | ^~~ | int ./H/clause.h:165:3: error: unknown type name 'UInt' 165 | UInt arity; | ^~~~ ./H/Yatom.h:1250:3: error: unknown type name 'Int' 1250 | Int ArrayEArity; /* Arity of Array (negative) */ | ^~~ ./H/clause.h:169:3: error: unknown type name 'UInt' 169 | UInt ncollisions; | ^~~~ C/adtdefs.c:759:36: error: 'hsh' undeclared (first use in this function) 759 | p->NextOfPE = AbsPredProp(np[hsh]); | ^~~ ./H/clause.h:170:3: error: unknown type name 'UInt' 170 | UInt ntrys; | ^~~~ ./H/Yapproto.h:239:87: error: unknown type name 'CPredicate' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/clause.h:171:3: error: unknown type name 'UInt' 171 | UInt nentries; | ^~~~ ./H/clause.h:172:3: error: unknown type name 'UInt' 172 | UInt hsize; | ^~~~ ./H/clause.h:179:28: error: unknown type name 'UInt' 179 | INLINE_ONLY EXTERN inline UInt EXO_ADDRESS_TO_OFFSET(struct index_t *it, CELL *ptr); | ^~~~ ./H/YapHeap.h:52:38: error: unknown type name 'Int'; did you mean 'int'? 52 | extern void *Yap_blob_info_from_slot(Int slot); | ^~~ | int ./H/clause.h:181:29: error: unknown type name 'UInt' 181 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/Yapproto.h:239:98: error: unknown type name 'UInt' 239 | void STD_PROTO(Yap_InitCPredBack,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapHeap.h:70:3: error: unknown type name 'Int' 70 | Int pos; | ^~~ ./H/clause.h:187:76: error: unknown type name 'UInt' 187 | INLINE_ONLY EXTERN inline CELL *EXO_OFFSET_TO_ADDRESS(struct index_t *it, UInt off); | ^~~~ In file included from ./H/YapHeap.h:163, from ./H/Yatom.h:1471, from C/alloc.c:23: ./H/hstruct.h:32:3: error: unknown type name 'UInt' 32 | UInt hole_size; | ^~~~ ./H/hstruct.h:47:3: error: unknown type name 'Int' 47 | Int heap_used; | ^~~ ./H/hstruct.h:49:3: error: unknown type name 'Int' 49 | Int heap_max; | ^~~ C/adtdefs.c: In function 'Yap_NewPredPropByFunctor': ./H/hstruct.h:59:3: error: unknown type name 'UInt' 59 | UInt MaxStack_; | ^~~~ ./H/Yapproto.h:240:79: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/hstruct.h:60:3: error: unknown type name 'UInt' 60 | UInt MaxTrail_; | ^~~~ ./H/clause.h:190:43: error: unknown type name 'UInt' 190 | EXO_OFFSET_TO_ADDRESS(struct index_t *it, UInt off) | ^~~~ ./H/hstruct.h:75:3: error: unknown type name 'UInt' 75 | UInt n_of_atoms; | ^~~~ ./H/hstruct.h:76:3: error: unknown type name 'UInt' 76 | UInt atom_hash_table_size; | ^~~~ ./H/hstruct.h:77:3: error: unknown type name 'UInt' 77 | UInt wide_atom_hash_table_size; | ^~~~ C/adtdefs.c:785:5: error: unknown type name 'UInt' 785 | UInt hsh = PRED_HASH(fe, cur_mod, PredHashTableSize); | ^~~~ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yatom.h:1449:60: error: unknown type name 'UInt' 1449 | DBTerm *STD_PROTO (Yap_StoreTermInDBPlusExtraSpace, (Term, UInt, UInt *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/hstruct.h:78:3: error: unknown type name 'UInt' 78 | UInt n_of_wide_atoms; | ^~~~ ./H/Yatom.h:1531:17: warning: implicit declaration of function 'PRED_HASH' [-Wimplicit-function-declaration] 1531 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~~~~~~ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/clause.h:239:40: error: unknown type name 'UInt' 239 | void STD_PROTO(Yap_IPred,(PredEntry *, UInt, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:240:90: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:1449:66: error: unknown type name 'UInt' 1449 | DBTerm *STD_PROTO (Yap_StoreTermInDBPlusExtraSpace, (Term, UInt, UInt *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from C/arrays.c:19: ./H/clause.h:250:1: error: unknown type name 'Int'; did you mean 'int'? 250 | Int STD_PROTO(Yap_Recordz,(Atom, Term)); | ^~~ | int ./H/Yapproto.h:240:101: error: unknown type name 'CPredicate' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/clause.h:256:54: error: unknown type name 'UInt' 256 | yamop *STD_PROTO(Yap_PredIsIndexable,(PredEntry *, UInt, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h: In function 'GetPredPropByFuncAndModHavingLock': ./H/Yapproto.h:240:112: error: unknown type name 'UInt' 240 | void STD_PROTO(Yap_InitCPredBackCut,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/clause.h:257:50: error: unknown type name 'UInt' 257 | yamop *STD_PROTO(Yap_ExpandIndex,(PredEntry *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/YapHeap.h:163, from ./H/Yatom.h:1471, from C/alloc.c:23: ./H/hstruct.h:119:3: error: unknown type name 'UInt' 119 | UInt preds_in_hash_table; | ^~~~ ./H/hstruct.h:120:3: error: unknown type name 'UInt' 120 | UInt pred_hash_table_size; | ^~~~ ./H/hstruct.h:155:3: error: unknown type name 'UInt' 155 | UInt clause_space; | ^~~~ ./H/Yatom.h:1589:5: error: unknown type name 'UInt' 1589 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~ ./H/hstruct.h:156:3: error: unknown type name 'UInt' 156 | UInt index_space_Tree; | ^~~~ ./H/clause.h:262:53: error: unknown type name 'Int'; did you mean 'int'? 262 | LogUpdClause *STD_PROTO(Yap_NthClause,(PredEntry *,Int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/hstruct.h:157:3: error: unknown type name 'UInt' 157 | UInt index_space_EXT; | ^~~~ C/adtdefs.c: In function 'Yap_PredPropByFunctorNonThreadLocal': ./H/hstruct.h:158:3: error: unknown type name 'UInt' 158 | UInt index_space_SW; | ^~~~ ./H/Yapproto.h:242:80: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/hstruct.h:159:3: error: unknown type name 'UInt' 159 | UInt lu_clause_space; | ^~~~ ./H/hstruct.h:160:3: error: unknown type name 'UInt' 160 | UInt lu_index_space_Tree; | ^~~~ ./H/hstruct.h:161:3: error: unknown type name 'UInt' 161 | UInt lu_index_space_CP; | ^~~~ C/adtdefs.c:999:5: error: unknown type name 'UInt' 999 | UInt hash = PRED_HASH(f,cur_mod,PredHashTableSize); | ^~~~ ./H/hstruct.h:162:3: error: unknown type name 'UInt' 162 | UInt lu_index_space_EXT; | ^~~~ ./H/hstruct.h:163:3: error: unknown type name 'UInt' 163 | UInt lu_index_space_SW; | ^~~~ In file included from C/arrays.c:19: ./H/clause.h: In function 'Yap_MkStaticRefTerm': ./H/clause.h:329:25: error: 'Int' undeclared (first use in this function); did you mean 'int'? 329 | t[0] = MkIntegerTerm((Int)cp); | ^~~ | int ./H/hstruct.h:219:3: error: unknown type name 'UInt' 219 | UInt expand_clauses; | ^~~~ ./H/Yapproto.h:242:91: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/hstruct.h:231:3: error: unknown type name 'UInt' 231 | UInt expand_clauses_sz; | ^~~~ In file included from ./H/absmi.h:149, from C/agc.c:21: ./H/clause.h: At top level: ./H/clause.h:329:29: error: expected ')' before 'cp' 329 | t[0] = MkIntegerTerm((Int)cp); | ^~ | ) ./H/hstruct.h:236:3: error: unknown type name 'Int' 236 | Int static_predicates_marked; | ^~~ ./H/clause.h:27:3: error: unknown type name 'UInt' 27 | UInt c; | ^~~~ ./H/hstruct.h:242:3: error: unknown type name 'UInt' 242 | UInt int_keys_size; | ^~~~ C/adtdefs.c: In function 'Yap_PutValue': ./H/hstruct.h:243:3: error: unknown type name 'UInt' 243 | UInt int_keys_timestamp; | ^~~~ ./H/clause.h:44:3: error: unknown type name 'UInt' 44 | UInt ClRefCount; | ^~~~ ./H/clause.h:49:3: error: unknown type name 'UInt' 49 | UInt ClSize; | ^~~~ ./H/Yapproto.h:242:102: error: unknown type name 'CPredicate' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~~~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/adtdefs.c:1115:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1115 | pt = RepAppl(t0); | ^ ./H/clause.h: In function 'Yap_MkMegaRefTerm': ./H/clause.h:70:3: error: unknown type name 'UInt' 70 | UInt ClSize; | ^~~~ ./H/hstruct.h:244:3: error: unknown type name 'UInt' 244 | UInt int_bb_keys_size; | ^~~~ ./H/Yapproto.h:242:113: error: unknown type name 'UInt' 242 | void STD_PROTO(Yap_InitCPredBack_,(char *, unsigned long int, unsigned int, CPredicate,CPredicate,CPredicate,UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/clause.h:343:25: error: 'Int' undeclared (first use in this function); did you mean 'int'? 343 | t[0] = MkIntegerTerm((Int)ap); | ^~~ | int ./H/clause.h:73:3: error: unknown type name 'UInt' 73 | UInt ClRefCount; | ^~~~ ./H/Yapproto.h:244:60: error: expected ')' before 'int' 244 | void STD_PROTO(Yap_InitWorkspace,(UInt,UInt,UInt,UInt,UInt,int,int,int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/hstruct.h:265:3: error: unknown type name 'UInt' 265 | UInt atts_size; | ^~~~ ./H/clause.h:81:3: error: unknown type name 'UInt' 81 | UInt ClTimeStart, ClTimeEnd; | ^~~~ ./H/clause.h:343:29: error: expected ')' before 'ap' 343 | t[0] = MkIntegerTerm((Int)ap); | ^~ | ) ./H/hstruct.h:268:3: error: unknown type name 'Int' 268 | Int yap_flags_field[NUMBER_OF_YAP_FLAGS]; | ^~~ ./H/clause.h:87:52: error: expected ')' before 'struct' 87 | INLINE_ONLY inline EXTERN int VALID_TIMESTAMP(UInt, struct logic_upd_clause *); | ^~~~~~~ | ) ./H/hstruct.h:275:3: error: unknown type name 'UInt' 275 | UInt n_of_file_aliases; | ^~~~ ./H/clause.h:344:29: error: expected ')' before 'ipc' 344 | t[1] = MkIntegerTerm((Int)ipc); | ^~~ | ) C/adtdefs.c:1135:5: error: unknown type name 'Int'; did you mean 'int'? 1135 | Int val = LongIntOfTerm(v); | ^~~ | int ./H/hstruct.h:276:3: error: unknown type name 'UInt' 276 | UInt sz_of_file_aliases; | ^~~~ In file included from ./H/Yatom.h:1471, from ./H/clause.h:18, from ./H/absmi.h:149, from C/absmi.c:497: ./H/YapHeap.h:38:14: error: expected declaration specifiers or '...' before '*' token 38 | typedef Int (*Opaque_CallOnGCMark)(int, void *, Term *, Int); | ^ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:351:1: error: unknown type name 'UInt' 351 | UInt STD_PROTO(Yap_cputime,(void)); | ^~~~ ./H/hstruct.h:304:3: error: unknown type name 'UInt' 304 | UInt nofblobs; | ^~~~ C/adtdefs.c:1138:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1138 | pt = RepAppl(t0); | ^ ./H/hstruct.h:305:3: error: unknown type name 'UInt' 305 | UInt nofblobsmax; | ^~~~ ./H/clause.h: At top level: ./H/clause.h:90:17: error: unknown type name 'UInt' 90 | VALID_TIMESTAMP(UInt timestamp, struct logic_upd_clause *cl) | ^~~~ ./H/YapHeap.h:39:61: error: unknown type name 'Int'; did you mean 'int'? 39 | typedef int (*Opaque_CallOnGCRelocate)(int, void *, Term *, Int); | ^~~ | int ./H/clause.h:366:1: error: unknown type name 'Int'; did you mean 'int'? 366 | Int STD_PROTO(Yap_PredForCode,(yamop *, find_pred_type, Atom *, UInt *, Term *)); | ^~~ | int ./H/YapHeap.h:44:3: error: unknown type name 'Opaque_CallOnGCMark' 44 | Opaque_CallOnGCMark gc_mark_handler; | ^~~~~~~~~~~~~~~~~~~ ./H/Yapproto.h:352:1: error: unknown type name 'Int'; did you mean 'int'? 352 | Int STD_PROTO(Yap_walltime,(void)); | ^~~ | int ./H/YapHeap.h:45:3: error: unknown type name 'Opaque_CallOnGCRelocate' 45 | Opaque_CallOnGCRelocate gc_relocate_handler; | ^~~~~~~~~~~~~~~~~~~~~~~ ./H/clause.h:102:3: error: unknown type name 'UInt' 102 | UInt ClSize; | ^~~~ ./H/clause.h:103:3: error: unknown type name 'UInt' 103 | UInt ClRefCount; | ^~~~ ./H/clause.h:112:3: error: unknown type name 'UInt' 112 | UInt ClSize; | ^~~~ In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/clause.h:366:73: error: unknown type name 'UInt' 366 | Int STD_PROTO(Yap_PredForCode,(yamop *, find_pred_type, Atom *, UInt *, Term *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapHeap.h:48:60: error: unknown type name 'Int'; did you mean 'int'? 48 | extern Opaque_CallOnWrite Yap_blob_write_handler_from_slot(Int slot); | ^~~ | int ./H/clause.h:123:3: error: unknown type name 'UInt' 123 | UInt ClSize; | ^~~~ ./H/YapHeap.h:49:8: error: unknown type name 'Opaque_CallOnGCMark' 49 | extern Opaque_CallOnGCMark Yap_blob_gc_mark_handler(Term t); | ^~~~~~~~~~~~~~~~~~~ In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/YapHeap.h:221:55: error: expected ')' before 'void' 221 | ADDR STD_PROTO(Yap_ExpandPreAllocCodeSpace, (UInt, void *, int)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapHeap.h:50:8: error: unknown type name 'Opaque_CallOnGCRelocate' 50 | extern Opaque_CallOnGCRelocate Yap_blob_gc_relocate_handler(Term t); | ^~~~~~~~~~~~~~~~~~~~~~~ ./H/clause.h:136:3: error: unknown type name 'UInt' 136 | UInt ClSize; | ^~~~ ./H/YapHeap.h:51:8: error: unknown type name 'Int' 51 | extern Int Yap_blob_tag_from_slot(Int slot); | ^~~ ./H/clause.h:368:61: error: unknown type name 'UInt' 368 | LogUpdClause *STD_PROTO(Yap_new_ludbe,(Term, PredEntry *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:361:41: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapHeap.h:51:35: error: unknown type name 'Int'; did you mean 'int'? 51 | extern Int Yap_blob_tag_from_slot(Int slot); | ^~~ | int In file included from C/alloc.c:23: ./H/Yatom.h:1476:27: error: unknown type name 'UInt' 1476 | INLINE_ONLY EXTERN inline UInt STD_PROTO(PRED_HASH, (FunctorEntry *, Term, UInt)); | ^~~~ ./H/clause.h:369:59: error: unknown type name 'UInt' 369 | Term STD_PROTO(Yap_LUInstance,(LogUpdClause *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:361:47: error: unknown type name 'Int'; did you mean 'int'? 361 | void STD_PROTO(Yap_cputime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapHeap.h:52:38: error: unknown type name 'Int'; did you mean 'int'? 52 | extern void *Yap_blob_info_from_slot(Int slot); | ^~~ | int ./H/YapHeap.h:70:3: error: unknown type name 'Int' 70 | Int pos; | ^~~ ./H/Yapproto.h:362:41: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/YapHeap.h:163, from ./H/Yatom.h:1471, from ./H/clause.h:18, from ./H/absmi.h:149, from C/absmi.c:497: ./H/hstruct.h:32:3: error: unknown type name 'UInt' 32 | UInt hole_size; | ^~~~ ./H/hstruct.h:47:3: error: unknown type name 'Int' 47 | Int heap_used; | ^~~ ./H/Yapproto.h:362:47: error: unknown type name 'Int'; did you mean 'int'? 362 | void STD_PROTO(Yap_systime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/adtdefs.c: At top level: ./H/hstruct.h:49:3: error: unknown type name 'Int' 49 | Int heap_max; | ^~~ ./H/Yapproto.h:363:42: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/adtdefs.c:1404:22: error: unknown type name 'UInt' 1404 | Yap_GetName(char *s, UInt max, Term t) | ^~~~ ./H/hstruct.h:59:3: error: unknown type name 'UInt' 59 | UInt MaxStack_; | ^~~~ ./H/Yapproto.h:363:48: error: unknown type name 'Int'; did you mean 'int'? 363 | void STD_PROTO(Yap_walltime_interval,(Int *,Int *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/hstruct.h:60:3: error: unknown type name 'UInt' 60 | UInt MaxTrail_; | ^~~~ ./H/hstruct.h:75:3: error: unknown type name 'UInt' 75 | UInt n_of_atoms; | ^~~~ ./H/hstruct.h:76:3: error: unknown type name 'UInt' 76 | UInt atom_hash_table_size; | ^~~~ ./H/hstruct.h:77:3: error: unknown type name 'UInt' 77 | UInt wide_atom_hash_table_size; | ^~~~ ./H/hstruct.h:78:3: error: unknown type name 'UInt' 78 | UInt n_of_wide_atoms; | ^~~~ In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/Yatom.h:1476:76: error: unknown type name 'UInt' 1476 | INLINE_ONLY EXTERN inline UInt STD_PROTO(PRED_HASH, (FunctorEntry *, Term, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:404:56: error: unknown type name 'UInt' 404 | size_t STD_PROTO(Yap_ExportTerm,(Term, char *, size_t, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/adtdefs.c:1462:1: error: unknown type name 'Int'; did you mean 'int'? 1462 | Int | ^~~ | int In file included from C/alloc.c:23: ./H/Yatom.h:1478:27: error: unknown type name 'UInt' 1478 | INLINE_ONLY EXTERN inline UInt | ^~~~ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:414:1: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ | int C/adtdefs.c: In function 'Yap_NewSlots': In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:414:39: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yapproto.h:414:44: error: unknown type name 'Int'; did you mean 'int'? 414 | Int STD_PROTO(Yap_TermHash,(Term, Int, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:1479:43: error: unknown type name 'UInt' 1479 | PRED_HASH(FunctorEntry *fe, Term cur_mod, UInt size) | ^~~~ C/adtdefs.c:1465:3: error: unknown type name 'Int'; did you mean 'int'? 1465 | Int old_slots = IntOfTerm(ASP[0]), oldn = n; | ^~~ | int In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:415:1: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ | int C/adtdefs.c: At top level: In file included from ./H/YapHeap.h:163, from ./H/Yatom.h:1471, from ./H/clause.h:18, from ./H/absmi.h:149, from C/absmi.c:497: ./H/hstruct.h:119:3: error: unknown type name 'UInt' 119 | UInt preds_in_hash_table; | ^~~~ ./H/hstruct.h:120:3: error: unknown type name 'UInt' 120 | UInt pred_hash_table_size; | ^~~~ ./H/Yatom.h: In function 'GetPredPropByFuncHavingLock': In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:415:41: error: unknown type name 'Int'; did you mean 'int'? 415 | Int STD_PROTO(Yap_NumberVars,(Term, Int, int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/hstruct.h:155:3: error: unknown type name 'UInt' 155 | UInt clause_space; | ^~~~ ./H/hstruct.h:156:3: error: unknown type name 'UInt' 156 | UInt index_space_Tree; | ^~~~ ./H/Yatom.h:1531:5: error: unknown type name 'UInt' 1531 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~ C/adtdefs.c:1476:1: error: unknown type name 'Int'; did you mean 'int'? 1476 | Int | ^~~ | int ./H/hstruct.h:157:3: error: unknown type name 'UInt' 157 | UInt index_space_EXT; | ^~~~ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yapproto.h:417:1: error: unknown type name 'Int'; did you mean 'int'? 417 | Int STD_PROTO(Yap_SkipList,(Term *, Term **)); | ^~~ | int ./H/hstruct.h:158:3: error: unknown type name 'UInt' 158 | UInt index_space_SW; | ^~~~ ./H/hstruct.h:159:3: error: unknown type name 'UInt' 159 | UInt lu_clause_space; | ^~~~ C/adtdefs.c: In function 'Yap_InitSlot': ./H/hstruct.h:160:3: error: unknown type name 'UInt' 160 | UInt lu_index_space_Tree; | ^~~~ ./H/hstruct.h:161:3: error: unknown type name 'UInt' 161 | UInt lu_index_space_CP; | ^~~~ ./H/hstruct.h:162:3: error: unknown type name 'UInt' 162 | UInt lu_index_space_EXT; | ^~~~ ./H/hstruct.h:163:3: error: unknown type name 'UInt' 163 | UInt lu_index_space_SW; | ^~~~ C/adtdefs.c:1479:3: error: unknown type name 'Int'; did you mean 'int'? 1479 | Int old_slots = IntOfTerm(ASP[0]); | ^~~ | int ./H/hstruct.h:219:3: error: unknown type name 'UInt' 219 | UInt expand_clauses; | ^~~~ ./H/hstruct.h:231:3: error: unknown type name 'UInt' 231 | UInt expand_clauses_sz; | ^~~~ ./H/hstruct.h:236:3: error: unknown type name 'Int' 236 | Int static_predicates_marked; | ^~~ C/adtdefs.c: In function 'Yap_RecoverSlots': ./H/hstruct.h:242:3: error: unknown type name 'UInt' 242 | UInt int_keys_size; | ^~~~ ./H/hstruct.h:243:3: error: unknown type name 'UInt' 243 | UInt int_keys_timestamp; | ^~~~ ./H/hstruct.h:244:3: error: unknown type name 'UInt' 244 | UInt int_bb_keys_size; | ^~~~ ./H/hstruct.h:265:3: error: unknown type name 'UInt' 265 | UInt atts_size; | ^~~~ C/adtdefs.c:1490:3: error: unknown type name 'Int'; did you mean 'int'? 1490 | Int old_slots = IntOfTerm(ASP[0]); | ^~~ | int ./H/hstruct.h:268:3: error: unknown type name 'Int' 268 | Int yap_flags_field[NUMBER_OF_YAP_FLAGS]; | ^~~ ./H/hstruct.h:275:3: error: unknown type name 'UInt' 275 | UInt n_of_file_aliases; | ^~~~ ./H/hstruct.h:276:3: error: unknown type name 'UInt' 276 | UInt sz_of_file_aliases; | ^~~~ ./H/Yatom.h:1531:17: warning: implicit declaration of function 'PRED_HASH' [-Wimplicit-function-declaration] 1531 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~~~~~~ ./H/hstruct.h:304:3: error: unknown type name 'UInt' 304 | UInt nofblobs; | ^~~~ ./H/hstruct.h:305:3: error: unknown type name 'UInt' 305 | UInt nofblobsmax; | ^~~~ ./H/clause.h:138:3: error: unknown type name 'UInt' 138 | UInt ClItemSize; | ^~~~ ./H/Yatom.h: In function 'GetPredPropByFuncAndModHavingLock': ./H/clause.h:164:3: error: unknown type name 'UInt' 164 | UInt nels; | ^~~~ ./H/Yatom.h:1589:5: error: unknown type name 'UInt' 1589 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~ ./H/clause.h:165:3: error: unknown type name 'UInt' 165 | UInt arity; | ^~~~ ./H/clause.h:169:3: error: unknown type name 'UInt' 169 | UInt ncollisions; | ^~~~ ./H/clause.h:170:3: error: unknown type name 'UInt' 170 | UInt ntrys; | ^~~~ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/YapHeap.h:221:55: error: expected ')' before 'void' 221 | ADDR STD_PROTO(Yap_ExpandPreAllocCodeSpace, (UInt, void *, int)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:548, from C/adtdefs.c:28: ./H/YapTags.h: In function 'FunctorOfTerm': ./H/clause.h:171:3: error: unknown type name 'UInt' 171 | UInt nentries; | ^~~~ ./H/YapTags.h:226:1: warning: control reaches end of non-void function [-Wreturn-type] 226 | } | ^ ./H/clause.h:172:3: error: unknown type name 'UInt' 172 | UInt hsize; | ^~~~ ./H/YapTags.h: In function 'MkAtomTerm': ./H/YapTags.h:237:1: warning: control reaches end of non-void function [-Wreturn-type] 237 | } | ^ In file included from ./H/clause.h:18, from ./H/absmi.h:149, from C/absmi.c:497: ./H/Yatom.h:1476:27: error: unknown type name 'UInt' 1476 | INLINE_ONLY EXTERN inline UInt STD_PROTO(PRED_HASH, (FunctorEntry *, Term, UInt)); | ^~~~ ./H/YapTags.h: In function 'AtomOfTerm': ./H/clause.h:179:28: error: unknown type name 'UInt' 179 | INLINE_ONLY EXTERN inline UInt EXO_ADDRESS_TO_OFFSET(struct index_t *it, CELL *ptr); | ^~~~ ./H/YapTags.h:247:1: warning: control reaches end of non-void function [-Wreturn-type] 247 | } | ^ ./H/clause.h:181:29: error: unknown type name 'UInt' 181 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/YapTags.h: In function 'IsAtomTerm': ./H/YapTags.h:279:1: warning: control reaches end of non-void function [-Wreturn-type] 279 | } | ^ ./H/YapTags.h: In function 'IsIntTerm': ./H/YapTags.h:314:1: warning: control reaches end of non-void function [-Wreturn-type] 314 | } | ^ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yatom.h:1476:76: error: unknown type name 'UInt' 1476 | INLINE_ONLY EXTERN inline UInt STD_PROTO(PRED_HASH, (FunctorEntry *, Term, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/clause.h:187:76: error: unknown type name 'UInt' 187 | INLINE_ONLY EXTERN inline CELL *EXO_OFFSET_TO_ADDRESS(struct index_t *it, UInt off); | ^~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from C/adtdefs.c:28: ./H/TermExt.h: In function 'LongIntOfTerm': In file included from ./H/clause.h:18, from ./H/absmi.h:149, from C/absmi.c:497: ./H/Yatom.h:1478:27: error: unknown type name 'UInt' 1478 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/TermExt.h:326:1: warning: control reaches end of non-void function [-Wreturn-type] 326 | } | ^ ./H/clause.h:190:43: error: unknown type name 'UInt' 190 | EXO_OFFSET_TO_ADDRESS(struct index_t *it, UInt off) | ^~~~ In file included from C/alloc.c:25: ./H/alloc.h: At top level: ./H/TermExt.h: In function 'IsBlobStringTerm': ./H/alloc.h:100:1: error: unknown type name 'UInt' 100 | UInt STD_PROTO(Yap_ExtendWorkSpaceThroughHole, (UInt)); | ^~~~ ./H/TermExt.h:439:1: warning: control reaches end of non-void function [-Wreturn-type] 439 | } | ^ ./H/alloc.h:100:1: warning: parameter names (without types) in function declaration ./H/TermExt.h: In function 'IsWideBlobStringTerm': ./H/alloc.h:101:1: warning: parameter names (without types) in function declaration 101 | void STD_PROTO(Yap_AllocHole, (UInt, UInt)); | ^~~~ ./H/TermExt.h:449:1: warning: control reaches end of non-void function [-Wreturn-type] 449 | } | ^ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/clause.h:239:40: error: unknown type name 'UInt' 239 | void STD_PROTO(Yap_IPred,(PredEntry *, UInt, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:1479:43: error: unknown type name 'UInt' 1479 | PRED_HASH(FunctorEntry *fe, Term cur_mod, UInt size) | ^~~~ ./H/TermExt.h: In function 'IsExternalBlobTerm': In file included from ./H/Yap.h:548, from C/amasm.c:186: ./H/YapTags.h: In function 'FunctorOfTerm': ./H/TermExt.h:471:1: warning: control reaches end of non-void function [-Wreturn-type] 471 | } | ^ ./H/TermExt.h: In function 'IsAtomicTerm': In file included from C/alloc.c:26: ./H/yapio.h:234:1: warning: parameter names (without types) in function declaration 234 | INLINE_ONLY EXTERN inline int STD_PROTO(chtype,(Int)); | ^~~~~~~~~~~ ./H/yapio.h:235:1: warning: parameter names (without types) in function declaration 235 | int STD_PROTO(Yap_wide_chtype,(Int)); | ^~~ ./H/TermExt.h:502:1: warning: control reaches end of non-void function [-Wreturn-type] 502 | } | ^ In file included from ./H/absmi.h:149, from C/agc.c:21: ./H/clause.h:250:1: error: unknown type name 'Int'; did you mean 'int'? 250 | Int STD_PROTO(Yap_Recordz,(Atom, Term)); | ^~~ | int ./H/TermExt.h: In function 'IsExtensionFunctor': ./H/YapTags.h:225:22: warning: implicit declaration of function 'RepAppl' [-Wimplicit-function-declaration] 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~ ./H/Yatom.h: In function 'GetPredPropByFuncHavingLock': ./H/TermExt.h:513:1: warning: control reaches end of non-void function [-Wreturn-type] 513 | } | ^ ./H/TermExt.h: In function 'IsBlobFunctor': ./H/YapTags.h:225:21: error: invalid type argument of unary '*' (have 'int') 225 | return (Functor) (*RepAppl (t)); | ^~~~~~~~~~~~ ./H/yapio.h:238:8: error: unknown type name 'Int'; did you mean 'int'? 238 | chtype(Int ch) | ^~~ | int ./H/TermExt.h:523:1: warning: control reaches end of non-void function [-Wreturn-type] 523 | } | ^ ./H/TermExt.h: In function 'IsPrimitiveTerm': In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/clause.h:256:54: error: unknown type name 'UInt' 256 | yamop *STD_PROTO(Yap_PredIsIndexable,(PredEntry *, UInt, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/Yatom.h:1531:5: error: unknown type name 'UInt' 1531 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~ ./H/TermExt.h:534:1: warning: control reaches end of non-void function [-Wreturn-type] 534 | } | ^ ./H/TermExt.h: In function 'IsAttachFunc': ./H/yapio.h:261:1: error: unknown type name 'Int'; did you mean 'int'? 261 | Int STD_PROTO(Yap_FirstLineInParse,(void)); | ^~~ | int ./H/TermExt.h:545:1: warning: control reaches end of non-void function [-Wreturn-type] 545 | } | ^ ./H/TermExt.h: In function 'IsAttachedTerm': ./H/clause.h:257:50: error: unknown type name 'UInt' 257 | yamop *STD_PROTO(Yap_ExpandIndex,(PredEntry *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:556:1: warning: control reaches end of non-void function [-Wreturn-type] 556 | } | ^ ./H/YapTags.h: In function 'MkAtomTerm': ./H/TermExt.h: In function 'GlobalIsAttachedTerm': ./H/yapio.h:270:1: error: unknown type name 'Int'; did you mean 'int'? 270 | Int STD_PROTO(Yap_GetStreamFd,(int)); | ^~~ | int ./H/YapTags.h:236:18: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 236 | return (Term) (AtomTag | (CELL) (a)); | ^~~~~~~ | Atom In file included from C/arrays.c:20: ./H/eval.h:172:1: warning: parameter names (without types) in function declaration 172 | Term STD_PROTO(Yap_eval_atom,(Int)); | ^~~~ ./H/YapTags.h:236:18: note: each undeclared identifier is reported only once for each function it appears in In file included from ./H/Yap.h:546, from C/arrays.c:18: ./H/eval.h:173:36: error: expected ')' before 'Term' 173 | Term STD_PROTO(Yap_eval_unary,(Int,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:564:1: warning: control reaches end of non-void function [-Wreturn-type] 564 | } | ^ ./H/clause.h:262:53: error: unknown type name 'Int'; did you mean 'int'? 262 | LogUpdClause *STD_PROTO(Yap_NthClause,(PredEntry *,Int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h: In function 'SafeIsAttachedTerm': ./H/eval.h:174:37: error: expected ')' before 'Term' 174 | Term STD_PROTO(Yap_eval_binary,(Int,Term,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/yapio.h:278:1: error: unknown type name 'Int'; did you mean 'int'? 278 | Int STD_PROTO(Yap_StreamToFileNo,(Term)); | ^~~ | int ./H/TermExt.h:572:1: warning: control reaches end of non-void function [-Wreturn-type] 572 | } | ^ In file included from ./H/absmi.h:149, from C/agc.c:21: ./H/clause.h: In function 'Yap_MkStaticRefTerm': In file included from ./H/Yap.h:548, from C/adtdefs.c:28: ./H/YapTags.h: In function 'IntegerOfTerm': ./H/YapTags.h: In function 'AtomOfTerm': In file included from C/arrays.c:20: ./H/eval.h:177:1: error: unknown type name 'Int'; did you mean 'int'? 177 | Int STD_PROTO(Yap_ArithError,(yap_error_number,Term,char *msg, ...)); | ^~~ | int ./H/YapTags.h:392:1: warning: control reaches end of non-void function [-Wreturn-type] 392 | } | ^ ./H/YapTags.h:246:20: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 246 | return (Atom) ((~AtomTag & (CELL) (t))); | ^~~~~~~ | Atom ./H/clause.h:329:25: error: 'Int' undeclared (first use in this function); did you mean 'int'? 329 | t[0] = MkIntegerTerm((Int)cp); | ^~~ | int ./H/clause.h:329:29: error: expected ')' before 'cp' 329 | t[0] = MkIntegerTerm((Int)cp); | ^~ | ) ./H/YapTags.h: In function 'IsAtomTerm': In file included from C/alloc.c:26: ./H/yapio.h:327:27: error: unknown type name 'UInt' 327 | INLINE_ONLY EXTERN inline UInt STD_PROTO(HashFunction, (unsigned char *)); | ^~~~ ./H/YapTags.h:278:17: warning: implicit declaration of function 'CHKTAG' [-Wimplicit-function-declaration] 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~ ./H/yapio.h:328:27: error: unknown type name 'UInt' 328 | INLINE_ONLY EXTERN inline UInt STD_PROTO(WideHashFunction, (wchar_t *)); | ^~~~ ./H/eval.h: In function 'Yap_Mk64IntegerTerm': ./H/clause.h: In function 'Yap_MkMegaRefTerm': ./H/eval.h:325:27: error: 'Int' undeclared (first use in this function); did you mean 'int'? 325 | return MkIntegerTerm((Int)i); | ^~~ | int ./H/yapio.h:330:27: error: unknown type name 'UInt' 330 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/Yatom.h:1531:17: warning: implicit declaration of function 'PRED_HASH' [-Wimplicit-function-declaration] 1531 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~~~~~~ ./H/clause.h:343:25: error: 'Int' undeclared (first use in this function); did you mean 'int'? 343 | t[0] = MkIntegerTerm((Int)ap); | ^~~ | int ./H/YapTags.h:278:30: error: 'AtomTag' undeclared (first use in this function); did you mean 'Atom'? 278 | return (int) (CHKTAG ((t), AtomTag)); | ^~~~~~~ | Atom ./H/eval.h:325:31: error: expected ')' before 'i' 325 | return MkIntegerTerm((Int)i); | ^ | ) ./H/YapTags.h: At top level: ./H/clause.h:343:29: error: expected ')' before 'ap' 343 | t[0] = MkIntegerTerm((Int)ap); | ^~ | ) ./H/yapio.h: In function 'HashFunction': In file included from C/adtdefs.c:32: ./H/Yatom.h: In function 'ArityOfFunctor': ./H/YapTags.h:284:1: warning: parameter names (without types) in function declaration 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~~~ ./H/yapio.h:334:3: error: unknown type name 'UInt' 334 | UInt hash = 5381; | ^~~~ ./H/Yatom.h:162:1: warning: control reaches end of non-void function [-Wreturn-type] 162 | } | ^ ./H/clause.h:344:29: error: expected ')' before 'ipc' 344 | t[1] = MkIntegerTerm((Int)ipc); | ^~~ | ) ./H/YapTags.h:287:12: error: unknown type name 'Int'; did you mean 'int'? 287 | MkIntTerm (Int n) | ^~~ | int In file included from C/arrays.c:21: ./H/heapgc.h: At top level: ./H/YapTags.h:298:1: warning: parameter names (without types) in function declaration 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~ ./H/Yatom.h: In function 'GetPredPropByFuncAndModHavingLock': ./H/yapio.h:335:3: error: unknown type name 'UInt' 335 | UInt c; | ^~~~ ./H/heapgc.h:93:15: error: unknown type name 'Int' 93 | static inline Int | ^~~ ./H/clause.h: At top level: ./H/yapio.h: At top level: ./H/YapTags.h:301:16: error: unknown type name 'Int'; did you mean 'int'? 301 | MkIntConstant (Int n) | ^~~ | int ./H/yapio.h:349:27: error: unknown type name 'UInt' 349 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/heapgc.h:99:15: error: unknown type name 'Int' 99 | static inline Int | ^~~ ./H/clause.h:366:1: error: unknown type name 'Int'; did you mean 'int'? 366 | Int STD_PROTO(Yap_PredForCode,(yamop *, find_pred_type, Atom *, UInt *, Term *)); | ^~~ | int ./H/Yatom.h:1589:5: error: unknown type name 'UInt' 1589 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~ ./H/yapio.h: In function 'WideHashFunction': ./H/heapgc.h: In function 'UNMARKED_MARK__': ./H/yapio.h:352:3: error: unknown type name 'UInt' 352 | UInt hash = 5381; | ^~~~ ./H/heapgc.h:102:3: error: unknown type name 'Int'; did you mean 'int'? 102 | Int pos = ptr - (CELL *)LOCAL_GlobalBase; | ^~~ | int In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/clause.h:366:73: error: unknown type name 'UInt' 366 | Int STD_PROTO(Yap_PredForCode,(yamop *, find_pred_type, Atom *, UInt *, Term *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/yapio.h:353:3: error: unknown type name 'UInt' 353 | UInt c; | ^~~~ ./H/heapgc.h: In function 'MARK__': ./H/YapTags.h: In function 'IsIntTerm': ./H/heapgc.h:114:3: error: unknown type name 'Int'; did you mean 'int'? 114 | Int pos = ptr - (CELL *)LOCAL_GlobalBase; | ^~~ | int ./H/clause.h:368:61: error: unknown type name 'UInt' 368 | LogUpdClause *STD_PROTO(Yap_new_ludbe,(Term, PredEntry *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:313:30: error: 'NumberTag' undeclared (first use in this function) 313 | return (int) (CHKTAG ((t), NumberTag)); | ^~~~~~~~~ In file included from ./H/absmi.h:149, from C/absmi.c:497: ./H/clause.h: At top level: ./H/clause.h:27:3: error: unknown type name 'UInt' 27 | UInt c; | ^~~~ ./H/clause.h:369:59: error: unknown type name 'UInt' 369 | Term STD_PROTO(Yap_LUInstance,(LogUpdClause *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/clause.h:44:3: error: unknown type name 'UInt' 44 | UInt ClRefCount; | ^~~~ ./H/clause.h:49:3: error: unknown type name 'UInt' 49 | UInt ClSize; | ^~~~ ./H/YapTags.h: In function 'MkPairTerm__': ./H/clause.h:70:3: error: unknown type name 'UInt' 70 | UInt ClSize; | ^~~~ ./H/YapTags.h:327:11: warning: implicit declaration of function 'AbsPair' [-Wimplicit-function-declaration] 327 | return (AbsPair (p)); | ^~~~~~~ ./H/clause.h:73:3: error: unknown type name 'UInt' 73 | UInt ClRefCount; | ^~~~ ./H/clause.h:81:3: error: unknown type name 'UInt' 81 | UInt ClTimeStart, ClTimeEnd; | ^~~~ ./H/clause.h:87:52: error: expected ')' before 'struct' 87 | INLINE_ONLY inline EXTERN int VALID_TIMESTAMP(UInt, struct logic_upd_clause *); | ^~~~~~~ | ) ./H/clause.h:90:17: error: unknown type name 'UInt' 90 | VALID_TIMESTAMP(UInt timestamp, struct logic_upd_clause *cl) | ^~~~ ./H/clause.h:102:3: error: unknown type name 'UInt' 102 | UInt ClSize; | ^~~~ ./H/clause.h:103:3: error: unknown type name 'UInt' 103 | UInt ClRefCount; | ^~~~ ./H/clause.h:112:3: error: unknown type name 'UInt' 112 | UInt ClSize; | ^~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from C/amasm.c:186: ./H/TermExt.h: In function 'MkFloatTerm': ./H/clause.h:123:3: error: unknown type name 'UInt' 123 | UInt ClSize; | ^~~~ ./H/clause.h:136:3: error: unknown type name 'UInt' 136 | UInt ClSize; | ^~~~ ./H/TermExt.h:194:8: warning: implicit declaration of function 'AbsAppl' [-Wimplicit-function-declaration] 194 | 3, AbsAppl (H - 3))); | ^~~~~~~ ./H/clause.h:138:3: error: unknown type name 'UInt' 138 | UInt ClItemSize; | ^~~~ ./H/clause.h:164:3: error: unknown type name 'UInt' 164 | UInt nels; | ^~~~ ./H/clause.h:165:3: error: unknown type name 'UInt' 165 | UInt arity; | ^~~~ ./H/clause.h:169:3: error: unknown type name 'UInt' 169 | UInt ncollisions; | ^~~~ ./H/clause.h:170:3: error: unknown type name 'UInt' 170 | UInt ntrys; | ^~~~ ./H/clause.h:171:3: error: unknown type name 'UInt' 171 | UInt nentries; | ^~~~ ./H/clause.h:172:3: error: unknown type name 'UInt' 172 | UInt hsize; | ^~~~ ./H/TermExt.h: In function 'IsFloatTerm': ./H/clause.h:179:28: error: unknown type name 'UInt' 179 | INLINE_ONLY EXTERN inline UInt EXO_ADDRESS_TO_OFFSET(struct index_t *it, CELL *ptr); | ^~~~ ./H/TermExt.h:298:17: warning: implicit declaration of function 'IsApplTerm'; did you mean 'IsAtomTerm'? [-Wimplicit-function-declaration] 298 | return (int) (IsApplTerm (t) && FunctorOfTerm (t) == FunctorDouble); | ^~~~~~~~~~ | IsAtomTerm ./H/clause.h:181:29: error: unknown type name 'UInt' 181 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/TermExt.h: At top level: ./H/TermExt.h:306:1: warning: parameter names (without types) in function declaration 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~ ./H/TermExt.h:309:16: error: unknown type name 'Int'; did you mean 'int'? 309 | MkLongIntTerm (Int i) | ^~~ | int ./H/clause.h:187:76: error: unknown type name 'UInt' 187 | INLINE_ONLY EXTERN inline CELL *EXO_OFFSET_TO_ADDRESS(struct index_t *it, UInt off); | ^~~~ ./H/TermExt.h:320:27: error: unknown type name 'Int' 320 | INLINE_ONLY inline EXTERN Int LongIntOfTerm (Term t); | ^~~ ./H/TermExt.h:322:27: error: unknown type name 'Int' 322 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'LongIntOfTerm': ./H/clause.h:190:43: error: unknown type name 'UInt' 190 | EXO_OFFSET_TO_ADDRESS(struct index_t *it, UInt off) | ^~~~ ./H/TermExt.h:325:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 325 | return (Int) (RepAppl (t)[1]); | ^~~ | int ./H/TermExt.h:325:28: error: subscripted value is neither array nor pointer nor vector 325 | return (Int) (RepAppl (t)[1]); | ^ ./H/TermExt.h: At top level: ./H/TermExt.h:348:9: error: unknown type name 'UInt' 348 | typedef UInt mp_limb_t; | ^~~~ ./H/TermExt.h:351:3: error: unknown type name 'Int' 351 | Int _mp_size, _mp_alloc; | ^~~ In file included from ./H/Yap.h:546, from C/arrays.c:18: C/arrays.c: At top level: In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/clause.h:239:40: error: unknown type name 'UInt' 239 | void STD_PROTO(Yap_IPred,(PredEntry *, UInt, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:428:3: error: unknown type name 'UInt' 428 | UInt len; | ^~~~ ./H/TermExt.h: In function 'IsBlobStringTerm': ./H/TermExt.h:438:14: error: subscripted value is neither array nor pointer nor vector 438 | (RepAppl(t)[1] & BLOB_STRING) == BLOB_STRING); | ^ ./H/TermExt.h: In function 'IsWideBlobStringTerm': ./H/TermExt.h:448:13: error: subscripted value is neither array nor pointer nor vector 448 | RepAppl(t)[1] == BLOB_WIDE_STRING); | ^ In file included from ./H/absmi.h:149, from C/absmi.c:497: ./H/clause.h:250:1: error: unknown type name 'Int'; did you mean 'int'? 250 | Int STD_PROTO(Yap_Recordz,(Atom, Term)); | ^~~ | int C/arrays.c:37:14: error: unknown type name 'Int' 37 | STATIC_PROTO(Int p_compile_array_refs, ( USES_REGS1 )); | ^~~ ./H/Yapproto.h:19:34: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ ./H/TermExt.h: In function 'IsExternalBlobTerm': C/arrays.c:38:14: error: unknown type name 'Int' 38 | STATIC_PROTO(Int p_array_refs_compiled, ( USES_REGS1 )); | ^~~ ./H/Yapproto.h:19:34: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ ./H/TermExt.h:470:13: error: subscripted value is neither array nor pointer nor vector 470 | RepAppl(t)[1] == tag); | ^ C/arrays.c:39:14: error: unknown type name 'Int' 39 | STATIC_PROTO(Int p_sync_mmapped_arrays, ( USES_REGS1 )); | ^~~ ./H/Yapproto.h:19:34: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ C/arrays.c:125:14: error: unknown type name 'Int' 125 | STATIC_PROTO(Int p_create_array, ( USES_REGS1 )); | ^~~ ./H/Yapproto.h:19:34: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ ./H/TermExt.h: At top level: C/arrays.c:126:14: error: unknown type name 'Int' 126 | STATIC_PROTO(Int p_create_mmapped_array, ( USES_REGS1 )); | ^~~ ./H/Yapproto.h:19:34: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/clause.h:256:54: error: unknown type name 'UInt' 256 | yamop *STD_PROTO(Yap_PredIsIndexable,(PredEntry *, UInt, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:496:27: error: unknown type name 'Int' 496 | INLINE_ONLY inline EXTERN Int IsAtomicTerm (Term); | ^~~ C/arrays.c:127:14: error: unknown type name 'Int' 127 | STATIC_PROTO(Int p_array_references, ( USES_REGS1 )); | ^~~ ./H/Yapproto.h:19:34: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ ./H/TermExt.h:498:27: error: unknown type name 'Int' 498 | INLINE_ONLY inline EXTERN Int | ^~~ C/arrays.c:128:14: error: unknown type name 'Int' 128 | STATIC_PROTO(Int p_create_static_array, ( USES_REGS1 )); | ^~~ ./H/Yapproto.h:19:34: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ C/arrays.c:129:14: error: unknown type name 'Int' 129 | STATIC_PROTO(Int p_resize_static_array, ( USES_REGS1 )); | ^~~ ./H/Yapproto.h:19:34: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ C/arrays.c:130:14: error: unknown type name 'Int' 130 | STATIC_PROTO(Int p_close_static_array, ( USES_REGS1 )); | ^~~ ./H/Yapproto.h:19:34: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ ./H/TermExt.h: In function 'IsAtomicTerm': C/arrays.c:131:14: error: unknown type name 'Int' 131 | STATIC_PROTO(Int p_access_array, ( USES_REGS1 )); | ^~~ ./H/Yapproto.h:19:34: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ ./H/clause.h:257:50: error: unknown type name 'UInt' 257 | yamop *STD_PROTO(Yap_ExpandIndex,(PredEntry *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/arrays.c:132:14: error: unknown type name 'Int' 132 | STATIC_PROTO(Int p_assign_static, ( USES_REGS1 )); | ^~~ ./H/Yapproto.h:19:34: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ ./H/TermExt.h:501:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~ | int C/arrays.c:133:14: error: unknown type name 'Int' 133 | STATIC_PROTO(Int p_assign_dynamic, ( USES_REGS1 )); | ^~~ ./H/Yapproto.h:19:34: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ ./H/clause.h:262:53: error: unknown type name 'Int'; did you mean 'int'? 262 | LogUpdClause *STD_PROTO(Yap_NthClause,(PredEntry *,Int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/absmi.h:149, from C/absmi.c:497: ./H/clause.h: In function 'Yap_MkStaticRefTerm': ./H/TermExt.h:501:17: warning: implicit declaration of function 'IsAtomOrIntTerm'; did you mean 'IsAtomicTerm'? [-Wimplicit-function-declaration] 501 | return (Int) (IsAtomOrIntTerm (t) || IsLargeNumTerm (t)); | ^~~~~~~~~~~~~~~ | IsAtomicTerm ./H/TermExt.h: At top level: ./H/clause.h:329:25: error: 'Int' undeclared (first use in this function); did you mean 'int'? 329 | t[0] = MkIntegerTerm((Int)cp); | ^~~ | int ./H/TermExt.h:507:27: error: unknown type name 'Int' 507 | INLINE_ONLY inline EXTERN Int IsExtensionFunctor (Functor); | ^~~ ./H/clause.h:329:29: error: expected ')' before 'cp' 329 | t[0] = MkIntegerTerm((Int)cp); | ^~ | ) C/arrays.c: In function 'GetTermFromArray': ./H/TermExt.h:509:27: error: unknown type name 'Int' 509 | INLINE_ONLY inline EXTERN Int | ^~~ C/arrays.c:250:7: warning: implicit declaration of function 'Yap_gcl' [-Wimplicit-function-declaration] 250 | if (!Yap_gcl(LOCAL_Error_Size, 3, ENV, gc_P(P,CP))) { | ^~~~~~~ ./H/clause.h: In function 'Yap_MkMegaRefTerm': ./H/TermExt.h: In function 'IsExtensionFunctor': ./H/clause.h:343:25: error: 'Int' undeclared (first use in this function); did you mean 'int'? 343 | t[0] = MkIntegerTerm((Int)ap); | ^~~ | int ./H/TermExt.h:512:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 512 | return (Int) (f <= FunctorDouble); | ^~~ | int ./H/TermExt.h: At top level: ./H/clause.h:343:29: error: expected ')' before 'ap' 343 | t[0] = MkIntegerTerm((Int)ap); | ^~ | ) C/arrays.c: At top level: ./H/TermExt.h:517:27: error: unknown type name 'Int' 517 | INLINE_ONLY inline EXTERN Int IsBlobFunctor (Functor); | ^~~ ./H/clause.h:344:29: error: expected ')' before 'ipc' 344 | t[1] = MkIntegerTerm((Int)ipc); | ^~~ | ) C/arrays.c:264:26: error: unknown type name 'Int'; did you mean 'int'? 264 | GetNBTerm(live_term *ar, Int indx USES_REGS) | ^~~ | int ./H/TermExt.h:519:27: error: unknown type name 'Int' 519 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/clause.h: At top level: C/arrays.c:299:26: error: unknown type name 'Int'; did you mean 'int'? 299 | AccessNamedArray(Atom a, Int indx USES_REGS) | ^~~ | int ./H/clause.h:366:1: error: unknown type name 'Int'; did you mean 'int'? 366 | Int STD_PROTO(Yap_PredForCode,(yamop *, find_pred_type, Atom *, UInt *, Term *)); | ^~~ | int In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/clause.h:366:73: error: unknown type name 'UInt' 366 | Int STD_PROTO(Yap_PredForCode,(yamop *, find_pred_type, Atom *, UInt *, Term *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/arrays.c:451:8: error: unknown type name 'Int' 451 | static Int | ^~~ ./H/clause.h:368:61: error: unknown type name 'UInt' 368 | LogUpdClause *STD_PROTO(Yap_new_ludbe,(Term, PredEntry *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/arrays.c: In function 'p_access_array': ./H/clause.h:369:59: error: unknown type name 'UInt' 369 | Term STD_PROTO(Yap_LUInstance,(LogUpdClause *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/arrays.c:457:3: error: unknown type name 'Int'; did you mean 'int'? 457 | Int indx; | ^~~ | int ./H/TermExt.h: In function 'IsBlobFunctor': ./H/TermExt.h:522:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 522 | return (Int) ((f <= FunctorDouble && f >= FunctorDBRef)); | ^~~ | int ./H/TermExt.h: At top level: ./H/TermExt.h:527:27: error: unknown type name 'Int' 527 | INLINE_ONLY inline EXTERN Int IsPrimitiveTerm (Term); | ^~~ C/alloc.c: In function 'Yap_InitPreAllocCodeSpace': ./H/TermExt.h:529:27: error: unknown type name 'Int' 529 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'IsPrimitiveTerm': ./H/TermExt.h:532:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 532 | return (Int) ((IsAtomOrIntTerm (t) | ^~~ | int C/alloc.c:252:3: error: unknown type name 'UInt' 252 | UInt sz = REMOTE_ScratchPad(wid).msz; | ^~~~ ./H/TermExt.h: At top level: ./H/TermExt.h:539:27: error: unknown type name 'Int' 539 | INLINE_ONLY inline EXTERN Int IsAttachFunc (Functor); | ^~~ ./H/TermExt.h:541:27: error: unknown type name 'Int' 541 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'IsAttachFunc': ./H/TermExt.h:544:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 544 | return (Int) (FALSE); | ^~~ | int ./H/TermExt.h: At top level: ./H/TermExt.h:550:27: error: unknown type name 'Int' 550 | INLINE_ONLY inline EXTERN Int IsAttachedTerm (Term); | ^~~ C/arrays.c:459:7: warning: implicit declaration of function 'IsNonVarTerm' [-Wimplicit-function-declaration] 459 | if (IsNonVarTerm(ti)) { | ^~~~~~~~~~~~ ./H/TermExt.h:552:27: error: unknown type name 'Int' 552 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/TermExt.h: In function 'IsAttachedTerm': C/arrays.c:480:24: error: subscripted value is neither array nor pointer nor vector 480 | tf = (RepAppl(t))[indx + 1]; | ^ ./H/TermExt.h:555:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/TermExt.h:555:18: warning: implicit declaration of function 'IsVarTerm'; did you mean 'MkVarTerm'? [-Wimplicit-function-declaration] 555 | return (Int) ((IsVarTerm (t) && IsAttVar(VarOfTerm(t)))); | ^~~~~~~~~ | MkVarTerm ./H/TermExt.h: At top level: ./H/TermExt.h:558:27: error: unknown type name 'Int' 558 | INLINE_ONLY inline EXTERN Int GlobalIsAttachedTerm (Term); | ^~~ ./H/TermExt.h:560:27: error: unknown type name 'Int' 560 | INLINE_ONLY inline EXTERN Int | ^~~ C/alloc.c: At top level: C/alloc.c:297:29: error: unknown type name 'UInt' 297 | Yap_ExpandPreAllocCodeSpace(UInt sz0, void *cip, int safe) | ^~~~ ./H/TermExt.h: In function 'GlobalIsAttachedTerm': ./H/TermExt.h:563:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 563 | return (Int) ((IsVarTerm (t) && GlobalIsAttVar(VarOfTerm(t)))); | ^~~ | int ./H/TermExt.h: At top level: C/alloc.c: In function 'InitExStacks': C/alloc.c:359:3: error: unknown type name 'UInt' 359 | UInt pm, sa; | ^~~~ In file included from C/alloc.c:25: ./H/alloc.h:58:14: error: 'Int' undeclared (first use in this function); did you mean 'int'? 58 | #define K ((Int) 1024) | ^~~ C/alloc.c:366:24: note: in expansion of macro 'K' 366 | pm = (Trail + Stack)*K; /* memory to be | ^ ./H/alloc.h:58:19: error: expected ')' before numeric constant 58 | #define K ((Int) 1024) | ~ ^~~~ C/alloc.c:366:24: note: in expansion of macro 'K' 366 | pm = (Trail + Stack)*K; /* memory to be | ^ ./H/alloc.h:58:19: error: expected ')' before numeric constant 58 | #define K ((Int) 1024) | ~ ^~~~ C/alloc.c:368:14: note: in expansion of macro 'K' 368 | sa = Stack*K; /* stack area size */ | ^ In file included from ./H/absmi.h:150, from C/agc.c:21: ./H/eval.h:172:1: warning: parameter names (without types) in function declaration 172 | Term STD_PROTO(Yap_eval_atom,(Int)); | ^~~~ C/alloc.c: At top level: In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/eval.h:173:36: error: expected ')' before 'Term' 173 | Term STD_PROTO(Yap_eval_unary,(Int,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/alloc.c:425:16: error: unknown type name 'UInt' 425 | Yap_InitMemory(UInt Trail, UInt Heap, UInt Stack) | ^~~~ ./H/eval.h:174:37: error: expected ')' before 'Term' 174 | Term STD_PROTO(Yap_eval_binary,(Int,Term,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/absmi.h:150, from C/agc.c:21: ./H/eval.h:177:1: error: unknown type name 'Int'; did you mean 'int'? 177 | Int STD_PROTO(Yap_ArithError,(yap_error_number,Term,char *msg, ...)); | ^~~ | int ./H/eval.h: In function 'Yap_Mk64IntegerTerm': ./H/eval.h:325:27: error: 'Int' undeclared (first use in this function); did you mean 'int'? 325 | return MkIntegerTerm((Int)i); | ^~~ | int ./H/eval.h:325:31: error: expected ')' before 'i' 325 | return MkIntegerTerm((Int)i); | ^ | ) C/arrays.c:482:12: warning: implicit declaration of function 'AccessNamedArray' [-Wimplicit-function-declaration] 482 | tf = AccessNamedArray(AtomOfTerm(t), indx PASS_REGS); | ^~~~~~~~~~~~~~~~ C/arrays.c: At top level: C/arrays.c:497:8: error: unknown type name 'Int' 497 | static Int | ^~~ C/arrays.c: In function 'p_array_arg': C/alloc.c:425:28: error: unknown type name 'UInt' 425 | Yap_InitMemory(UInt Trail, UInt Heap, UInt Stack) | ^~~~ C/arrays.c:501:12: error: unknown type name 'Int' 501 | register Int indx; | ^~~ C/alloc.c:425:39: error: unknown type name 'UInt' 425 | Yap_InitMemory(UInt Trail, UInt Heap, UInt Stack) | ^~~~ C/arrays.c:520:38: error: subscripted value is neither array nor pointer nor vector 520 | return (Yap_unify(((RepAppl(t))[indx + 1]), ARG1)); | ^ C/alloc.c:431:21: error: unknown type name 'Int'; did you mean 'int'? 431 | Yap_ExtendWorkSpace(Int s) | ^~~ | int C/arrays.c: At top level: C/alloc.c:446:1: error: unknown type name 'UInt' 446 | UInt | ^~~~ C/arrays.c:540:32: error: unknown type name 'Int'; did you mean 'int'? 540 | InitNamedArray(ArrayEntry * p, Int dim USES_REGS) | ^~~ | int C/alloc.c:447:32: error: unknown type name 'UInt' 447 | Yap_ExtendWorkSpaceThroughHole(UInt s) | ^~~~ C/alloc.c:453:15: error: unknown type name 'UInt' 453 | Yap_AllocHole(UInt actual_request, UInt total_size) | ^~~~ C/arrays.c:563:34: error: unknown type name 'Int'; did you mean 'int'? 563 | CreateNamedArray(PropEntry * pp, Int dim, AtomEntry *ae USES_REGS) | ^~~ | int C/alloc.c:453:36: error: unknown type name 'UInt' 453 | Yap_AllocHole(UInt actual_request, UInt total_size) | ^~~~ In file included from ./H/absmi.h:150, from C/absmi.c:497: ./H/eval.h:172:1: warning: parameter names (without types) in function declaration 172 | Term STD_PROTO(Yap_eval_atom,(Int)); | ^~~~ C/arrays.c:581:73: error: unknown type name 'Int'; did you mean 'int'? 581 | AllocateStaticArraySpace(StaticArrayEntry *p, static_array_types atype, Int array_size USES_REGS) | ^~~ | int In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/absmi.c:497: ./H/eval.h:173:36: error: expected ')' before 'Term' 173 | Term STD_PROTO(Yap_eval_unary,(Int,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/eval.h:174:37: error: expected ')' before 'Term' 174 | Term STD_PROTO(Yap_eval_binary,(Int,Term,Term)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:566:27: error: unknown type name 'Int' 566 | INLINE_ONLY inline EXTERN Int SafeIsAttachedTerm (Term); | ^~~ ./H/TermExt.h:568:27: error: unknown type name 'Int' 568 | INLINE_ONLY inline EXTERN Int | ^~~ C/arrays.c:621:34: error: unknown type name 'Int'; did you mean 'int'? 621 | CreateStaticArray(AtomEntry *ae, Int dim, static_array_types type, CODEADDR start_addr, StaticArrayEntry *p USES_REGS) | ^~~ | int In file included from ./H/absmi.h:150, from C/absmi.c:497: ./H/eval.h:177:1: error: unknown type name 'Int'; did you mean 'int'? 177 | Int STD_PROTO(Yap_ArithError,(yap_error_number,Term,char *msg, ...)); | ^~~ | int ./H/TermExt.h: In function 'SafeIsAttachedTerm': In file included from ./H/Yap.h:548, from C/alloc.c:22: ./H/YapTags.h:284:32: warning: 'MkIntTerm' used but never defined 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~ ./H/YapTags.h:298:32: warning: 'MkIntConstant' declared 'static' but never defined [-Wunused-function] 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~~~ ./H/TermExt.h:571:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 571 | return (Int) (IsVarTerm (t) && IsAttVar(VarOfTerm(t))); | ^~~ | int In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from C/alloc.c:22: ./H/TermExt.h:306:32: warning: 'MkLongIntTerm' declared 'static' but never defined [-Wunused-function] 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~~~ In file included from ./H/Yap.h:548, from C/alloc.c:22: ./H/YapTags.h:367:32: warning: 'MkIntegerTerm' used but never defined 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~~~ ./H/TermExt.h: At top level: In file included from ./H/Yap.h:546, from C/alloc.c:22: ./H/yapio.h:234:41: warning: 'chtype' declared 'static' but never defined [-Wunused-function] 234 | INLINE_ONLY EXTERN inline int STD_PROTO(chtype,(Int)); | ^~~~~~ ./H/Yapproto.h:18:25: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/TermExt.h:614:27: error: unknown type name 'Int' 614 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t); | ^~~ C/arrays.c:693:41: error: unknown type name 'Int'; did you mean 'int'? 693 | ResizeStaticArray(StaticArrayEntry *pp, Int dim USES_REGS) | ^~~ | int ./H/TermExt.h:616:27: error: unknown type name 'Int' 616 | INLINE_ONLY inline EXTERN Int Yap_BlobTag(Term t) | ^~~ ./H/TermExt.h: In function 'Yap_BlobTag': ./H/TermExt.h:618:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 618 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/eval.h: In function 'Yap_Mk64IntegerTerm': ./H/TermExt.h: In function 'Yap_BlobInfo': C/arrays.c: In function 'ClearStaticArray': ./H/eval.h:325:27: error: 'Int' undeclared (first use in this function); did you mean 'int'? 325 | return MkIntegerTerm((Int)i); | ^~~ | int ./H/TermExt.h:629:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 629 | CELL *pt = RepAppl(t); | ^~~~~~~ ./H/eval.h:325:31: error: expected ')' before 'i' 325 | return MkIntegerTerm((Int)i); | ^ | ) C/arrays.c:784:3: error: unknown type name 'Int'; did you mean 'int'? 784 | Int dim = - pp->ArrayEArity, i; | ^~~ | int ./H/TermExt.h: In function 'unify_extension': ./H/TermExt.h:653:37: error: subscripted value is neither array nor pointer nor vector 653 | return (pt0[1] == RepAppl (d1)[1]); | ^ ./H/TermExt.h:662:14: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 662 | CELL *pt1 = RepAppl (d1); | ^~~~~~~ In file included from ./H/Yap.h:548, from C/alloc.c:22: ./H/YapTags.h: In function 'MkAtomTerm': ./H/YapTags.h:237:1: warning: control reaches end of non-void function [-Wreturn-type] 237 | } | ^ In file included from /usr/include/string.h:127, from C/arrays.c:28: C/arrays.c:793:48: error: 'Int' undeclared (first use in this function); did you mean 'int'? 793 | memset((void *)pp->ValueOfVE.ints,0,sizeof(Int)*dim); | ^~~ In file included from ./OPTYap/tab.macros.h:22, from ./H/absmi.h:161, from C/agc.c:21: ./OPTYap/opt.mavar.h: At top level: ./OPTYap/opt.mavar.h:27:18: error: unknown type name 'UInt' 27 | OPT_MAVAR_STATIC UInt Yap_NEW_MAHASH(ma_h_inner_struct *top USES_REGS); | ^~~~ ./OPTYap/opt.mavar.h:74:18: error: unknown type name 'UInt' 74 | OPT_MAVAR_STATIC UInt | ^~~~ ./H/TermExt.h: In function 'Yap_IntP_key': C/arrays.c: At top level: ./H/TermExt.h:684:29: error: 'MAX_ABS_INT' undeclared (first use in this function) 684 | return MkIntTerm(pt[0] & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/TermExt.h: In function 'Yap_Int_key': C/arrays.c:869:8: error: unknown type name 'Int' 869 | static Int | ^~~ ./OPTYap/opt.mavar.h: In function 'Yap_NEW_MAHASH': ./H/TermExt.h:690:33: warning: passing argument 1 of 'Yap_IntP_key' makes pointer from integer without a cast [-Wint-conversion] 690 | return Yap_IntP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./OPTYap/opt.mavar.h:76:3: error: unknown type name 'UInt' 76 | UInt time = ++LOCAL_ma_timestamp; | ^~~~ ./H/TermExt.h:674:25: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 674 | CELL Yap_IntP_key(CELL *pt) | ~~~~~~^~ In file included from ./H/absmi.h:161, from C/agc.c:21: ./OPTYap/tab.macros.h: At top level: C/arrays.c: In function 'p_create_array': C/arrays.c:874:3: error: unknown type name 'Int'; did you mean 'int'? 874 | Int size; | ^~~ | int ./OPTYap/tab.macros.h:44:15: error: unknown type name 'Int' 44 | static inline Int freeze_current_cp(void); | ^~~ ./OPTYap/tab.macros.h:45:1: warning: parameter names (without types) in function declaration 45 | static inline void wake_frozen_cp(Int); | ^~~~~~ ./H/TermExt.h: In function 'Yap_DoubleP_key': ./OPTYap/tab.macros.h:46:1: warning: parameter names (without types) in function declaration 46 | static inline void abolish_frozen_cps_until(Int); | ^~~~~~ ./H/TermExt.h:701:27: error: 'MAX_ABS_INT' undeclared (first use in this function) 701 | return MkIntTerm(val & (MAX_ABS_INT-1)); | ^~~~~~~~~~~ ./H/TermExt.h: In function 'Yap_Double_key': ./H/TermExt.h:707:36: warning: passing argument 1 of 'Yap_DoubleP_key' makes pointer from integer without a cast [-Wint-conversion] 707 | return Yap_DoubleP_key(RepAppl(t)+1); | ~~~~~~~~~~^~ | | | int ./H/TermExt.h:694:28: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 694 | CELL Yap_DoubleP_key(CELL *pt) | ~~~~~~^~ In file included from ./H/Yap.h:548, from C/amasm.c:186: ./H/YapTags.h: At top level: ./H/YapTags.h:367:1: warning: parameter names (without types) in function declaration 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~ ./H/YapTags.h:370:16: error: unknown type name 'Int'; did you mean 'int'? 370 | MkIntegerTerm (Int n) | ^~~ | int In file included from ./OPTYap/tab.macros.h:22, from ./H/absmi.h:161, from C/absmi.c:497: ./OPTYap/opt.mavar.h: At top level: gmake: *** [Makefile:670: adtdefs.o] Error 1 ./H/YapTags.h:385:27: error: unknown type name 'Int' 385 | INLINE_ONLY inline EXTERN Int IntegerOfTerm (Term); | ^~~ ./OPTYap/opt.mavar.h:27:18: error: unknown type name 'UInt' 27 | OPT_MAVAR_STATIC UInt Yap_NEW_MAHASH(ma_h_inner_struct *top USES_REGS); | ^~~~ ./H/YapTags.h:387:27: error: unknown type name 'Int' 387 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/YapTags.h: In function 'IntegerOfTerm': In file included from ./H/absmi.h:161, from C/agc.c:21: ./OPTYap/tab.macros.h:981:15: error: unknown type name 'Int' 981 | static inline Int freeze_current_cp(void) { | ^~~ ./H/YapTags.h:391:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~ | int ./OPTYap/opt.mavar.h:74:18: error: unknown type name 'UInt' 74 | OPT_MAVAR_STATIC UInt | ^~~~ ./H/YapTags.h:391:33: warning: implicit declaration of function 'IntOfTerm'; did you mean 'PtrOfTerm'? [-Wimplicit-function-declaration] 391 | return (Int) (IsIntTerm (t) ? IntOfTerm (t) : LongIntOfTerm (t)); | ^~~~~~~~~ | PtrOfTerm ./OPTYap/opt.mavar.h: In function 'Yap_NEW_MAHASH': In file included from C/amasm.c:186: ./H/Yap.h: At top level: ./OPTYap/opt.mavar.h:76:3: error: unknown type name 'UInt' 76 | UInt time = ++LOCAL_ma_timestamp; | ^~~~ ./OPTYap/tab.macros.h:994:35: error: unknown type name 'Int'; did you mean 'int'? 994 | static inline void wake_frozen_cp(Int frozen_offset) { | ^~~ | int In file included from ./H/absmi.h:161, from C/absmi.c:497: ./OPTYap/tab.macros.h: At top level: ./H/Yap.h:774:3: error: unknown type name 'UInt' 774 | UInt timestmp; | ^~~~ ./H/Yap.h:787:3: error: unknown type name 'UInt' 787 | UInt sz, msz; | ^~~~ ./OPTYap/tab.macros.h:1006:45: error: unknown type name 'Int'; did you mean 'int'? 1006 | static inline void abolish_frozen_cps_until(Int frozen_offset) { | ^~~ | int ./OPTYap/tab.macros.h:44:15: error: unknown type name 'Int' 44 | static inline Int freeze_current_cp(void); | ^~~ ./OPTYap/tab.macros.h:45:1: warning: parameter names (without types) in function declaration 45 | static inline void wake_frozen_cp(Int); | ^~~~~~ ./OPTYap/tab.macros.h:46:1: warning: parameter names (without types) in function declaration 46 | static inline void abolish_frozen_cps_until(Int); | ^~~~~~ In file included from ./H/Yap.h:799, from C/amasm.c:186: ./OPTYap/opt.structs.h:61:3: error: unknown type name 'UInt' 61 | UInt timestmp; | ^~~~ In file included from ./H/Yap.h:157, from ./H/absmi.h:148, from C/agc.c:21: ./OPTYap/tab.macros.h: In function 'unbind_variables': ./OPTYap/opt.structs.h:471:3: error: unknown type name 'UInt' 471 | UInt ma_timestamp; | ^~~~ ./H/Yap.h:278:42: error: 'Int' undeclared (first use in this function); did you mean 'int'? 278 | #define IN_BETWEEN(MIN,X,MAX) (Unsigned((Int)(X)-(Int)(MIN)) <= \ | ^~~ ./H/YapTerm.h:136:30: note: in definition of macro 'Unsigned' 136 | #define Unsigned(V) ((CELL) (V)) | ^ ./OPTYap/tab.macros.h:1095:11: note: in expansion of macro 'IN_BETWEEN' 1095 | if (IN_BETWEEN(LOCAL_TrailBase, ref, LOCAL_TrailTop)) { | ^~~~~~~~~~ In file included from ./H/absmi.h:161, from C/absmi.c:497: ./OPTYap/tab.macros.h:981:15: error: unknown type name 'Int' 981 | static inline Int freeze_current_cp(void) { | ^~~ C/arrays.c:943:7: warning: implicit declaration of function 'CreateNamedArray' [-Wimplicit-function-declaration] 943 | CreateNamedArray(pp, size, ae PASS_REGS); | ^~~~~~~~~~~~~~~~ In file included from ./H/absmi.h:161, from C/agc.c:21: ./OPTYap/tab.macros.h:1103:23: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1103 | CELL *aux_ptr = RepAppl(ref); | ^~~~~~~ ./OPTYap/tab.macros.h:994:35: error: unknown type name 'Int'; did you mean 'int'? 994 | static inline void wake_frozen_cp(Int frozen_offset) { | ^~~ | int ./OPTYap/tab.macros.h:1006:45: error: unknown type name 'Int'; did you mean 'int'? 1006 | static inline void abolish_frozen_cps_until(Int frozen_offset) { | ^~~ | int In file included from ./H/Yap.h:157, from ./H/absmi.h:148, from C/agc.c:21: ./OPTYap/tab.macros.h: In function 'rebind_variables': ./H/Yap.h:278:42: error: 'Int' undeclared (first use in this function); did you mean 'int'? 278 | #define IN_BETWEEN(MIN,X,MAX) (Unsigned((Int)(X)-(Int)(MIN)) <= \ | ^~~ ./H/YapTerm.h:136:30: note: in definition of macro 'Unsigned' 136 | #define Unsigned(V) ((CELL) (V)) | ^ ./OPTYap/tab.macros.h:1127:11: note: in expansion of macro 'IN_BETWEEN' 1127 | if (IN_BETWEEN(LOCAL_TrailBase, ref, LOCAL_TrailTop)) { | ^~~~~~~~~~ In file included from ./H/absmi.h:161, from C/agc.c:21: ./OPTYap/tab.macros.h:1135:24: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1135 | CELL *cell_ptr = RepAppl(ref); | ^~~~~~~ In file included from ./H/Yap.h:157, from ./H/absmi.h:148, from C/absmi.c:497: ./OPTYap/tab.macros.h: In function 'unbind_variables': ./H/Yap.h:278:42: error: 'Int' undeclared (first use in this function); did you mean 'int'? 278 | #define IN_BETWEEN(MIN,X,MAX) (Unsigned((Int)(X)-(Int)(MIN)) <= \ | ^~~ ./H/YapTerm.h:136:30: note: in definition of macro 'Unsigned' 136 | #define Unsigned(V) ((CELL) (V)) | ^ ./OPTYap/tab.macros.h:1095:11: note: in expansion of macro 'IN_BETWEEN' 1095 | if (IN_BETWEEN(LOCAL_TrailBase, ref, LOCAL_TrailTop)) { | ^~~~~~~~~~ In file included from ./H/Yap.h:157, from ./H/absmi.h:148, from C/agc.c:21: ./OPTYap/tab.macros.h: In function 'restore_bindings': In file included from ./H/absmi.h:161, from C/absmi.c:497: ./OPTYap/tab.macros.h:1103:23: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1103 | CELL *aux_ptr = RepAppl(ref); | ^~~~~~~ ./H/Yap.h:278:42: error: 'Int' undeclared (first use in this function); did you mean 'int'? 278 | #define IN_BETWEEN(MIN,X,MAX) (Unsigned((Int)(X)-(Int)(MIN)) <= \ | ^~~ ./H/YapTerm.h:136:30: note: in definition of macro 'Unsigned' 136 | #define Unsigned(V) ((CELL) (V)) | ^ ./OPTYap/tab.macros.h:1164:6: note: in expansion of macro 'IN_BETWEEN' 1164 | if (IN_BETWEEN(LOCAL_TrailBase, ref, LOCAL_TrailTop)) { | ^~~~~~~~~~ In file included from ./H/absmi.h:161, from C/agc.c:21: ./OPTYap/tab.macros.h:1171:13: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1171 | CELL *pt = RepAppl(ref); | ^~~~~~~ In file included from ./H/Yap.h:157, from ./H/absmi.h:148, from C/absmi.c:497: ./OPTYap/tab.macros.h: In function 'rebind_variables': ./OPTYap/tab.macros.h:1211:24: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1211 | CELL *cell_ptr = RepAppl(ref); | ^~~~~~~ ./H/Yap.h:278:42: error: 'Int' undeclared (first use in this function); did you mean 'int'? 278 | #define IN_BETWEEN(MIN,X,MAX) (Unsigned((Int)(X)-(Int)(MIN)) <= \ | ^~~ ./H/YapTerm.h:136:30: note: in definition of macro 'Unsigned' 136 | #define Unsigned(V) ((CELL) (V)) | ^ ./OPTYap/tab.macros.h:1127:11: note: in expansion of macro 'IN_BETWEEN' 1127 | if (IN_BETWEEN(LOCAL_TrailBase, ref, LOCAL_TrailTop)) { | ^~~~~~~~~~ ./OPTYap/tab.macros.h: In function 'expand_auxiliary_stack': In file included from ./H/absmi.h:161, from C/absmi.c:497: ./OPTYap/tab.macros.h:1135:24: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1135 | CELL *cell_ptr = RepAppl(ref); | ^~~~~~~ gmake: *** [Makefile:670: alloc.o] Error 1 ./OPTYap/tab.macros.h:1230:5: error: unknown type name 'UInt' 1230 | UInt diff = (void *)LOCAL_TrailTop - old_top; | ^~~~ C/arrays.c:965:2: warning: implicit declaration of function 'InitNamedArray' [-Wimplicit-function-declaration] 965 | InitNamedArray(app, size PASS_REGS); | ^~~~~~~~~~~~~~ In file included from ./H/Yap.h:157, from ./H/absmi.h:148, from C/absmi.c:497: ./OPTYap/tab.macros.h: In function 'restore_bindings': C/arrays.c: At top level: C/arrays.c:974:8: error: unknown type name 'Int' 974 | static Int | ^~~ ./H/Yap.h:278:42: error: 'Int' undeclared (first use in this function); did you mean 'int'? 278 | #define IN_BETWEEN(MIN,X,MAX) (Unsigned((Int)(X)-(Int)(MIN)) <= \ | ^~~ ./H/YapTerm.h:136:30: note: in definition of macro 'Unsigned' 136 | #define Unsigned(V) ((CELL) (V)) | ^ ./OPTYap/tab.macros.h:1164:6: note: in expansion of macro 'IN_BETWEEN' 1164 | if (IN_BETWEEN(LOCAL_TrailBase, ref, LOCAL_TrailTop)) { | ^~~~~~~~~~ C/arrays.c: In function 'p_create_static_array': In file included from ./H/absmi.h:161, from C/absmi.c:497: ./OPTYap/tab.macros.h:1171:13: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1171 | CELL *pt = RepAppl(ref); | ^~~~~~~ C/arrays.c:980:3: error: unknown type name 'Int'; did you mean 'int'? 980 | Int size; | ^~~ | int ./OPTYap/tab.macros.h:1211:24: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1211 | CELL *cell_ptr = RepAppl(ref); | ^~~~~~~ ./OPTYap/tab.macros.h: In function 'expand_auxiliary_stack': ./OPTYap/tab.macros.h:1230:5: error: unknown type name 'UInt' 1230 | UInt diff = (void *)LOCAL_TrailTop - old_top; | ^~~~ In file included from C/agc.c:21: ./H/absmi.h: At top level: ./H/absmi.h:1502:16: error: unknown type name 'UInt' 1502 | Yap_regnotoreg(UInt regnbr) | ^~~~ ./H/absmi.h:1515:15: error: unknown type name 'UInt' 1515 | static inline UInt | ^~~~ C/arrays.c:1046:12: warning: implicit declaration of function 'CreateStaticArray'; did you mean 'ClearStaticArray'? [-Wimplicit-function-declaration] 1046 | pp = CreateStaticArray(ae, size, props, NULL, pp PASS_REGS); | ^~~~~~~~~~~~~~~~~ | ClearStaticArray C/arrays.c:1046:10: warning: assignment to 'StaticArrayEntry *' {aka 'struct static_array_entry *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1046 | pp = CreateStaticArray(ae, size, props, NULL, pp PASS_REGS); | ^ In file included from C/absmi.c:497: ./H/absmi.h: In function 'IUnify_complex': ./H/absmi.h:1178:17: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1178 | pt0_end = (pt0 = RepPair(d0) - 1) + 2; | ^ C/arrays.c:1055:5: warning: assignment to 'StaticArrayEntry *' {aka 'struct static_array_entry *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1055 | pp = CreateStaticArray(ae, size, props, NULL, pp PASS_REGS); | ^ ./H/absmi.h:1179:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1179 | pt1 = RepPair(d1) - 1; | ^ ./H/absmi.h:1190:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1190 | ap2 = RepAppl(d0); | ^ ./H/absmi.h:1191:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1191 | ap3 = RepAppl(d1); | ^ C/arrays.c: At top level: C/arrays.c:1082:8: error: unknown type name 'Int' 1082 | static Int | ^~~ C/arrays.c: In function 'p_static_array_properties': In file included from ./H/Regs.h:20, from ./H/Yap.h:311, from ./H/absmi.h:148, from C/agc.c:21: ./H/absmi.h: In function 'prune': ./H/absmi.h: In function 'iequ_complex': ./H/cut_c.h:40:9: error: unknown type name 'CPredicate' 40 | CPredicate func = (CPredicate)((yamop *)TOP->try_userc_cut_yamop)->u.OtapFs.f; \ | ^~~~~~~~~~ ./H/absmi.h:1564:6: note: in expansion of macro 'POP_EXECUTE' 1564 | POP_EXECUTE(); | ^~~~~~~~~~~ ./H/absmi.h:1378:17: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1378 | pt0_end = (pt0 = RepPair(d0) - 1) + 2; | ^ C/arrays.c:1104:7: error: unknown type name 'Int'; did you mean 'int'? 1104 | Int dim = -pp->ArrayEArity; | ^~~ | int ./H/absmi.h:1379:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1379 | pt1 = RepPair(d1) - 1; | ^ ./H/absmi.h:1390:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1390 | ap2 = RepAppl(d0); | ^ ./H/absmi.h:1391:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1391 | ap3 = RepAppl(d1); | ^ C/arrays.c: At top level: C/arrays.c:1136:8: error: unknown type name 'Int' 1136 | static Int | ^~~ C/arrays.c: In function 'p_resize_static_array': ./H/absmi.h: At top level: ./H/absmi.h:1502:16: error: unknown type name 'UInt' 1502 | Yap_regnotoreg(UInt regnbr) | ^~~~ ./H/absmi.h:1515:15: error: unknown type name 'UInt' 1515 | static inline UInt | ^~~~ C/arrays.c:1141:3: error: unknown type name 'Int'; did you mean 'int'? 1141 | Int size; | ^~~ | int C/arrays.c:1172:7: error: unknown type name 'Int'; did you mean 'int'? 1172 | Int osize = - pp->ArrayEArity; | ^~~ | int ./H/cut_c.h:40:28: error: 'CPredicate' undeclared (first use in this function) 40 | CPredicate func = (CPredicate)((yamop *)TOP->try_userc_cut_yamop)->u.OtapFs.f; \ | ^~~~~~~~~~ ./H/absmi.h:1564:6: note: in expansion of macro 'POP_EXECUTE' 1564 | POP_EXECUTE(); | ^~~~~~~~~~~ In file included from ./H/Regs.h:20, from ./H/Yap.h:311, from ./H/absmi.h:148, from C/absmi.c:497: ./H/absmi.h: In function 'prune': ./H/cut_c.h:40:9: error: unknown type name 'CPredicate' 40 | CPredicate func = (CPredicate)((yamop *)TOP->try_userc_cut_yamop)->u.OtapFs.f; \ | ^~~~~~~~~~ ./H/absmi.h:1564:6: note: in expansion of macro 'POP_EXECUTE' 1564 | POP_EXECUTE(); | ^~~~~~~~~~~ C/arrays.c:1173:7: warning: implicit declaration of function 'ResizeStaticArray' [-Wimplicit-function-declaration] 1173 | ResizeStaticArray(pp, size PASS_REGS); | ^~~~~~~~~~~~~~~~~ C/arrays.c: At top level: ./H/cut_c.h:40:28: error: 'CPredicate' undeclared (first use in this function) 40 | CPredicate func = (CPredicate)((yamop *)TOP->try_userc_cut_yamop)->u.OtapFs.f; \ | ^~~~~~~~~~ ./H/absmi.h:1564:6: note: in expansion of macro 'POP_EXECUTE' 1564 | POP_EXECUTE(); | ^~~~~~~~~~~ C/arrays.c:1184:8: error: unknown type name 'Int' 1184 | static Int | ^~~ C/arrays.c:1214:8: error: unknown type name 'Int' 1214 | static Int | ^~~ ./H/cut_c.h:43:9: warning: implicit declaration of function 'YAP_ExecuteOnCut' [-Wimplicit-function-declaration] 43 | YAP_ExecuteOnCut(pred, func, TOP); \ | ^~~~~~~~~~~~~~~~ ./H/absmi.h:1564:6: note: in expansion of macro 'POP_EXECUTE' 1564 | POP_EXECUTE(); | ^~~~~~~~~~~ C/arrays.c:1264:8: error: unknown type name 'Int' 1264 | static Int | ^~~ ./H/cut_c.h:40:20: error: expected ';' before 'func' 40 | CPredicate func = (CPredicate)((yamop *)TOP->try_userc_cut_yamop)->u.OtapFs.f; \ | ^~~~ ./H/absmi.h:1570:4: note: in expansion of macro 'POP_EXECUTE' 1570 | POP_EXECUTE(); | ^~~~~~~~~~~ C/arrays.c: In function 'replace_array_references_complex': ./H/cut_c.h:43:32: error: 'func' undeclared (first use in this function) 43 | YAP_ExecuteOnCut(pred, func, TOP); \ | ^~~~ ./H/absmi.h:1570:4: note: in expansion of macro 'POP_EXECUTE' 1570 | POP_EXECUTE(); | ^~~~~~~~~~~ C/arrays.c:1441:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1441 | pt0 = RepPair(d0) - 1; | ^ In file included from ./H/absmi.h:1577, from C/agc.c:21: ./H/trim_trail.h:18:13: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 18 | CELL *pt = RepPair(d1); | ^~~~~~~ C/arrays.c:1442:15: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1442 | pt0_end = RepPair(d0) + 1; | ^ In file included from ./H/Yap.h:831, from C/amasm.c:186: ./H/hglobals.h:33:3: error: unknown type name 'UInt' 33 | UInt SizeOfOverflow_; | ^~~~ ./H/hglobals.h:35:3: error: unknown type name 'UInt' 35 | UInt AGcThreshold_; | ^~~~ ./H/hglobals.h:76:3: error: unknown type name 'Int' 76 | Int tot_agc_time_; | ^~~ ./H/hglobals.h:78:3: error: unknown type name 'Int' 78 | Int tot_agc_recovered_; | ^~~ In file included from ./H/Yap.h:157, from ./H/absmi.h:148, from C/agc.c:21: ./H/Yap.h:278:42: error: 'Int' undeclared (first use in this function); did you mean 'int'? 278 | #define IN_BETWEEN(MIN,X,MAX) (Unsigned((Int)(X)-(Int)(MIN)) <= \ | ^~~ ./H/YapTerm.h:136:30: note: in definition of macro 'Unsigned' 136 | #define Unsigned(V) ((CELL) (V)) | ^ ./H/trim_trail.h:26:8: note: in expansion of macro 'IN_BETWEEN' 26 | if (IN_BETWEEN(LOCAL_TrailBase, pt, LOCAL_TrailTop)) { | ^~~~~~~~~~ C/arrays.c:1475:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1475 | pt0 = RepAppl(d0); | ^ In file included from ./H/Yap.h:833, from C/amasm.c:186: ./H/hlocals.h:22:3: error: unknown type name 'Int' 22 | Int ClDiff_; | ^~~ ./H/hlocals.h:23:3: error: unknown type name 'Int' 23 | Int GDiff_; | ^~~ ./H/hlocals.h:24:3: error: unknown type name 'Int' 24 | Int HDiff_; | ^~~ ./H/hlocals.h:25:3: error: unknown type name 'Int' 25 | Int GDiff0_; | ^~~ ./H/hlocals.h:27:3: error: unknown type name 'Int' 27 | Int LDiff_; | ^~~ ./H/hlocals.h:28:3: error: unknown type name 'Int' 28 | Int TrDiff_; | ^~~ C/arrays.c: In function 'replace_array_references': ./H/hlocals.h:29:3: error: unknown type name 'Int' 29 | Int XDiff_; | ^~~ In file included from C/agc.c:21: ./H/absmi.h: At top level: ./H/hlocals.h:30:3: error: unknown type name 'Int' 30 | Int DelayDiff_; | ^~~ ./H/absmi.h:1586:28: error: unknown type name 'Int'; did you mean 'int'? 1586 | void SET_ASP__(CELL *yreg, Int sz USES_REGS) { | ^~~ | int ./H/hlocals.h:31:3: error: unknown type name 'Int' 31 | Int BaseDiff_; | ^~~ C/arrays.c:1533:49: warning: passing argument 1 of 'replace_array_references_complex' makes pointer from integer without a cast [-Wint-conversion] 1533 | replace_array_references_complex(RepPair(t) - 1, RepPair(t) + 1, h0, | ~~~~~~~~~~~^~~ | | | int ./H/hlocals.h:43:3: error: unknown type name 'UInt' 43 | UInt ConsultCapacity_; | ^~~~ ./H/hlocals.h:50:3: error: unknown type name 'UInt' 50 | UInt GlobalArenaOverflows_; | ^~~~ ./H/hlocals.h:51:3: error: unknown type name 'Int' 51 | Int ArenaOverflows_; | ^~~ ./H/hlocals.h:52:3: error: unknown type name 'Int' 52 | Int DepthArenas_; | ^~~ C/arrays.c:1405:49: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 1405 | replace_array_references_complex(register CELL *pt0, | ~~~~~~~~~~~~~~~^~~ ./H/hlocals.h:59:3: error: unknown type name 'UInt' 59 | UInt ActiveSignals_; | ^~~~ ./H/hlocals.h:60:3: error: unknown type name 'UInt' 60 | UInt IPredArity_; | ^~~~ ./H/hlocals.h:64:3: error: unknown type name 'Int' 64 | Int StartLine_; | ^~~ ./H/hlocals.h:73:3: error: unknown type name 'UInt' 73 | UInt GcCurrentPhase_; | ^~~~ In file included from C/agc.c:22: ./H/Foreign.h:112:1: error: unknown type name 'Int'; did you mean 'int'? 112 | Int STD_PROTO(Yap_LoadForeign,(StringList, StringList, char *, YapInitProc *)); | ^~~ | int ./H/hlocals.h:74:3: error: unknown type name 'UInt' 74 | UInt GcCalls_; | ^~~~ C/arrays.c:1533:65: warning: passing argument 2 of 'replace_array_references_complex' makes pointer from integer without a cast [-Wint-conversion] 1533 | replace_array_references_complex(RepPair(t) - 1, RepPair(t) + 1, h0, | ~~~~~~~~~~~^~~ | | | int ./H/hlocals.h:75:3: error: unknown type name 'Int' 75 | Int TotGcTime_; | ^~~ ./H/hlocals.h:77:3: error: unknown type name 'Int' 77 | Int LastGcTime_; | ^~~ ./H/cut_c.h:43:9: warning: implicit declaration of function 'YAP_ExecuteOnCut' [-Wimplicit-function-declaration] 43 | YAP_ExecuteOnCut(pred, func, TOP); \ | ^~~~~~~~~~~~~~~~ ./H/absmi.h:1564:6: note: in expansion of macro 'POP_EXECUTE' 1564 | POP_EXECUTE(); | ^~~~~~~~~~~ ./H/Foreign.h:113:1: error: unknown type name 'Int'; did you mean 'int'? 113 | Int STD_PROTO(Yap_ReLoadForeign,(StringList, StringList, char *, YapInitProc *)); | ^~~ | int ./H/hlocals.h:78:3: error: unknown type name 'Int' 78 | Int LastSSTime_; | ^~~ C/arrays.c:1406:21: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 1406 | register CELL *pt0_end, | ~~~~~~~~~~~~~~~^~~~~~~ ./H/hlocals.h:81:3: error: unknown type name 'Int' 81 | Int total_marked_; | ^~~ ./H/hlocals.h:82:3: error: unknown type name 'Int' 82 | Int total_oldies_; | ^~~ ./H/cut_c.h:40:20: error: expected ';' before 'func' 40 | CPredicate func = (CPredicate)((yamop *)TOP->try_userc_cut_yamop)->u.OtapFs.f; \ | ^~~~ ./H/absmi.h:1570:4: note: in expansion of macro 'POP_EXECUTE' 1570 | POP_EXECUTE(); | ^~~~~~~~~~~ ./H/hlocals.h:99:3: error: unknown type name 'UInt' 99 | UInt gc_timestamp_; | ^~~~ C/arrays.c:1543:38: warning: passing argument 1 of 'replace_array_references_complex' makes pointer from integer without a cast [-Wint-conversion] 1543 | replace_array_references_complex(RepAppl(t), | ^~~~~~~~~~ | | | int ./H/hlocals.h:108:3: error: unknown type name 'UInt' 108 | UInt extra_gc_cells_size_; | ^~~~ ./H/hlocals.h:115:3: error: unknown type name 'UInt' 115 | UInt CMemFirstBlockSz_; | ^~~~ In file included from C/agc.c:23: ./H/alloc.h:100:1: error: unknown type name 'UInt' 100 | UInt STD_PROTO(Yap_ExtendWorkSpaceThroughHole, (UInt)); | ^~~~ C/arrays.c:1405:49: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 1405 | replace_array_references_complex(register CELL *pt0, | ~~~~~~~~~~~~~~~^~~ ./H/hlocals.h:119:3: error: unknown type name 'Int' 119 | Int* LabelFirstArray_; | ^~~ ./H/alloc.h:100:1: warning: parameter names (without types) in function declaration ./H/cut_c.h:43:32: error: 'func' undeclared (first use in this function) 43 | YAP_ExecuteOnCut(pred, func, TOP); \ | ^~~~ ./H/absmi.h:1570:4: note: in expansion of macro 'POP_EXECUTE' 1570 | POP_EXECUTE(); | ^~~~~~~~~~~ ./H/hlocals.h:120:3: error: unknown type name 'UInt' 120 | UInt LabelFirstArraySz_; | ^~~~ C/arrays.c:1544:21: warning: passing argument 2 of 'replace_array_references_complex' makes pointer from integer without a cast [-Wint-conversion] 1544 | RepAppl(t) + ArityOfFunctor(FunctorOfTerm(t)), h0 + 1, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int ./H/alloc.h:101:1: warning: parameter names (without types) in function declaration 101 | void STD_PROTO(Yap_AllocHole, (UInt, UInt)); | ^~~~ ./H/hlocals.h:150:3: error: unknown type name 'UInt' 150 | UInt Error_Size_; | ^~~~ C/arrays.c:1406:21: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 1406 | register CELL *pt0_end, | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./H/absmi.h:1577, from C/absmi.c:497: ./H/trim_trail.h:18:13: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 18 | CELL *pt = RepPair(d1); | ^~~~~~~ C/arrays.c: At top level: ./H/hlocals.h:167:3: error: unknown type name 'Int' 167 | Int PrologMode_; | ^~~ ./H/hlocals.h:181:3: error: unknown type name 'Int' 181 | Int total_heap_overflow_time_; | ^~~ In file included from C/agc.c:24: ./H/yapio.h:234:1: warning: parameter names (without types) in function declaration 234 | INLINE_ONLY EXTERN inline int STD_PROTO(chtype,(Int)); | ^~~~~~~~~~~ ./H/hlocals.h:183:3: error: unknown type name 'Int' 183 | Int total_stack_overflow_time_; | ^~~ ./H/yapio.h:235:1: warning: parameter names (without types) in function declaration 235 | int STD_PROTO(Yap_wide_chtype,(Int)); | ^~~ C/arrays.c:1550:8: error: unknown type name 'Int' 1550 | static Int | ^~~ In file included from ./H/Yap.h:157, from ./H/absmi.h:148, from C/absmi.c:497: ./H/Yap.h:278:42: error: 'Int' undeclared (first use in this function); did you mean 'int'? 278 | #define IN_BETWEEN(MIN,X,MAX) (Unsigned((Int)(X)-(Int)(MIN)) <= \ | ^~~ ./H/YapTerm.h:136:30: note: in definition of macro 'Unsigned' 136 | #define Unsigned(V) ((CELL) (V)) | ^ ./H/trim_trail.h:26:8: note: in expansion of macro 'IN_BETWEEN' 26 | if (IN_BETWEEN(LOCAL_TrailBase, pt, LOCAL_TrailTop)) { | ^~~~~~~~~~ ./H/hlocals.h:185:3: error: unknown type name 'Int' 185 | Int total_delay_overflow_time_; | ^~~ ./H/hlocals.h:187:3: error: unknown type name 'Int' 187 | Int total_trail_overflow_time_; | ^~~ ./H/yapio.h:238:8: error: unknown type name 'Int'; did you mean 'int'? 238 | chtype(Int ch) | ^~~ | int ./H/hlocals.h:189:3: error: unknown type name 'Int' 189 | Int total_atom_table_overflow_time_; | ^~~ C/arrays.c:1560:8: error: unknown type name 'Int' 1560 | static Int | ^~~ ./H/hlocals.h:200:3: error: unknown type name 'UInt' 200 | UInt ExportAtomHashTableSize_; | ^~~~ ./H/hlocals.h:201:3: error: unknown type name 'UInt' 201 | UInt ExportAtomHashTableNum_; | ^~~~ ./H/yapio.h:261:1: error: unknown type name 'Int'; did you mean 'int'? 261 | Int STD_PROTO(Yap_FirstLineInParse,(void)); | ^~~ | int ./H/hlocals.h:203:3: error: unknown type name 'UInt' 203 | UInt ExportFunctorHashTableSize_; | ^~~~ C/arrays.c: In function 'p_assign_static': ./H/hlocals.h:204:3: error: unknown type name 'UInt' 204 | UInt ExportFunctorHashTableNum_; | ^~~~ ./H/hlocals.h:206:3: error: unknown type name 'UInt' 206 | UInt ExportPredEntryHashTableSize_; | ^~~~ ./H/yapio.h:270:1: error: unknown type name 'Int'; did you mean 'int'? 270 | Int STD_PROTO(Yap_GetStreamFd,(int)); | ^~~ | int ./H/hlocals.h:207:3: error: unknown type name 'UInt' 207 | UInt ExportPredEntryHashTableNum_; | ^~~~ ./H/hlocals.h:209:3: error: unknown type name 'UInt' 209 | UInt ExportDBRefHashTableSize_; | ^~~~ C/arrays.c:1565:3: error: unknown type name 'Int'; did you mean 'int'? 1565 | Int indx; | ^~~ | int ./H/hlocals.h:210:3: error: unknown type name 'UInt' 210 | UInt ExportDBRefHashTableNum_; | ^~~~ In file included from C/absmi.c:497: ./H/absmi.h: At top level: ./H/yapio.h:278:1: error: unknown type name 'Int'; did you mean 'int'? 278 | Int STD_PROTO(Yap_StreamToFileNo,(Term)); | ^~~ | int ./H/hlocals.h:212:3: error: unknown type name 'UInt' 212 | UInt ImportAtomHashTableSize_; | ^~~~ ./H/hlocals.h:213:3: error: unknown type name 'UInt' 213 | UInt ImportAtomHashTableNum_; | ^~~~ ./H/absmi.h:1586:28: error: unknown type name 'Int'; did you mean 'int'? 1586 | void SET_ASP__(CELL *yreg, Int sz USES_REGS) { | ^~~ | int ./H/hlocals.h:215:3: error: unknown type name 'UInt' 215 | UInt ImportFunctorHashTableSize_; | ^~~~ ./H/hlocals.h:216:3: error: unknown type name 'UInt' 216 | UInt ImportFunctorHashTableNum_; | ^~~~ C/arrays.c:1601:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1601 | ptr = RepAppl(t1)+indx+1; | ^ ./H/hlocals.h:218:3: error: unknown type name 'UInt' 218 | UInt ImportOPCODEHashTableSize_; | ^~~~ ./H/hlocals.h:220:3: error: unknown type name 'UInt' 220 | UInt ImportPredEntryHashTableSize_; | ^~~~ In file included from C/absmi.c:498: ./H/heapgc.h:93:15: error: unknown type name 'Int' 93 | static inline Int | ^~~ ./H/hlocals.h:221:3: error: unknown type name 'UInt' 221 | UInt ImportPredEntryHashTableNum_; | ^~~~ ./H/heapgc.h:99:15: error: unknown type name 'Int' 99 | static inline Int | ^~~ ./H/hlocals.h:223:3: error: unknown type name 'UInt' 223 | UInt ImportDBRefHashTableSize_; | ^~~~ ./H/hlocals.h:224:3: error: unknown type name 'UInt' 224 | UInt ImportDBRefHashTableNum_; | ^~~~ In file included from C/agc.c:24: ./H/yapio.h:327:27: error: unknown type name 'UInt' 327 | INLINE_ONLY EXTERN inline UInt STD_PROTO(HashFunction, (unsigned char *)); | ^~~~ ./H/heapgc.h: In function 'UNMARKED_MARK__': ./H/yapio.h:328:27: error: unknown type name 'UInt' 328 | INLINE_ONLY EXTERN inline UInt STD_PROTO(WideHashFunction, (wchar_t *)); | ^~~~ ./H/heapgc.h:102:3: error: unknown type name 'Int'; did you mean 'int'? 102 | Int pos = ptr - (CELL *)LOCAL_GlobalBase; | ^~~ | int ./H/hlocals.h:227:3: error: unknown type name 'Int' 227 | Int ProfCalls_; | ^~~ ./H/yapio.h:330:27: error: unknown type name 'UInt' 330 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/hlocals.h:228:3: error: unknown type name 'Int' 228 | Int ProfGCs_; | ^~~ In file included from ./H/Yap.h:157, from C/arrays.c:18: ./H/Yap.h:281:39: error: 'Int' undeclared (first use in this function); did you mean 'int'? 281 | #define OUTSIDE(MIN,X,MAX) (Unsigned((Int)(X)-(Int)(MIN)) > \ | ^~~ ./H/YapTerm.h:136:30: note: in definition of macro 'Unsigned' 136 | #define Unsigned(V) ((CELL) (V)) | ^ ./H/amiops.h:169:13: note: in expansion of macro 'OUTSIDE' 169 | if (OUTSIDE(HBREG,TERM,B)) \ | ^~~~~~~ ./H/amiops.h:280:27: note: in expansion of macro 'MATRAIL' 280 | #define MaBind(VP,D) { MATRAIL((VP),*(VP),(D)); *(VP) = (D); } | ^~~~~~~ C/arrays.c:1603:7: note: in expansion of macro 'MaBind' 1603 | MaBind(ptr, t3); | ^~~~~~ ./H/hlocals.h:229:3: error: unknown type name 'Int' 229 | Int ProfHGrows_; | ^~~ ./H/hlocals.h:230:3: error: unknown type name 'Int' 230 | Int ProfSGrows_; | ^~~ ./H/heapgc.h: In function 'MARK__': ./H/hlocals.h:231:3: error: unknown type name 'Int' 231 | Int ProfMallocs_; | ^~~ ./H/heapgc.h:114:3: error: unknown type name 'Int'; did you mean 'int'? 114 | Int pos = ptr - (CELL *)LOCAL_GlobalBase; | ^~~ | int ./H/yapio.h: In function 'HashFunction': ./H/hlocals.h:232:3: error: unknown type name 'Int' 232 | Int ProfIndexing_; | ^~~ ./H/yapio.h:334:3: error: unknown type name 'UInt' 334 | UInt hash = 5381; | ^~~~ ./H/hlocals.h:233:3: error: unknown type name 'Int' 233 | Int ProfOn_; | ^~~ ./H/hlocals.h:234:3: error: unknown type name 'Int' 234 | Int ProfOns_; | ^~~ ./H/hlocals.h:245:3: error: unknown type name 'UInt' 245 | UInt ibnds_[256]; | ^~~~ ./H/yapio.h:335:3: error: unknown type name 'UInt' 335 | UInt c; | ^~~~ ./H/yapio.h: At top level: C/arrays.c:1639:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1639 | pt = RepAppl(pp->ValueOfVE) + indx + 1; | ^ ./H/yapio.h:349:27: error: unknown type name 'UInt' 349 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/yapio.h: In function 'WideHashFunction': ./H/yapio.h:352:3: error: unknown type name 'UInt' 352 | UInt hash = 5381; | ^~~~ In file included from C/absmi.c:513: ./H/arith2.h: At top level: ./H/yapio.h:353:3: error: unknown type name 'UInt' 353 | UInt c; | ^~~~ ./H/arith2.h:23:14: error: unknown type name 'Int'; did you mean 'int'? 23 | add_overflow(Int x, Int i, Int j) | ^~~ | int C/arrays.c:1662:5: error: expected ';' before 'i' 1662 | Int i; | ^~ | ; ./H/arith2.h:23:21: error: unknown type name 'Int'; did you mean 'int'? 23 | add_overflow(Int x, Int i, Int j) | ^~~ | int In file included from C/agc.c:25: ./H/iopreds.h: At top level: ./H/iopreds.h:46:30: error: unknown type name 'UInt' 46 | typedef int (*GetsFunc)(int, UInt, char *); | ^~~~ ./H/arith2.h:23:28: error: unknown type name 'Int'; did you mean 'int'? 23 | add_overflow(Int x, Int i, Int j) | ^~~ | int ./H/iopreds.h:65:5: error: unknown type name 'Int' 65 | Int charcount, linecount, linepos; | ^~~ In file included from ./H/Yap.h:841, from C/amasm.c:186: ./H/YapCompoundTerm.h:26:8: error: unknown type name 'Int' 26 | EXTERN Int Yap_unify(Term a,Term b); | ^~~ ./H/iopreds.h:66:5: error: unknown type name 'Int' 66 | Int status; | ^~~ ./H/arith2.h:29:9: error: unknown type name 'Int'; did you mean 'int'? 29 | add_int(Int i, Int j) | ^~~ | int C/arrays.c:1672:4: error: 'i' undeclared (first use in this function) 1672 | i = IntegerOfTerm(nti); | ^ ./H/iopreds.h:73:5: error: unknown type name 'GetsFunc' 73 | GetsFunc stream_gets; /* function the stream uses for reading a sequence of characters */ | ^~~~~~~~ ./H/arith2.h:29:16: error: unknown type name 'Int'; did you mean 'int'? 29 | add_int(Int i, Int j) | ^~~ | int ./H/YapCompoundTerm.h: In function 'ArgOfTerm': ./H/YapCompoundTerm.h:63:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 63 | return (Term) (Derefa (RepAppl (t) + (i))); | ~~~~~~~~~~~~^~~~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/arith2.h:48:14: error: unknown type name 'Int'; did you mean 'int'? 48 | sub_overflow(Int x, Int i, Int j) | ^~~ | int C/arrays.c:1684:5: error: expected ';' before 'i' 1684 | Int i; | ^~ | ; ./H/arith2.h:48:21: error: unknown type name 'Int'; did you mean 'int'? 48 | sub_overflow(Int x, Int i, Int j) | ^~~ | int ./H/arith2.h:48:28: error: unknown type name 'Int'; did you mean 'int'? 48 | sub_overflow(Int x, Int i, Int j) | ^~~ | int ./H/arith2.h:54:9: error: unknown type name 'Int'; did you mean 'int'? 54 | sub_int(Int i, Int j) | ^~~ | int C/arrays.c:1709:5: error: expected ';' before 'i' 1709 | Int i; | ^~ | ; ./H/YapCompoundTerm.h: In function 'HeadOfTerm': ./H/arith2.h:54:16: error: unknown type name 'Int'; did you mean 'int'? 54 | sub_int(Int i, Int j) | ^~~ | int ./H/arith2.h:72:15: error: unknown type name 'Int' 72 | inline static Int | ^~~ ./H/YapCompoundTerm.h:73:26: warning: implicit declaration of function 'RepPair' [-Wimplicit-function-declaration] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~ ./H/YapCompoundTerm.h:73:26: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 73 | return (Term) (Derefa (RepPair (t))); | ^~~~~~~~~~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/arith2.h:73:5: error: unknown type name 'Int'; did you mean 'int'? 73 | SLR(Int i, Int shift) | ^~~ | int ./H/YapCompoundTerm.h: In function 'TailOfTerm': ./H/YapCompoundTerm.h:83:38: warning: passing argument 1 of 'Derefa' makes pointer from integer without a cast [-Wint-conversion] 83 | return (Term) (Derefa (RepPair (t) + 1)); | ~~~~~~~~~~~~^~~ | | | int ./H/YapCompoundTerm.h:43:14: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 43 | Derefa(CELL *b) | ~~~~~~^ ./H/arith2.h:73:12: error: unknown type name 'Int'; did you mean 'int'? 73 | SLR(Int i, Int shift) | ^~~ | int C/arrays.c:1758:5: error: expected ';' before 'r' 1758 | Int r; | ^~ | ; ./H/arith2.h:95:14: error: unknown type name 'Int'; did you mean 'int'? 95 | mul_overflow(Int z, Int i1, Int i2) | ^~~ | int In file included from C/agc.c:192: ./H/rheap.h: In function 'AdjustSwitchTable__': ./H/rheap.h:380:7: error: unknown type name 'Int'; did you mean 'int'? 380 | Int j; | ^~~ | int ./H/arith2.h:95:21: error: unknown type name 'Int'; did you mean 'int'? 95 | mul_overflow(Int z, Int i1, Int i2) | ^~~ | int C/arrays.c:1766:4: error: 'r' undeclared (first use in this function) 1766 | r = IntegerOfTerm(t3); | ^ ./H/arith2.h:95:29: error: unknown type name 'Int'; did you mean 'int'? 95 | mul_overflow(Int z, Int i1, Int i2) | ^~~ | int ./H/rheap.h:395:7: error: unknown type name 'Int'; did you mean 'int'? 395 | Int j; | ^~~ | int ./H/arith2.h:108:11: error: unknown type name 'Int'; did you mean 'int'? 108 | times_int(Int i1, Int i2) { | ^~~ | int ./H/arith2.h:108:19: error: unknown type name 'Int'; did you mean 'int'? 108 | times_int(Int i1, Int i2) { | ^~~ | int C/arrays.c: At top level: ./H/arith2.h:154:8: error: unknown type name 'Int'; did you mean 'int'? 154 | do_sll(Int i, Int j) /* j > 0 */ | ^~~ | int In file included from ./H/Yap.h:851, from C/amasm.c:186: ./H/amiops.h: In function 'AlignGlobalForDouble': C/arrays.c:1892:8: error: unknown type name 'Int' 1892 | static Int | ^~~ ./H/arith2.h:154:15: error: unknown type name 'Int'; did you mean 'int'? 154 | do_sll(Int i, Int j) /* j > 0 */ | ^~~ | int ./H/amiops.h:113:8: warning: implicit declaration of function 'DOUBLE_ALIGNED' [-Wimplicit-function-declaration] 113 | if (!DOUBLE_ALIGNED(H)) { | ^~~~~~~~~~~~~~ C/arrays.c: In function 'p_assign_dynamic': In file included from ./H/Yap.h:851, from C/amasm.c:186: ./H/amiops.h: In function 'reset_trail': ./H/amiops.h:304:18: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 304 | CELL *pt = RepAppl(d1); | ^~~~~~~ C/arrays.c:1897:3: error: unknown type name 'Int'; did you mean 'int'? 1897 | Int indx; | ^~~ | int ./H/arith2.h: In function 'p_plus': ./H/arith2.h:183:14: warning: implicit declaration of function 'add_int' [-Wimplicit-function-declaration] 183 | return add_int(IntegerOfTerm(t1),IntegerOfTerm(t2)); | ^~~~~~~ C/arrays.c:1932:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1932 | ptr = RepAppl(t1)+indx+1; | ^ ./H/amiops.h: At top level: ./H/amiops.h:358:1: error: unknown type name 'Int' 358 | Int Yap_unify(Term t0, Term t1); | ^~~ ./H/amiops.h:361:1: error: unknown type name 'Int' 361 | Int Yap_unify(Term t0, Term t1) | ^~~ ./H/amiops.h:374:8: error: unknown type name 'Int' 374 | EXTERN Int STD_PROTO(Yap_unify_constant,(Term,Term)); | ^~~ ./H/amiops.h:376:15: error: unknown type name 'Int' 376 | EXTERN inline Int | ^~~ ./H/amiops.h: In function 'Yap_unify_constant': In file included from ./H/Yap.h:157, from C/arrays.c:18: ./H/Yap.h:281:39: error: 'Int' undeclared (first use in this function); did you mean 'int'? 281 | #define OUTSIDE(MIN,X,MAX) (Unsigned((Int)(X)-(Int)(MIN)) > \ | ^~~ ./H/YapTerm.h:136:30: note: in definition of macro 'Unsigned' 136 | #define Unsigned(V) ((CELL) (V)) | ^ ./H/amiops.h:169:13: note: in expansion of macro 'OUTSIDE' 169 | if (OUTSIDE(HBREG,TERM,B)) \ | ^~~~~~~ ./H/amiops.h:280:27: note: in expansion of macro 'MATRAIL' 280 | #define MaBind(VP,D) { MATRAIL((VP),*(VP),(D)); *(VP) = (D); } | ^~~~~~~ C/arrays.c:1934:7: note: in expansion of macro 'MaBind' 1934 | MaBind(ptr, t3); | ^~~~~~ ./H/amiops.h:398:26: error: subscripted value is neither array nor pointer nor vector 398 | CELL d0 = RepAppl(a)[1]; | ^ ./H/amiops.h:399:29: error: subscripted value is neither array nor pointer nor vector 399 | CELL d1 = RepAppl(cons)[1]; | ^ ./H/arith2.h: In function 'p_minus': ./H/arith2.h:239:14: warning: implicit declaration of function 'sub_int' [-Wimplicit-function-declaration] 239 | return sub_int(IntegerOfTerm(t1), IntegerOfTerm(t2)); | ^~~~~~~ C/arrays.c:1969:8: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1969 | pt = RepAppl(pp->ValueOfVE) + indx + 1; | ^ In file included from C/amasm.c:186: ./H/Yap.h: In function 'Yap_PopSlots': ./H/Yap.h:873:5: error: unknown type name 'Int'; did you mean 'int'? 873 | Int old_slots; | ^~~ | int C/arrays.c:2012:13: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 2012 | CELL *sp = RepAppl(tn); | ^~~~~~~ ./H/Yap.h: In function 'Yap_CloseSlots': ./H/Yap.h:883:3: error: unknown type name 'Int'; did you mean 'int'? 883 | Int old_slots; | ^~~ | int In file included from C/agc.c:192: ./H/rheap.h: In function 'AdjustDBTerm__': ./H/rheap.h:474:7: warning: assignment to 'Term *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 474 | p = PtoHeapCellAdjust(RepPair(trm)); | ^ C/arrays.c: At top level: ./H/Yap.h: At top level: C/agc.c:167:30: warning: initialization of 'Term *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 167 | #define PtoHeapCellAdjust(P) (P) | ^ ./H/rheap.h:481:15: note: in expansion of macro 'PtoHeapCellAdjust' 481 | Term *newp = PtoHeapCellAdjust(RepPair(p[1])); | ^~~~~~~~~~~~~~~~~ ./H/Yap.h:893:15: error: unknown type name 'Int' 893 | static inline Int | ^~~ In file included from C/agc.c:192: ./H/rheap.h:495:18: warning: assignment to 'Term *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 495 | Term *p0 = p = PtoHeapCellAdjust(RepAppl(trm)); | ^ C/arrays.c:2032:8: error: unknown type name 'Int' 2032 | static Int | ^~~ ./H/Yap.h:899:17: error: unknown type name 'Int'; did you mean 'int'? 899 | Yap_GetFromSlot(Int slot USES_REGS) | ^~~ | int C/arrays.c: In function 'p_add_to_array_element': ./H/Yap.h:905:24: error: unknown type name 'Int'; did you mean 'int'? 905 | Yap_GetDerefedFromSlot(Int slot USES_REGS) | ^~~ | int ./H/rheap.h:506:2: error: unknown type name 'UInt' 506 | UInt Arity, i; | ^~~~ ./H/Yap.h:911:20: error: unknown type name 'Int'; did you mean 'int'? 911 | Yap_GetPtrFromSlot(Int slot USES_REGS) | ^~~ | int ./H/arith2.h: In function 'p_times': C/arrays.c:2037:3: error: unknown type name 'Int'; did you mean 'int'? 2037 | Int indx; | ^~~ | int ./H/arith2.h:299:14: warning: implicit declaration of function 'times_int' [-Wimplicit-function-declaration] 299 | return(times_int(IntegerOfTerm(t1),IntegerOfTerm(t2))); | ^~~~~~~~~ ./H/Yap.h:917:21: error: unknown type name 'Int'; did you mean 'int'? 917 | Yap_AddressFromSlot(Int slot USES_REGS) | ^~~ | int ./H/Yap.h:923:15: error: unknown type name 'Int'; did you mean 'int'? 923 | Yap_PutInSlot(Int slot, Term t USES_REGS) | ^~~ | int C/arrays.c:2078:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 2078 | ptr = RepAppl(t1)+indx+1; | ^ ./H/arith2.h: In function 'p_div': ./H/arith2.h:358:2: error: unknown type name 'Int'; did you mean 'int'? 358 | Int i1 = IntegerOfTerm(t1), i2 = IntegerOfTerm(t2); | ^~~ | int C/arrays.c:2079:23: error: subscripted value is neither array nor pointer nor vector 2079 | ta = RepAppl(t1)[indx+1]; | ^ In file included from C/amasm.c:187: ./H/yapio.h:234:1: warning: parameter names (without types) in function declaration 234 | INLINE_ONLY EXTERN inline int STD_PROTO(chtype,(Int)); | ^~~~~~~~~~~ ./H/yapio.h:235:1: warning: parameter names (without types) in function declaration 235 | int STD_PROTO(Yap_wide_chtype,(Int)); | ^~~ ./H/arith2.h: In function 'p_sll': ./H/rheap.h: In function 'RestoreIntKeys__': ./H/yapio.h:238:8: error: unknown type name 'Int'; did you mean 'int'? 238 | chtype(Int ch) | ^~~ | int In file included from ./H/Yap.h:157, from C/arrays.c:18: ./H/Yap.h:281:39: error: 'Int' undeclared (first use in this function); did you mean 'int'? 281 | #define OUTSIDE(MIN,X,MAX) (Unsigned((Int)(X)-(Int)(MIN)) > \ | ^~~ ./H/YapTerm.h:136:30: note: in definition of macro 'Unsigned' 136 | #define Unsigned(V) ((CELL) (V)) | ^ ./H/amiops.h:169:13: note: in expansion of macro 'OUTSIDE' 169 | if (OUTSIDE(HBREG,TERM,B)) \ | ^~~~~~~ ./H/amiops.h:280:27: note: in expansion of macro 'MATRAIL' 280 | #define MaBind(VP,D) { MATRAIL((VP),*(VP),(D)); *(VP) = (D); } | ^~~~~~~ C/arrays.c:2103:7: note: in expansion of macro 'MaBind' 2103 | MaBind(ptr, ta); | ^~~~~~ ./H/arith2.h:496:9: error: unknown type name 'Int'; did you mean 'int'? 496 | { Int i2 = IntegerOfTerm(t2); | ^~~ | int ./H/rheap.h:836:7: error: unknown type name 'UInt' 836 | UInt i; | ^~~~ ./H/yapio.h:261:1: error: unknown type name 'Int'; did you mean 'int'? 261 | Int STD_PROTO(Yap_FirstLineInParse,(void)); | ^~~ | int In file included from ./H/absmi.h:150, from C/absmi.c:497: ./H/arith2.h:502:9: warning: implicit declaration of function 'SLR' [-Wimplicit-function-declaration] 502 | RINT(SLR(IntegerOfTerm(t1), -i2)); | ^~~ ./H/eval.h:204:44: note: in definition of macro 'RINT' 204 | #define RINT(v) return(MkIntegerTerm(v)) | ^ ./H/rheap.h: In function 'RestoreIntLUKeys__': ./H/yapio.h:270:1: error: unknown type name 'Int'; did you mean 'int'? 270 | Int STD_PROTO(Yap_GetStreamFd,(int)); | ^~~ | int C/arrays.c:2140:8: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 2140 | pt = RepAppl(pp->ValueOfVE) + indx + 1; | ^ ./H/rheap.h:853:7: error: unknown type name 'Int'; did you mean 'int'? 853 | Int i; | ^~~ | int ./H/yapio.h:278:1: error: unknown type name 'Int'; did you mean 'int'? 278 | Int STD_PROTO(Yap_StreamToFileNo,(Term)); | ^~~ | int C/arrays.c:2141:32: error: subscripted value is neither array nor pointer nor vector 2141 | ta = RepAppl(pp->ValueOfVE)[indx+1]; | ^ In file included from C/absmi.c:513: ./H/arith2.h:504:9: warning: implicit declaration of function 'do_sll'; did you mean 'p_sll'? [-Wimplicit-function-declaration] 504 | return do_sll(IntegerOfTerm(t1),i2); | ^~~~~~ | p_sll ./H/rheap.h: In function 'RestoreIntBBKeys__': ./H/rheap.h:878:7: error: unknown type name 'UInt' 878 | UInt i; | ^~~~ ./H/arith2.h: In function 'p_slr': ./H/arith2.h:544:9: error: unknown type name 'Int'; did you mean 'int'? 544 | { Int i2 = IntegerOfTerm(t2); | ^~~ | int ./H/rheap.h: In function 'RestoreLogDBErasedMarker__': ./H/rheap.h:914:49: error: 'UInt' undeclared (first use in this function) 914 | Yap_heap_regs->logdb_erased_marker->ClSize = (UInt)NEXTOP(((LogUpdClause *)NULL)->ClCode,e); | ^~~~ C/arrays.c:2190:10: error: expected ';' before 'i' 2190 | Int i = ptr->ValueOfVE.ints[indx]; | ^~ | ; In file included from C/amasm.c:187: ./H/yapio.h:327:27: error: unknown type name 'UInt' 327 | INLINE_ONLY EXTERN inline UInt STD_PROTO(HashFunction, (unsigned char *)); | ^~~~ ./H/yapio.h:328:27: error: unknown type name 'UInt' 328 | INLINE_ONLY EXTERN inline UInt STD_PROTO(WideHashFunction, (wchar_t *)); | ^~~~ ./H/rheap.h: In function 'RestoreForeignCode__': ./H/yapio.h:330:27: error: unknown type name 'UInt' 330 | INLINE_ONLY EXTERN inline UInt | ^~~~ C/arrays.c:2196:7: error: 'i' undeclared (first use in this function) 2196 | i += IntegerOfTerm(t3); | ^ ./H/rheap.h:1010:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1010 | if (objs->next != NULL) | ^~ ./H/rheap.h:1012:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1012 | objs->name = AtomAdjust(objs->name); | ^~~~ ./H/yapio.h: In function 'HashFunction': ./H/yapio.h:334:3: error: unknown type name 'UInt' 334 | UInt hash = 5381; | ^~~~ C/arrays.c: At top level: ./H/yapio.h:335:3: error: unknown type name 'UInt' 335 | UInt c; | ^~~~ ./H/yapio.h: At top level: C/arrays.c:2227:8: error: unknown type name 'Int' 2227 | static Int | ^~~ ./H/yapio.h:349:27: error: unknown type name 'UInt' 349 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/yapio.h: In function 'WideHashFunction': C/arrays.c:2234:8: error: unknown type name 'Int' 2234 | static Int | ^~~ ./H/yapio.h:352:3: error: unknown type name 'UInt' 352 | UInt hash = 5381; | ^~~~ ./H/yapio.h:353:3: error: unknown type name 'UInt' 353 | UInt c; | ^~~~ C/arrays.c:2240:8: error: unknown type name 'Int' 2240 | static Int | ^~~ C/arrays.c:2253:8: error: unknown type name 'Int' 2253 | static Int | ^~~ In file included from C/amasm.c:188: ./H/compile.h: At top level: ./H/compile.h:211:6: error: unknown type name 'Int' 211 | Int oprnd2; | ^~~ C/arrays.c: In function 'p_static_array_to_term': C/absmi.c: In function 'push_live_regs': ./H/compile.h:224:3: error: unknown type name 'Int' 224 | Int KindOfVE; | ^~~ C/absmi.c:551:3: error: unknown type name 'Int'; did you mean 'int'? 551 | Int tot = 0; | ^~~ | int ./H/compile.h:262:3: error: unknown type name 'Int' 262 | Int *label_offset; | ^~~ ./H/compile.h:263:3: error: unknown type name 'Int' 263 | Int *uses; | ^~~ ./H/compile.h:269:3: error: unknown type name 'UInt' 269 | UInt i_labelno; | ^~~~ ./H/compile.h:270:3: error: unknown type name 'UInt' 270 | UInt exception_handler, success_handler, failure_handler; | ^~~~ ./H/compile.h:276:3: error: unknown type name 'UInt' 276 | UInt term_depth, last_index_at_depth; | ^~~~ ./H/compile.h:277:3: error: unknown type name 'UInt' 277 | UInt last_index_new_depth, last_depth_size; | ^~~~ C/arrays.c:2274:7: error: unknown type name 'Int'; did you mean 'int'? 2274 | Int dim = -pp->ArrayEArity, indx; | ^~~ | int C/absmi.c: At top level: C/absmi.c:612:1: error: unknown type name 'Int'; did you mean 'int'? 612 | Int | ^~~ | int In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/compile.h:328:91: error: unknown type name 'UInt' 328 | yamop *STD_PROTO(Yap_assemble,(int,Term,struct pred_entry *,int, struct intermediates *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/compile.h:329:41: error: unknown type name 'Int'; did you mean 'int'? 329 | void STD_PROTO(Yap_emit,(compiler_vm_op,Int,CELL, struct intermediates *)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/compile.h:333:40: error: expected ')' before 'struct' 333 | char *STD_PROTO(Yap_AllocCMem,(UInt, struct intermediates *)); | ^~~~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/compile.h:336:38: error: expected ')' before 'char' 336 | void STD_PROTO(Yap_bip_name,(Int, char *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from C/arrays.c:20: ./H/eval.h:147:47: error: 'Int' undeclared (first use in this function); did you mean 'int'? 147 | #define MkEvalFl(X) ( FlIsInt(X) ? MkIntTerm((Int)(X)) : MkFloatTerm(X) ) | ^~~ C/arrays.c:2333:16: note: in expansion of macro 'MkEvalFl' 2333 | *sptr++ = MkEvalFl(pp->ValueOfVE.floats[indx]); | ^~~~~~~~ In file included from C/absmi.c:497: C/absmi.c: In function 'Yap_absmi': ./H/absmi.h:1583:22: warning: implicit declaration of function 'SET_ASP__'; did you mean 'SET_ASP'? [-Wimplicit-function-declaration] 1583 | #define SET_ASP(Y,S) SET_ASP__(Y,S PASS_REGS) | ^~~~~~~~~ C/absmi.c:837:2: note: in expansion of macro 'SET_ASP' 837 | SET_ASP(YREG, E_CB*sizeof(CELL)); | ^~~~~~~ In file included from ./H/clause.h:18, from C/amasm.c:189: ./H/Yatom.h:156:27: error: unknown type name 'Int' 156 | INLINE_ONLY inline EXTERN Int ArityOfFunctor (Functor); | ^~~ ./H/Yatom.h:158:27: error: unknown type name 'Int' 158 | INLINE_ONLY inline EXTERN Int | ^~~ ./H/Yatom.h: In function 'ArityOfFunctor': In file included from C/agc.c:192: ./H/rheap.h: In function 'restore_static_array': ./H/Yatom.h:161:11: error: 'Int' undeclared (first use in this function); did you mean 'int'? 161 | return (Int) (((FunctorEntry *) Fun)->ArityOfFE); | ^~~ | int ./H/rheap.h:1206:3: error: unknown type name 'Int'; did you mean 'int'? 1206 | Int sz = -ae->ArrayEArity; | ^~~ | int ./H/Yatom.h: At top level: ./H/Yatom.h:281:3: error: unknown type name 'UInt' 281 | UInt SizeOfAtom; /* index in module table */ | ^~~~ ./H/rheap.h:1216:7: error: unknown type name 'Int'; did you mean 'int'? 1216 | Int i; | ^~~ | int C/arrays.c:2388:16: warning: implicit declaration of function 'GetNBTerm' [-Wimplicit-function-declaration] 2388 | Term To = GetNBTerm(pp->ValueOfVE.lterms, indx PASS_REGS); | ^~~~~~~~~ ./H/Yatom.h:711:3: error: unknown type name 'UInt' 711 | UInt ArityOfPE; /* arity of property */ | ^~~~ ./H/Yatom.h:719:7: error: unknown type name 'UInt' 719 | UInt NOfClauses; | ^~~~ C/arrays.c: At top level: ./H/rheap.h:1242:7: error: unknown type name 'Int'; did you mean 'int'? 1242 | Int i; | ^~~ | int ./H/Yatom.h:722:5: error: unknown type name 'CPredicate' 722 | CPredicate f_code; | ^~~~~~~~~~ ./H/Yatom.h:723:5: error: unknown type name 'CmpPredicate' 723 | CmpPredicate d_code; | ^~~~~~~~~~~~ ./H/Yatom.h:729:5: error: unknown type name 'Int' 729 | Int IndxId; /* Index for a certain key */ | ^~~ C/arrays.c:2416:8: error: unknown type name 'Int' 2416 | static Int | ^~~ ./H/Yatom.h:741:3: error: unknown type name 'UInt' 741 | UInt TimeStampOfPred; | ^~~~ ./H/rheap.h:1259:7: error: unknown type name 'Int'; did you mean 'int'? 1259 | Int i; | ^~~ | int C/arrays.c: In function 'p_static_array_location': ./H/rheap.h:1277:7: error: unknown type name 'Int'; did you mean 'int'? 1277 | Int i; | ^~~ | int ./H/rheap.h:1294:17: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1294 | CELL *db = RepAppl(reg); | ^~~~~~~ ./H/Yatom.h: In function 'TermToDBTerm': C/arrays.c:2420:3: error: unknown type name 'Int'; did you mean 'int'? 2420 | Int *ptr; | ^~~ | int ./H/rheap.h:1298:17: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1298 | CELL *db = RepPair(reg); | ^~~~~~~ ./H/Yatom.h:851:7: warning: implicit declaration of function 'IsPairTerm'; did you mean 'MkPairTerm'? [-Wimplicit-function-declaration] 851 | if (IsPairTerm(X)) { | ^~~~~~~~~~ | MkPairTerm ./H/Yatom.h: At top level: ./H/Yatom.h:982:3: error: unknown type name 'Int' 982 | Int NOfEntries; /* age counter */ | ^~~ ./H/rheap.h:1320:7: error: unknown type name 'Int'; did you mean 'int'? 1320 | Int i; | ^~~ | int C/absmi.c:992:21: warning: implicit declaration of function 'EXO_OFFSET_TO_ADDRESS' [-Wimplicit-function-declaration] 992 | S_YREG[-1] = (CELL)EXO_OFFSET_TO_ADDRESS(i,i->links[(CELL)(SREG-i->cls)/i->arity]); | ^~~~~~~~~~~~~~~~~~~~~ C/arrays.c:2440:42: error: 'Int' undeclared (first use in this function); did you mean 'int'? 2440 | return Yap_unify(ARG2,MkIntegerTerm((Int)ptr)); | ^~~ | int ./H/Yatom.h:1132:3: error: unknown type name 'UInt' 1132 | UInt RefsOfPE; /* used to count the number of holds */ | ^~~~ ./H/Yatom.h:1199:3: error: unknown type name 'Int' 1199 | Int ArrayEArity; /* Arity of Array (positive) */ | ^~~ C/arrays.c:2440:46: error: expected ')' before 'ptr' 2440 | return Yap_unify(ARG2,MkIntegerTerm((Int)ptr)); | ^~~ | ) ./H/rheap.h: In function 'RestoreEntries': ./H/Yatom.h:1234:3: error: unknown type name 'Int' 1234 | Int *ints; | ^~~ ./H/rheap.h:1485:18: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1485 | CELL *ptr = RepAppl(ae->ValueOfVE); | ^~~~~~~ ./H/Yatom.h:1250:3: error: unknown type name 'Int' 1250 | Int ArrayEArity; /* Arity of Array (negative) */ | ^~~ C/arrays.c:2420:8: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 2420 | Int *ptr; | ^~~ ./H/rheap.h:1554:16: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1554 | CELL *gbp = RepAppl(gbt); | ^~~~~~~ C/absmi.c:1105:2: error: unknown type name 'UInt' 1105 | UInt arity = ((struct index_t *)PREG->u.lp.l)->arity; | ^~~~ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yatom.h:1449:60: error: unknown type name 'UInt' 1449 | DBTerm *STD_PROTO (Yap_StoreTermInDBPlusExtraSpace, (Term, UInt, UInt *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/arrays.c: In function 'Yap_InitArrayPreds': C/agc.c: In function 'RestoreHashPreds': C/agc.c:197:3: error: unknown type name 'UInt' 197 | UInt i; | ^~~~ ./H/Yatom.h:1449:66: error: unknown type name 'UInt' 1449 | DBTerm *STD_PROTO (Yap_StoreTermInDBPlusExtraSpace, (Term, UInt, UInt *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/arrays.c:2448:3: warning: implicit declaration of function 'Yap_InitCPred'; did you mean 'Yap_InitCPreds'? [-Wimplicit-function-declaration] 2448 | Yap_InitCPred("$create_array", 2, p_create_array, SyncPredFlag); | ^~~~~~~~~~~~~ | Yap_InitCPreds C/agc.c: In function 'mark_global_cell': C/agc.c:329:2: error: unknown type name 'Int'; did you mean 'int'? 329 | Int sz = 3 + | ^~~ | int C/absmi.c:1231:2: error: unknown type name 'UInt' 1231 | UInt timestamp; | ^~~~ In file included from ./H/Yap.h:548, from C/arrays.c:18: C/arrays.c: At top level: ./H/YapTags.h:284:32: warning: 'MkIntTerm' used but never defined 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~ ./H/YapTags.h:298:32: warning: 'MkIntConstant' declared 'static' but never defined [-Wunused-function] 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from C/arrays.c:18: ./H/TermExt.h:306:32: warning: 'MkLongIntTerm' declared 'static' but never defined [-Wunused-function] 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~~~ In file included from ./H/Yap.h:548, from C/arrays.c:18: ./H/YapTags.h:367:32: warning: 'MkIntegerTerm' used but never defined 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~~~ In file included from ./H/Yap.h:548, from C/arrays.c:18: ./H/YapTags.h: In function 'IsAtomTerm': ./H/YapTags.h:279:1: warning: control reaches end of non-void function [-Wreturn-type] 279 | } | ^ ./H/YapTags.h: In function 'AtomOfTerm': ./H/YapTags.h:247:1: warning: control reaches end of non-void function [-Wreturn-type] 247 | } | ^ In file included from ./H/Yatom.h:1471, from ./H/clause.h:18, from C/amasm.c:189: ./H/YapHeap.h:38:14: error: expected declaration specifiers or '...' before '*' token 38 | typedef Int (*Opaque_CallOnGCMark)(int, void *, Term *, Int); | ^ ./H/YapHeap.h:39:61: error: unknown type name 'Int'; did you mean 'int'? 39 | typedef int (*Opaque_CallOnGCRelocate)(int, void *, Term *, Int); | ^~~ | int ./H/YapHeap.h:44:3: error: unknown type name 'Opaque_CallOnGCMark' 44 | Opaque_CallOnGCMark gc_mark_handler; | ^~~~~~~~~~~~~~~~~~~ C/agc.c:332:2: error: unknown type name 'Opaque_CallOnGCMark'; did you mean 'Opaque_CallOnFail'? 332 | Opaque_CallOnGCMark f; | ^~~~~~~~~~~~~~~~~~~ | Opaque_CallOnFail ./H/YapHeap.h:45:3: error: unknown type name 'Opaque_CallOnGCRelocate' 45 | Opaque_CallOnGCRelocate gc_relocate_handler; | ^~~~~~~~~~~~~~~~~~~~~~~ ./H/YapHeap.h:48:60: error: unknown type name 'Int'; did you mean 'int'? 48 | extern Opaque_CallOnWrite Yap_blob_write_handler_from_slot(Int slot); | ^~~ | int ./H/YapHeap.h:49:8: error: unknown type name 'Opaque_CallOnGCMark' 49 | extern Opaque_CallOnGCMark Yap_blob_gc_mark_handler(Term t); | ^~~~~~~~~~~~~~~~~~~ C/absmi.c:1235:7: warning: implicit declaration of function 'VALID_TIMESTAMP'; did you mean 'YAP_TIMESTAMP'? [-Wimplicit-function-declaration] 1235 | if (!VALID_TIMESTAMP(timestamp, PREG->u.OtaLl.d)) { | ^~~~~~~~~~~~~~~ | YAP_TIMESTAMP ./H/YapHeap.h:50:8: error: unknown type name 'Opaque_CallOnGCRelocate' 50 | extern Opaque_CallOnGCRelocate Yap_blob_gc_relocate_handler(Term t); | ^~~~~~~~~~~~~~~~~~~~~~~ ./H/YapTags.h: In function 'MkAtomTerm': ./H/YapHeap.h:51:8: error: unknown type name 'Int' 51 | extern Int Yap_blob_tag_from_slot(Int slot); | ^~~ ./H/YapTags.h:237:1: warning: control reaches end of non-void function [-Wreturn-type] 237 | } | ^ ./H/YapHeap.h:51:35: error: unknown type name 'Int'; did you mean 'int'? 51 | extern Int Yap_blob_tag_from_slot(Int slot); | ^~~ | int ./H/YapHeap.h:52:38: error: unknown type name 'Int'; did you mean 'int'? 52 | extern void *Yap_blob_info_from_slot(Int slot); | ^~~ | int ./H/YapHeap.h:70:3: error: unknown type name 'Int' 70 | Int pos; | ^~~ C/absmi.c:1267:2: error: unknown type name 'UInt' 1267 | UInt timestamp = IntegerOfTerm(((CELL *)(B_YREG+1))[ap->ArityOfPE]); | ^~~~ In file included from ./H/YapHeap.h:163, from ./H/Yatom.h:1471, from ./H/clause.h:18, from C/amasm.c:189: ./H/hstruct.h:32:3: error: unknown type name 'UInt' 32 | UInt hole_size; | ^~~~ ./H/hstruct.h:47:3: error: unknown type name 'Int' 47 | Int heap_used; | ^~~ ./H/hstruct.h:49:3: error: unknown type name 'Int' 49 | Int heap_max; | ^~~ ./H/hstruct.h:59:3: error: unknown type name 'UInt' 59 | UInt MaxStack_; | ^~~~ ./H/hstruct.h:60:3: error: unknown type name 'UInt' 60 | UInt MaxTrail_; | ^~~~ ./H/hstruct.h:75:3: error: unknown type name 'UInt' 75 | UInt n_of_atoms; | ^~~~ ./H/hstruct.h:76:3: error: unknown type name 'UInt' 76 | UInt atom_hash_table_size; | ^~~~ ./H/YapTags.h: In function 'IsIntTerm': ./H/hstruct.h:77:3: error: unknown type name 'UInt' 77 | UInt wide_atom_hash_table_size; | ^~~~ ./H/YapTags.h:314:1: warning: control reaches end of non-void function [-Wreturn-type] 314 | } | ^ ./H/hstruct.h:78:3: error: unknown type name 'UInt' 78 | UInt n_of_wide_atoms; | ^~~~ In file included from ./H/Yap.h:548, from C/arrays.c:18: ./H/YapTags.h: In function 'IntegerOfTerm': ./H/YapTags.h:392:1: warning: control reaches end of non-void function [-Wreturn-type] 392 | } | ^ In file included from ./H/Yap.h:548, from C/arrays.c:18: ./H/YapTags.h: In function 'FunctorOfTerm': ./H/YapTags.h:226:1: warning: control reaches end of non-void function [-Wreturn-type] 226 | } | ^ In file included from ./H/clause.h:18, from C/arrays.c:19: ./H/Yatom.h: In function 'ArityOfFunctor': ./H/Yatom.h:162:1: warning: control reaches end of non-void function [-Wreturn-type] 162 | } | ^ C/agc.c:333:2: error: unknown type name 'Opaque_CallOnGCRelocate'; did you mean 'Opaque_CallOnWrite'? 333 | Opaque_CallOnGCRelocate f2; | ^~~~~~~~~~~~~~~~~~~~~~~ | Opaque_CallOnWrite C/absmi.c:1511:2: error: unknown type name 'UInt' 1511 | UInt timestamp; | ^~~~ C/agc.c:338:4: error: unknown type name 'Int'; did you mean 'int'? 338 | Int i,n = (f)(Yap_BlobTag(t), Yap_BlobInfo(t), ar, 256); | ^~~ | int C/agc.c:338:14: error: called object 'f' is not a function or function pointer 338 | Int i,n = (f)(Yap_BlobTag(t), Yap_BlobInfo(t), ar, 256); | ^ C/agc.c:332:22: note: declared here 332 | Opaque_CallOnGCMark f; | ^ C/agc.c:350:16: error: called object 'f2' is not a function or function pointer 350 | int out = (f2)(Yap_BlobTag(t), Yap_BlobInfo(t), ar, n); | ^ C/arrays.c: In function 'p_add_to_array_element': C/agc.c:333:26: note: declared here 333 | Opaque_CallOnGCRelocate f2; | ^~ In file included from ./H/YapHeap.h:163, from ./H/Yatom.h:1471, from ./H/clause.h:18, from C/amasm.c:189: ./H/hstruct.h:119:3: error: unknown type name 'UInt' 119 | UInt preds_in_hash_table; | ^~~~ ./H/hstruct.h:120:3: error: unknown type name 'UInt' 120 | UInt pred_hash_table_size; | ^~~~ ./H/hstruct.h:155:3: error: unknown type name 'UInt' 155 | UInt clause_space; | ^~~~ C/arrays.c:2225:1: warning: control reaches end of non-void function [-Wreturn-type] 2225 | } | ^ ./H/hstruct.h:156:3: error: unknown type name 'UInt' 156 | UInt index_space_Tree; | ^~~~ C/absmi.c:1561:2: error: unknown type name 'UInt' 1561 | UInt timestamp = IntegerOfTerm(((CELL *)(B_YREG+1))[ap->ArityOfPE]); | ^~~~ ./H/hstruct.h:157:3: error: unknown type name 'UInt' 157 | UInt index_space_EXT; | ^~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from C/arrays.c:18: ./H/TermExt.h: In function 'IsExtensionFunctor': ./H/hstruct.h:158:3: error: unknown type name 'UInt' 158 | UInt index_space_SW; | ^~~~ ./H/TermExt.h:513:1: warning: control reaches end of non-void function [-Wreturn-type] 513 | } | ^ ./H/hstruct.h:159:3: error: unknown type name 'UInt' 159 | UInt lu_clause_space; | ^~~~ C/agc.c: In function 'atom_gc': ./H/hstruct.h:160:3: error: unknown type name 'UInt' 160 | UInt lu_index_space_Tree; | ^~~~ C/agc.c:471:3: error: unknown type name 'UInt' 471 | UInt time_start, agc_time; | ^~~~ ./H/hstruct.h:161:3: error: unknown type name 'UInt' 161 | UInt lu_index_space_CP; | ^~~~ ./H/hstruct.h:162:3: error: unknown type name 'UInt' 162 | UInt lu_index_space_EXT; | ^~~~ ./H/hstruct.h:163:3: error: unknown type name 'UInt' 163 | UInt lu_index_space_SW; | ^~~~ C/agc.c: At top level: ./H/hstruct.h:219:3: error: unknown type name 'UInt' 219 | UInt expand_clauses; | ^~~~ C/agc.c:514:8: error: unknown type name 'Int' 514 | static Int | ^~~ ./H/hstruct.h:231:3: error: unknown type name 'UInt' 231 | UInt expand_clauses_sz; | ^~~~ C/agc.c:523:8: error: unknown type name 'Int' 523 | static Int | ^~~ ./H/hstruct.h:236:3: error: unknown type name 'Int' 236 | Int static_predicates_marked; | ^~~ ./H/hstruct.h:242:3: error: unknown type name 'UInt' 242 | UInt int_keys_size; | ^~~~ C/agc.c:536:8: error: unknown type name 'Int' 536 | static Int | ^~~ ./H/hstruct.h:243:3: error: unknown type name 'UInt' 243 | UInt int_keys_timestamp; | ^~~~ ./H/hstruct.h:244:3: error: unknown type name 'UInt' 244 | UInt int_bb_keys_size; | ^~~~ ./H/hstruct.h:265:3: error: unknown type name 'UInt' 265 | UInt atts_size; | ^~~~ ./H/hstruct.h:268:3: error: unknown type name 'Int' 268 | Int yap_flags_field[NUMBER_OF_YAP_FLAGS]; | ^~~ C/agc.c: In function 'p_agc_threshold': ./H/hstruct.h:275:3: error: unknown type name 'UInt' 275 | UInt n_of_file_aliases; | ^~~~ C/absmi.c:1763:11: warning: implicit declaration of function 'Yap_gc'; did you mean 'Yap_eq'? [-Wimplicit-function-declaration] 1763 | if (!Yap_gc(3, ENV, CP)) { | ^~~~~~ | Yap_eq C/agc.c:546:5: error: unknown type name 'Int'; did you mean 'int'? 546 | Int i = IntegerOfTerm(t); | ^~~ | int ./H/hstruct.h:276:3: error: unknown type name 'UInt' 276 | UInt sz_of_file_aliases; | ^~~~ ./H/hstruct.h:304:3: error: unknown type name 'UInt' 304 | UInt nofblobs; | ^~~~ ./H/hstruct.h:305:3: error: unknown type name 'UInt' 305 | UInt nofblobsmax; | ^~~~ ./H/TermExt.h: In function 'IsAtomicTerm': ./H/TermExt.h:502:1: warning: control reaches end of non-void function [-Wreturn-type] 502 | } | ^ C/agc.c: In function 'Yap_init_agc': C/absmi.c:1876:2: error: unknown type name 'Int'; did you mean 'int'? 1876 | Int sz = PREG->u.Osbpa.i; | ^~~ | int C/agc.c:560:3: warning: implicit declaration of function 'Yap_InitCPred'; did you mean 'Yap_InitCPreds'? [-Wimplicit-function-declaration] 560 | Yap_InitCPred("$atom_gc", 0, p_atom_gc, 0); | ^~~~~~~~~~~~~ | Yap_InitCPreds In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/YapHeap.h:221:55: error: expected ')' before 'void' 221 | ADDR STD_PROTO(Yap_ExpandPreAllocCodeSpace, (UInt, void *, int)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/agc.c:21: C/agc.c: At top level: C/absmi.c:1877:2: error: unknown type name 'UInt' 1877 | UInt arity = PREG->u.Osbpa.p->ArityOfPE; | ^~~~ ./H/YapTags.h:284:32: warning: 'MkIntTerm' used but never defined 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~ ./H/YapTags.h:298:32: warning: 'MkIntConstant' declared 'static' but never defined [-Wunused-function] 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~~~ In file included from ./H/clause.h:18, from C/amasm.c:189: ./H/Yatom.h:1476:27: error: unknown type name 'UInt' 1476 | INLINE_ONLY EXTERN inline UInt STD_PROTO(PRED_HASH, (FunctorEntry *, Term, UInt)); | ^~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/agc.c:21: ./H/TermExt.h:306:32: warning: 'MkLongIntTerm' declared 'static' but never defined [-Wunused-function] 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~~~ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/agc.c:21: ./H/YapTags.h:367:32: warning: 'MkIntegerTerm' used but never defined 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~~~ In file included from ./H/absmi.h:161, from C/agc.c:21: ./OPTYap/tab.macros.h:45:20: warning: 'wake_frozen_cp' declared 'static' but never defined [-Wunused-function] 45 | static inline void wake_frozen_cp(Int); | ^~~~~~~~~~~~~~ ./OPTYap/tab.macros.h:46:20: warning: 'abolish_frozen_cps_until' declared 'static' but never defined [-Wunused-function] 46 | static inline void abolish_frozen_cps_until(Int); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./H/Yap.h:546, from ./H/absmi.h:148, from C/agc.c:21: ./H/yapio.h:234:41: warning: 'chtype' declared 'static' but never defined [-Wunused-function] 234 | INLINE_ONLY EXTERN inline int STD_PROTO(chtype,(Int)); | ^~~~~~ ./H/Yapproto.h:18:25: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/Yatom.h:1476:76: error: unknown type name 'UInt' 1476 | INLINE_ONLY EXTERN inline UInt STD_PROTO(PRED_HASH, (FunctorEntry *, Term, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/absmi.c:1887:9: warning: implicit declaration of function 'Yap_gcl' [-Wimplicit-function-declaration] 1887 | if (!Yap_gcl(sz, arity, YENV, PREG)) { | ^~~~~~~ In file included from ./H/clause.h:18, from C/amasm.c:189: ./H/Yatom.h:1478:27: error: unknown type name 'UInt' 1478 | INLINE_ONLY EXTERN inline UInt | ^~~~ ./H/Yatom.h:1479:43: error: unknown type name 'UInt' 1479 | PRED_HASH(FunctorEntry *fe, Term cur_mod, UInt size) | ^~~~ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/agc.c:21: ./H/YapTags.h: In function 'MkAtomTerm': ./H/YapTags.h:237:1: warning: control reaches end of non-void function [-Wreturn-type] 237 | } | ^ ./H/YapTags.h: In function 'IsAtomTerm': ./H/Yatom.h: In function 'GetPredPropByFuncHavingLock': ./H/YapTags.h:279:1: warning: control reaches end of non-void function [-Wreturn-type] 279 | } | ^ ./H/YapTags.h: In function 'AtomOfTerm': ./H/YapTags.h:247:1: warning: control reaches end of non-void function [-Wreturn-type] 247 | } | ^ ./H/Yatom.h:1531:5: error: unknown type name 'UInt' 1531 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~ In file included from ./H/Regs.h:20, from ./H/Yap.h:311, from ./H/absmi.h:148, from C/absmi.c:497: ./H/cut_c.h:40:9: error: unknown type name 'CPredicate' 40 | CPredicate func = (CPredicate)((yamop *)TOP->try_userc_cut_yamop)->u.OtapFs.f; \ | ^~~~~~~~~~ C/absmi.c:2046:6: note: in expansion of macro 'POP_EXECUTE' 2046 | POP_EXECUTE(); | ^~~~~~~~~~~ ./H/Yatom.h:1531:17: warning: implicit declaration of function 'PRED_HASH' [-Wimplicit-function-declaration] 1531 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~~~~~~ ./H/Yatom.h: In function 'GetPredPropByFuncAndModHavingLock': ./H/Yatom.h:1589:5: error: unknown type name 'UInt' 1589 | UInt hash = PRED_HASH(fe,cur_mod,PredHashTableSize); | ^~~~ In file included from C/amasm.c:189: ./H/clause.h: At top level: ./H/cut_c.h:40:28: error: 'CPredicate' undeclared (first use in this function) 40 | CPredicate func = (CPredicate)((yamop *)TOP->try_userc_cut_yamop)->u.OtapFs.f; \ | ^~~~~~~~~~ C/absmi.c:2046:6: note: in expansion of macro 'POP_EXECUTE' 2046 | POP_EXECUTE(); | ^~~~~~~~~~~ ./H/clause.h:27:3: error: unknown type name 'UInt' 27 | UInt c; | ^~~~ ./H/clause.h:44:3: error: unknown type name 'UInt' 44 | UInt ClRefCount; | ^~~~ ./H/clause.h:49:3: error: unknown type name 'UInt' 49 | UInt ClSize; | ^~~~ ./H/clause.h:70:3: error: unknown type name 'UInt' 70 | UInt ClSize; | ^~~~ ./H/clause.h:73:3: error: unknown type name 'UInt' 73 | UInt ClRefCount; | ^~~~ In file included from C/absmi.c:497: ./H/absmi.h:707:27: error: 'Int' undeclared (first use in this function); did you mean 'int'? 707 | if (__builtin_expect( ((Int)(Unsigned(YOUNGEST_CP((choiceptr)ENV_YREG,B_FZ)) - Unsigned(YOUNGEST_H(H_FZ,GLOB))) < CreepFlag), 0) ) goto Label | ^~~ C/absmi.c:2079:7: note: in expansion of macro 'check_stack' 2079 | check_stack(NoStackFail, H); | ^~~~~~~~~~~ ./H/clause.h:81:3: error: unknown type name 'UInt' 81 | UInt ClTimeStart, ClTimeEnd; | ^~~~ ./H/clause.h:87:52: error: expected ')' before 'struct' 87 | INLINE_ONLY inline EXTERN int VALID_TIMESTAMP(UInt, struct logic_upd_clause *); | ^~~~~~~ | ) ./H/clause.h:90:17: error: unknown type name 'UInt' 90 | VALID_TIMESTAMP(UInt timestamp, struct logic_upd_clause *cl) | ^~~~ ./H/clause.h:102:3: error: unknown type name 'UInt' 102 | UInt ClSize; | ^~~~ ./H/clause.h:103:3: error: unknown type name 'UInt' 103 | UInt ClRefCount; | ^~~~ ./H/clause.h:112:3: error: unknown type name 'UInt' 112 | UInt ClSize; | ^~~~ ./H/clause.h:123:3: error: unknown type name 'UInt' 123 | UInt ClSize; | ^~~~ ./H/clause.h:136:3: error: unknown type name 'UInt' 136 | UInt ClSize; | ^~~~ ./H/clause.h:138:3: error: unknown type name 'UInt' 138 | UInt ClItemSize; | ^~~~ C/absmi.c:2255:18: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 2255 | CELL *pt1 = RepPair(d1); | ^~~~~~~ ./H/clause.h:164:3: error: unknown type name 'UInt' 164 | UInt nels; | ^~~~ ./H/clause.h:165:3: error: unknown type name 'UInt' 165 | UInt arity; | ^~~~ ./H/clause.h:169:3: error: unknown type name 'UInt' 169 | UInt ncollisions; | ^~~~ ./H/clause.h:170:3: error: unknown type name 'UInt' 170 | UInt ntrys; | ^~~~ ./H/clause.h:171:3: error: unknown type name 'UInt' 171 | UInt nentries; | ^~~~ ./H/clause.h:172:3: error: unknown type name 'UInt' 172 | UInt hsize; | ^~~~ ./H/clause.h:179:28: error: unknown type name 'UInt' 179 | INLINE_ONLY EXTERN inline UInt EXO_ADDRESS_TO_OFFSET(struct index_t *it, CELL *ptr); | ^~~~ ./H/clause.h:181:29: error: unknown type name 'UInt' 181 | INLINE_ONLY EXTERN inline UInt | ^~~~ C/absmi.c:2404:15: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 2404 | CELL *pt = RepAppl(d1); | ^~~~~~~ ./H/clause.h:187:76: error: unknown type name 'UInt' 187 | INLINE_ONLY EXTERN inline CELL *EXO_OFFSET_TO_ADDRESS(struct index_t *it, UInt off); | ^~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/agc.c:21: ./H/TermExt.h: In function 'IsExtensionFunctor': ./H/TermExt.h:513:1: warning: control reaches end of non-void function [-Wreturn-type] 513 | } | ^ In file included from ./H/clause.h:18, from ./H/absmi.h:149, from C/agc.c:21: ./H/Yatom.h: In function 'ArityOfFunctor': ./H/clause.h:190:43: error: unknown type name 'UInt' 190 | EXO_OFFSET_TO_ADDRESS(struct index_t *it, UInt off) | ^~~~ ./H/Yatom.h:162:1: warning: control reaches end of non-void function [-Wreturn-type] 162 | } | ^ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/clause.h:239:40: error: unknown type name 'UInt' 239 | void STD_PROTO(Yap_IPred,(PredEntry *, UInt, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ gmake: *** [Makefile:670: arrays.o] Error 1 In file included from C/amasm.c:189: ./H/clause.h:250:1: error: unknown type name 'Int'; did you mean 'int'? 250 | Int STD_PROTO(Yap_Recordz,(Atom, Term)); | ^~~ | int In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/clause.h:256:54: error: unknown type name 'UInt' 256 | yamop *STD_PROTO(Yap_PredIsIndexable,(PredEntry *, UInt, yamop *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/clause.h:257:50: error: unknown type name 'UInt' 257 | yamop *STD_PROTO(Yap_ExpandIndex,(PredEntry *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/clause.h:262:53: error: unknown type name 'Int'; did you mean 'int'? 262 | LogUpdClause *STD_PROTO(Yap_NthClause,(PredEntry *,Int)); | ^~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from C/amasm.c:189: ./H/clause.h: In function 'Yap_MkStaticRefTerm': ./H/clause.h:329:25: error: 'Int' undeclared (first use in this function); did you mean 'int'? 329 | t[0] = MkIntegerTerm((Int)cp); | ^~~ | int ./H/clause.h:329:29: error: expected ')' before 'cp' 329 | t[0] = MkIntegerTerm((Int)cp); | ^~ | ) In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/agc.c:21: ./H/TermExt.h: In function 'IsAtomicTerm': ./H/TermExt.h:502:1: warning: control reaches end of non-void function [-Wreturn-type] 502 | } | ^ ./H/clause.h: In function 'Yap_MkMegaRefTerm': ./H/clause.h:343:25: error: 'Int' undeclared (first use in this function); did you mean 'int'? 343 | t[0] = MkIntegerTerm((Int)ap); | ^~~ | int ./H/clause.h:343:29: error: expected ')' before 'ap' 343 | t[0] = MkIntegerTerm((Int)ap); | ^~ | ) ./H/clause.h:344:29: error: expected ')' before 'ipc' 344 | t[1] = MkIntegerTerm((Int)ipc); | ^~~ | ) ./H/clause.h: At top level: ./H/clause.h:366:1: error: unknown type name 'Int'; did you mean 'int'? 366 | Int STD_PROTO(Yap_PredForCode,(yamop *, find_pred_type, Atom *, UInt *, Term *)); | ^~~ | int In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/clause.h:366:73: error: unknown type name 'UInt' 366 | Int STD_PROTO(Yap_PredForCode,(yamop *, find_pred_type, Atom *, UInt *, Term *)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/clause.h:368:61: error: unknown type name 'UInt' 368 | LogUpdClause *STD_PROTO(Yap_new_ludbe,(Term, PredEntry *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/agc.c:21: ./H/YapTags.h: In function 'IsIntTerm': ./H/clause.h:369:59: error: unknown type name 'UInt' 369 | Term STD_PROTO(Yap_LUInstance,(LogUpdClause *, UInt)); | ^~~~ ./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ ./H/YapTags.h:314:1: warning: control reaches end of non-void function [-Wreturn-type] 314 | } | ^ ./H/YapTags.h: In function 'FunctorOfTerm': ./H/YapTags.h:226:1: warning: control reaches end of non-void function [-Wreturn-type] 226 | } | ^ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/agc.c:21: ./H/YapTags.h: In function 'IntegerOfTerm': ./H/YapTags.h:392:1: warning: control reaches end of non-void function [-Wreturn-type] 392 | } | ^ In file included from ./H/Yap.h:309, from ./H/absmi.h:148, from C/absmi.c:497: ./H/amidefs.h:1107:33: error: 'MAX_ABS_INT' undeclared (first use in this function) 1107 | #define RESET_DEPTH() MkIntTerm(MAX_ABS_INT-1) | ^~~~~~~~~~~ C/absmi.c:2618:19: note: in expansion of macro 'RESET_DEPTH' 2618 | else DEPTH = RESET_DEPTH(); | ^~~~~~~~~~~ C/amasm.c:207:3: error: unknown type name 'Int' 207 | Int c_arg; | ^~~ In file included from ./H/Yap.h:546, from C/amasm.c:186: C/amasm.c:269:88: error: unknown type name 'UInt' 269 | STATIC_PROTO(yamop *do_pass, (int, yamop **, int, int *, int *,struct intermediates *, UInt CACHE_TYPE)); | ^~~~ ./H/Yapproto.h:19:36: note: in definition of macro 'STATIC_PROTO' 19 | #define STATIC_PROTO(F,A) static F A | ^ In file included from C/absmi.c:3397: ./OPTYap/tab.insts.i:532:11: warning: variable 'leader_dep_on_stack' set but not used [-Wunused-but-set-variable] 532 | int leader_dep_on_stack; | ^~~~~~~~~~~~~~~~~~~ In file included from ./H/Yap.h:309, from C/amasm.c:186: C/amasm.c: In function 'emit_op': gmake: *** [Makefile:670: agc.o] Error 1 C/amasm.c:447:19: error: 'Int' undeclared (first use in this function); did you mean 'int'? 447 | return absmadr((Int) op); | ^~~ ./H/amidefs.h:1096:30: note: in definition of macro 'absmadr' 1096 | #define absmadr(i) ((OPCODE)(i)) | ^ ./OPTYap/tab.insts.i:672:11: warning: variable 'leader_dep_on_stack' set but not used [-Wunused-but-set-variable] 672 | int leader_dep_on_stack; | ^~~~~~~~~~~~~~~~~~~ C/amasm.c:447:24: error: expected ')' before 'op' 447 | return absmadr((Int) op); | ^~ ./H/amidefs.h:1096:30: note: in definition of macro 'absmadr' 1096 | #define absmadr(i) ((OPCODE)(i)) | ^ ./H/amidefs.h:1096:29: note: to match this '(' 1096 | #define absmadr(i) ((OPCODE)(i)) | ^ C/amasm.c:447:10: note: in expansion of macro 'absmadr' 447 | return absmadr((Int) op); | ^~~~~~~ C/amasm.c: At top level: ./OPTYap/tab.insts.i:812:11: warning: variable 'leader_dep_on_stack' set but not used [-Wunused-but-set-variable] 812 | int leader_dep_on_stack; | ^~~~~~~~~~~~~~~~~~~ C/amasm.c:594:94: error: unknown type name 'UInt' 594 | a_fi(op_numbers opcodex, op_numbers opcodey, yamop *code_p, int pass_no, struct PSEUDO *cpc, UInt lab, struct intermediates *cip) | ^~~~ C/amasm.c:623:95: error: unknown type name 'UInt' 623 | a_fil(op_numbers opcodex, op_numbers opcodey, yamop *code_p, int pass_no, struct PSEUDO *cpc, UInt lab1, UInt lab2, struct intermediates *cip) | ^~~~ C/amasm.c:623:106: error: unknown type name 'UInt' 623 | a_fil(op_numbers opcodex, op_numbers opcodey, yamop *code_p, int pass_no, struct PSEUDO *cpc, UInt lab1, UInt lab2, struct intermediates *cip) | ^~~~ In file included from ./H/Yap.h:157, from C/amasm.c:186: C/amasm.c: In function 'a_vp': ./H/YapTerm.h:137:21: error: 'Int' undeclared (first use in this function); did you mean 'int'? 137 | #define Signed(V) ((Int) (V)) | ^~~ C/amasm.c:678:26: note: in expansion of macro 'Signed' 678 | code_p->u.yps.s = -Signed(RealEnvSize) - CELLSIZE * cpc->rnd2; | ^~~~~~ C/amasm.c: In function 'a_ensure_space': ./H/YapTerm.h:137:21: error: 'Int' undeclared (first use in this function); did you mean 'int'? 137 | #define Signed(V) ((Int) (V)) | ^~~ C/amasm.c:1110:39: note: in expansion of macro 'Signed' 1110 | code_p->u.Osbpa.s = emit_count(-Signed(RealEnvSize)); | ^~~~~~ C/amasm.c: In function 'a_ud': C/amasm.c:1167:43: error: subscripted value is neither array nor pointer nor vector 1167 | code_p->u.od.d[1] = RepAppl(cpc->rnd1)[1]; | ^ C/amasm.c:1169:43: error: subscripted value is neither array nor pointer nor vector 1169 | code_p->u.od.d[2] = RepAppl(cpc->rnd1)[2]; | ^ C/amasm.c: In function 'a_ui': C/amasm.c:1183:43: error: subscripted value is neither array nor pointer nor vector 1183 | code_p->u.oi.i[1] = RepAppl(cpc->rnd1)[1]; | ^ C/amasm.c: In function 'a_wd': C/amasm.c:1195:42: error: subscripted value is neither array nor pointer nor vector 1195 | code_p->u.d.d[1] = RepAppl(cpc->rnd1)[1]; | ^ C/amasm.c:1197:42: error: subscripted value is neither array nor pointer nor vector 1197 | code_p->u.d.d[2] = RepAppl(cpc->rnd1)[2]; | ^ C/amasm.c: In function 'a_wi': C/amasm.c:1210:42: error: subscripted value is neither array nor pointer nor vector 1210 | code_p->u.i.i[1] = RepAppl(cpc->rnd1)[1]; | ^ C/amasm.c: In function 'a_rd': C/amasm.c:1261:43: error: subscripted value is neither array nor pointer nor vector 1261 | code_p->u.xd.d[1] = RepAppl(cpc->rnd1)[1]; | ^ C/amasm.c:1263:43: error: subscripted value is neither array nor pointer nor vector 1263 | code_p->u.xd.d[2] = RepAppl(cpc->rnd1)[2]; | ^ C/amasm.c: In function 'a_ri': C/amasm.c:1277:43: error: subscripted value is neither array nor pointer nor vector 1277 | code_p->u.xi.i[1] = RepAppl(cpc->rnd1)[1]; | ^ C/amasm.c: In function 'a_p': C/amasm.c:1489:7: error: unknown type name 'UInt' 1489 | UInt lab; | ^~~~ In file included from ./H/Yap.h:157, from C/amasm.c:186: ./H/YapTerm.h:137:21: error: 'Int' undeclared (first use in this function); did you mean 'int'? 137 | #define Signed(V) ((Int) (V)) | ^~~ C/amasm.c:1513:16: note: in expansion of macro 'Signed' 1513 | emit_count(-Signed(RealEnvSize) - CELLSIZE * cip->cpc->rnd2); | ^~~~~~ C/amasm.c: In function 'a_empty_call': ./H/YapTerm.h:137:21: error: 'Int' undeclared (first use in this function); did you mean 'int'? 137 | #define Signed(V) ((Int) (V)) | ^~~ C/amasm.c:1613:37: note: in expansion of macro 'Signed' 1613 | code_p->u.Osbpp.s = emit_count(-Signed(RealEnvSize) - CELLSIZE * | ^~~~~~ C/amasm.c: In function 'a_cnp': C/amasm.c:1633:27: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 1633 | code_p->u.aFlp.native = NULL; | ^ In file included from ./H/absmi.h:161, from C/absmi.c:497: ./OPTYap/tab.macros.h:145:37: error: 'LowTagBits' undeclared (first use in this function) 145 | #define NumberOfLowTagBits (LowTagBits == 3 ? 2 : 3) | ^~~~~~~~~~ ./OPTYap/tab.macros.h:147:64: note: in expansion of macro 'NumberOfLowTagBits' 147 | #define VarIndexOfTableTerm(TERM) (((unsigned int) (TERM)) >> NumberOfLowTagBits) | ^~~~~~~~~~~~~~~~~~ ./OPTYap/tab.tries.insts.i:529:21: note: in expansion of macro 'VarIndexOfTableTerm' 529 | int var_index = VarIndexOfTableTerm(TrNode_entry(node)); | ^~~~~~~~~~~~~~~~~~~ In file included from ./H/Yap.h:157, from C/amasm.c:186: C/amasm.c: In function 'a_cut': ./H/YapTerm.h:137:21: error: 'Int' undeclared (first use in this function); did you mean 'int'? 137 | #define Signed(V) ((Int) (V)) | ^~~ C/amasm.c:2031:25: note: in expansion of macro 'Signed' 2031 | return a_n(_cut_e, -Signed(RealEnvSize) - CELLSIZE * cip->cpc->rnd2, code_p, pass_no); | ^~~~~~ C/amasm.c: In function 'a_try': C/amasm.c:2053:7: error: unknown type name 'UInt' 2053 | UInt size = (UInt)NEXTOP((yamop *)NULL,OtaLl); | ^~~~ C/amasm.c:2053:20: error: 'UInt' undeclared (first use in this function) 2053 | UInt size = (UInt)NEXTOP((yamop *)NULL,OtaLl); | ^~~~ C/amasm.c: In function 'a_f2': C/amasm.c:2501:3: error: unknown type name 'Int'; did you mean 'int'? 2501 | Int opc = cip->cpc->rnd2; | ^~~ | int C/amasm.c:2504:3: error: unknown type name 'Int'; did you mean 'int'? 2504 | Int xpos = 0; | ^~~ | int C/amasm.c:2603:5: error: unknown type name 'Int'; did you mean 'int'? 2603 | Int nxpos = 0; | ^~~ | int C/amasm.c:2767:9: error: 'Int' undeclared (first use in this function); did you mean 'int'? 2767 | if ((Int)cmp_info->c_arg < 0) { | ^~~ | int C/amasm.c:2767:13: error: expected ')' before 'cmp_info' 2767 | if ((Int)cmp_info->c_arg < 0) { | ~ ^~~~~~~~ | ) C/amasm.c:2769:30: error: expected ';' before 'cmp_info' 2769 | cmp_info->c_arg = -(Int)cmp_info->c_arg; | ^~~~~~~~ | ; C/amasm.c:2775:13: error: expected ')' before 'cmp_info' 2775 | if ((Int)cmp_info->c_arg < 0) { | ~ ^~~~~~~~ | ) C/amasm.c:2777:30: error: expected ';' before 'cmp_info' 2777 | cmp_info->c_arg = -(Int)cmp_info->c_arg; | ^~~~~~~~ | ; C/amasm.c:2912:13: error: expected ')' before 'cmp_info' 2912 | if ((Int)cmp_info->c_arg < 0) { | ~ ^~~~~~~~ | ) C/amasm.c:2914:30: error: expected ';' before 'cmp_info' 2914 | cmp_info->c_arg = -(Int)cmp_info->c_arg; | ^~~~~~~~ | ; C/amasm.c:2920:13: error: expected ')' before 'cmp_info' 2920 | if ((Int)cmp_info->c_arg < 0) { | ~ ^~~~~~~~ | ) C/amasm.c:2922:30: error: expected ';' before 'cmp_info' 2922 | cmp_info->c_arg = -(Int)cmp_info->c_arg; | ^~~~~~~~ | ; C/amasm.c: In function 'a_special_label': C/amasm.c:2952:3: error: unknown type name 'UInt' 2952 | UInt lab_val = cip->cpc->rnd3; | ^~~~ C/amasm.c: At top level: C/amasm.c:2995:135: error: unknown type name 'UInt' 2995 | do_pass(int pass_no, yamop **entry_codep, int assembling, int *clause_has_blobsp, int *clause_has_dbtermp, struct intermediates *cip, UInt size USES_REGS) | ^~~~ In file included from C/absmi.c:3398: ./OPTYap/tab.tries.insts.i:1087:28: warning: division by zero [-Wdiv-by-zero] 1087 | Term ts[SIZEOF_DOUBLE/SIZEOF_INT_P]; | ^ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:3536:7: note: in expansion of macro 'UnifyBound' 3536 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:3536:7: note: in expansion of macro 'UnifyBound' 3536 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:3536:7: note: in expansion of macro 'UnifyBound' 3536 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:3536:7: note: in expansion of macro 'UnifyBound' 3536 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:3536:7: note: in expansion of macro 'UnifyBound' 3536 | UnifyBound(d0, d1); | ^~~~~~~~~~ C/amasm.c:3787:30: error: unknown type name 'UInt' 3787 | fetch_clause_space(Term* tp, UInt size, struct intermediates *cip, UInt *osizep USES_REGS) | ^~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ C/amasm.c:3787:68: error: unknown type name 'UInt' 3787 | fetch_clause_space(Term* tp, UInt size, struct intermediates *cip, UInt *osizep USES_REGS) | ^~~~ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:3598:7: note: in expansion of macro 'UnifyBound' 3598 | UnifyBound(d0, d1); | ^~~~~~~~~~ C/amasm.c:3859:87: error: unknown type name 'UInt' 3859 | Yap_assemble(int mode, Term t, PredEntry *ap, int is_fact, struct intermediates *cip, UInt max_label) | ^~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:3598:7: note: in expansion of macro 'UnifyBound' 3598 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/Yap.h:157, from C/amasm.c:186: C/amasm.c: In function 'Yap_InitComma': ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:3598:7: note: in expansion of macro 'UnifyBound' 3598 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/YapTerm.h:137:21: error: 'Int' undeclared (first use in this function); did you mean 'int'? 137 | #define Signed(V) ((Int) (V)) | ^~~ C/amasm.c:3975:35: note: in expansion of macro 'Signed' 3975 | code_p->u.Osbpp.s = emit_count(-Signed(RealEnvSize) - sizeof(CELL) * 3); | ^~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:3598:7: note: in expansion of macro 'UnifyBound' 3598 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/Yap.h:548, from C/amasm.c:186: C/amasm.c: At top level: ./H/YapTags.h:284:32: warning: 'MkIntTerm' used but never defined 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~ ./H/YapTags.h:298:32: warning: 'MkIntConstant' declared 'static' but never defined [-Wunused-function] 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from C/amasm.c:186: ./H/TermExt.h:306:32: warning: 'MkLongIntTerm' declared 'static' but never defined [-Wunused-function] 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~~~ In file included from ./H/Yap.h:548, from C/amasm.c:186: ./H/YapTags.h:367:32: warning: 'MkIntegerTerm' used but never defined 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:3598:7: note: in expansion of macro 'UnifyBound' 3598 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ In file included from ./H/Yap.h:546, from C/amasm.c:186: ./H/yapio.h:234:41: warning: 'chtype' declared 'static' but never defined [-Wunused-function] 234 | INLINE_ONLY EXTERN inline int STD_PROTO(chtype,(Int)); | ^~~~~~ ./H/Yapproto.h:18:25: note: in definition of macro 'STD_PROTO' 18 | #define STD_PROTO(F,A) F A | ^ C/amasm.c: In function 'emit_op': C/amasm.c:448:1: warning: control reaches end of non-void function [-Wreturn-type] 448 | } | ^ In file included from ./H/Yap.h:548, from C/amasm.c:186: ./H/YapTags.h: In function 'MkAtomTerm': ./H/YapTags.h:237:1: warning: control reaches end of non-void function [-Wreturn-type] 237 | } | ^ At top level: C/amasm.c:3840:1: warning: 'init_dbterms_list' defined but not used [-Wunused-function] 3840 | init_dbterms_list(yamop *code_p, PredEntry *ap) | ^~~~~~~~~~~~~~~~~ C/amasm.c:2948:1: warning: 'a_special_label' defined but not used [-Wunused-function] 2948 | a_special_label(yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~~~~~~~~~~~ C/amasm.c:2499:1: warning: 'a_f2' defined but not used [-Wunused-function] 2499 | a_f2(cmp_op_info *cmp_info, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~ C/amasm.c:2478:1: warning: 'a_fetch_cv' defined but not used [-Wunused-function] 2478 | a_fetch_cv(cmp_op_info *cmp_info, int pass_no, struct intermediates *cip) | ^~~~~~~~~~ C/amasm.c:2457:1: warning: 'a_fetch_vc' defined but not used [-Wunused-function] 2457 | a_fetch_vc(cmp_op_info *cmp_info, int pass_no, struct intermediates *cip) | ^~~~~~~~~~ C/amasm.c:2428:1: warning: 'a_fetch_vv' defined but not used [-Wunused-function] 2428 | a_fetch_vv(cmp_op_info *cmp_info, int pass_no, struct intermediates *cip) | ^~~~~~~~~~ C/amasm.c:2417:1: warning: 'copy_blob' defined but not used [-Wunused-function] 2417 | copy_blob(yamop *code_p, int pass_no, struct PSEUDO *cpc) | ^~~~~~~~~ C/absmi.c:4140:12: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 4140 | SREG = RepPair(d0); | ^ C/amasm.c:2405:1: warning: 'a_bregs' defined but not used [-Wunused-function] 2405 | a_bregs(yamop *code_p, int pass_no, struct PSEUDO *cpc) | ^~~~~~~ C/amasm.c:2395:1: warning: 'a_bmap' defined but not used [-Wunused-function] 2395 | a_bmap(yamop *code_p, int pass_no, struct PSEUDO *cpc) | ^~~~~~ C/absmi.c:4181:14: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 4181 | S_SREG = RepAppl(d0); | ^ C/amasm.c:2380:1: warning: 'a_deallocate' defined but not used [-Wunused-function] 2380 | a_deallocate(clause_info *clinfo, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~~~~~~~~ C/amasm.c:2334:1: warning: 'a_glist' defined but not used [-Wunused-function] 2334 | a_glist(int *do_not_optimise_uatomp, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~~~ C/absmi.c:4232:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 4232 | pt0 = RepAppl(d0); | ^ C/amasm.c:2308:1: warning: 'a_wvar' defined but not used [-Wunused-function] 2308 | a_wvar(yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~~ C/amasm.c:2256:1: warning: 'a_uvar' defined but not used [-Wunused-function] 2256 | a_uvar(yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~~ C/absmi.c:4280:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 4280 | pt0 = RepAppl(d0); | ^ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:4366:7: note: in expansion of macro 'UnifyBound' 4366 | UnifyBound(d0,d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:4366:7: note: in expansion of macro 'UnifyBound' 4366 | UnifyBound(d0,d1); | ^~~~~~~~~~ C/amasm.c:2213:1: warning: 'a_ucons' defined but not used [-Wunused-function] 2213 | a_ucons(int *do_not_optimise_uatomp, compiler_vm_op opcode, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:4366:7: note: in expansion of macro 'UnifyBound' 4366 | UnifyBound(d0,d1); | ^~~~~~~~~~ C/amasm.c:2199:1: warning: 'a_gl' defined but not used [-Wunused-function] 2199 | a_gl(op_numbers opcode, yamop *code_p, int pass_no, struct PSEUDO *cpc, struct intermediates *cip USES_REGS) | ^~~~ C/amasm.c:2173:1: warning: 'a_either' defined but not used [-Wunused-function] 2173 | a_either(op_numbers opcode, CELL opr, CELL lab, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~~~~ C/amasm.c:2026:1: warning: 'a_cut' defined but not used [-Wunused-function] 2026 | a_cut(clause_info *clinfo, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:4366:7: note: in expansion of macro 'UnifyBound' 4366 | UnifyBound(d0,d1); | ^~~~~~~~~~ C/amasm.c:2011:1: warning: 'a_ifnot' defined but not used [-Wunused-function] 2011 | a_ifnot(op_numbers opcode, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~~~ C/amasm.c:1979:1: warning: 'a_if' defined but not used [-Wunused-function] 1979 | a_if(op_numbers opcode, union clause_obj *cl_u, int log_update, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~ C/amasm.c:1945:1: warning: 'a_hx' defined but not used [-Wunused-function] 1945 | a_hx(op_numbers opcode, union clause_obj *cl_u, int log_update, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:4366:7: note: in expansion of macro 'UnifyBound' 4366 | UnifyBound(d0,d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ C/amasm.c:1896:1: warning: 'a_4sw_s' defined but not used [-Wunused-function] 1896 | a_4sw_s(op_numbers opcode, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~~~ C/amasm.c:1874:1: warning: 'a_4sw_x' defined but not used [-Wunused-function] 1874 | a_4sw_x(op_numbers opcode, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~~~ C/amasm.c:1830:1: warning: 'a_4sw' defined but not used [-Wunused-function] 1830 | a_4sw(op_numbers opcode, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~ C/amasm.c:1771:1: warning: 'a_xigl' defined but not used [-Wunused-function] 1771 | a_xigl(op_numbers opcode, yamop *code_p, int pass_no, struct PSEUDO *cpc) | ^~~~~~ C/absmi.c:4400:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 4400 | pt0 = RepPair(d0); | ^ C/amasm.c:1760:1: warning: 'a_igl' defined but not used [-Wunused-function] 1760 | a_igl(CELL rnd1, op_numbers opcode, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~ C/amasm.c:1692:1: warning: 'a_bfunc' defined but not used [-Wunused-function] 1692 | a_bfunc(CELL pred, clause_info *clinfo, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~~~ C/amasm.c:1643:1: warning: 'a_pl' defined but not used [-Wunused-function] 1643 | a_pl(op_numbers opcode, PredEntry *pred, yamop *code_p, int pass_no) | ^~~~ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:4417:7: note: in expansion of macro 'UnifyBound' 4417 | UnifyBound(d0, d1); | ^~~~~~~~~~ C/amasm.c:1628:1: warning: 'a_cnp' defined but not used [-Wunused-function] 1628 | a_cnp(op_numbers opcode, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~ C/amasm.c:1599:1: warning: 'a_empty_call' defined but not used [-Wunused-function] 1599 | a_empty_call(clause_info *clinfo, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~~~~~~~~~ C/amasm.c:1284:1: warning: 'a_rc' defined but not used [-Wunused-function] 1284 | a_rc(op_numbers opcode, yamop *code_p, int pass_no, struct intermediates *cip) | ^~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:4417:7: note: in expansion of macro 'UnifyBound' 4417 | UnifyBound(d0, d1); | ^~~~~~~~~~ C/amasm.c:1102:1: warning: 'a_ensure_space' defined but not used [-Wunused-function] 1102 | a_ensure_space(op_numbers opcode, yamop *code_p, int pass_no, struct intermediates *cip, clause_info *clinfo) | ^~~~~~~~~~~~~~ C/amasm.c:480:1: warning: 'a_lucl' defined but not used [-Wunused-function] 480 | a_lucl(op_numbers opcode, yamop *code_p, int pass_no, struct intermediates *cip, clause_info *cla) | ^~~~~~ C/amasm.c:463:1: warning: 'add_clref' defined but not used [-Wunused-function] 463 | add_clref(CELL clause_code, int pass_no) | ^~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:4417:7: note: in expansion of macro 'UnifyBound' 4417 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:4417:7: note: in expansion of macro 'UnifyBound' 4417 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:4417:7: note: in expansion of macro 'UnifyBound' 4417 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ C/absmi.c:4487:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 4487 | pt0 = RepPair(d0); | ^ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:4506:7: note: in expansion of macro 'UnifyBound' 4506 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:4506:7: note: in expansion of macro 'UnifyBound' 4506 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:4506:7: note: in expansion of macro 'UnifyBound' 4506 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:4506:7: note: in expansion of macro 'UnifyBound' 4506 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:4506:7: note: in expansion of macro 'UnifyBound' 4506 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ C/absmi.c:4576:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 4576 | pt0 = RepPair(d0); | ^ gmake: *** [Makefile:670: amasm.o] Error 1 C/absmi.c:4616:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 4616 | pt0 = RepPair(d0); | ^ C/absmi.c:4653:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 4653 | pt0 = RepPair(d0)+1; | ^ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:4668:7: note: in expansion of macro 'UnifyBound' 4668 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:4668:7: note: in expansion of macro 'UnifyBound' 4668 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:4668:7: note: in expansion of macro 'UnifyBound' 4668 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:4668:7: note: in expansion of macro 'UnifyBound' 4668 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:4668:7: note: in expansion of macro 'UnifyBound' 4668 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ C/absmi.c:4736:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 4736 | pt0 = RepPair(d0)+1; | ^ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:4753:7: note: in expansion of macro 'UnifyBound' 4753 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:4753:7: note: in expansion of macro 'UnifyBound' 4753 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:4753:7: note: in expansion of macro 'UnifyBound' 4753 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:4753:7: note: in expansion of macro 'UnifyBound' 4753 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:4753:7: note: in expansion of macro 'UnifyBound' 4753 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:5044:7: note: in expansion of macro 'UnifyBound' 5044 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:5044:7: note: in expansion of macro 'UnifyBound' 5044 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:5044:7: note: in expansion of macro 'UnifyBound' 5044 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:5044:7: note: in expansion of macro 'UnifyBound' 5044 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:5044:7: note: in expansion of macro 'UnifyBound' 5044 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:5109:7: note: in expansion of macro 'UnifyBound' 5109 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:5109:7: note: in expansion of macro 'UnifyBound' 5109 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:5109:7: note: in expansion of macro 'UnifyBound' 5109 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:5109:7: note: in expansion of macro 'UnifyBound' 5109 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:5109:7: note: in expansion of macro 'UnifyBound' 5109 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:5173:7: note: in expansion of macro 'UnifyBound' 5173 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:5173:7: note: in expansion of macro 'UnifyBound' 5173 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:5173:7: note: in expansion of macro 'UnifyBound' 5173 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:5173:7: note: in expansion of macro 'UnifyBound' 5173 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:5173:7: note: in expansion of macro 'UnifyBound' 5173 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:5247:7: note: in expansion of macro 'UnifyBound' 5247 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:5247:7: note: in expansion of macro 'UnifyBound' 5247 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:5247:7: note: in expansion of macro 'UnifyBound' 5247 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:5247:7: note: in expansion of macro 'UnifyBound' 5247 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:5247:7: note: in expansion of macro 'UnifyBound' 5247 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:5319:7: note: in expansion of macro 'UnifyBound' 5319 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:5319:7: note: in expansion of macro 'UnifyBound' 5319 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:5319:7: note: in expansion of macro 'UnifyBound' 5319 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:5319:7: note: in expansion of macro 'UnifyBound' 5319 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:5319:7: note: in expansion of macro 'UnifyBound' 5319 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:5413:7: note: in expansion of macro 'UnifyBound' 5413 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:5413:7: note: in expansion of macro 'UnifyBound' 5413 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:5413:7: note: in expansion of macro 'UnifyBound' 5413 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:5413:7: note: in expansion of macro 'UnifyBound' 5413 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:5413:7: note: in expansion of macro 'UnifyBound' 5413 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:5496:7: note: in expansion of macro 'UnifyBound' 5496 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:5496:7: note: in expansion of macro 'UnifyBound' 5496 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:5496:7: note: in expansion of macro 'UnifyBound' 5496 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:5496:7: note: in expansion of macro 'UnifyBound' 5496 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:5496:7: note: in expansion of macro 'UnifyBound' 5496 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:5590:7: note: in expansion of macro 'UnifyBound' 5590 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:5590:7: note: in expansion of macro 'UnifyBound' 5590 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:5590:7: note: in expansion of macro 'UnifyBound' 5590 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:5590:7: note: in expansion of macro 'UnifyBound' 5590 | UnifyBound(d0, d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:5590:7: note: in expansion of macro 'UnifyBound' 5590 | UnifyBound(d0, d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ C/absmi.c:5789:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i' 5789 | register Int i = PREG->u.osc.s; /* not enough registers */ | ^ C/absmi.c:5789:15: error: 'i' undeclared (first use in this function) C/absmi.c:5847:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 5847 | pt0 = RepAppl(d0); | ^ C/absmi.c:5895:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 5895 | pt0 = RepAppl(d0); | ^ C/absmi.c:5944:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 5944 | pt0 = RepAppl(d0); | ^ C/absmi.c:5987:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 5987 | pt0 = RepAppl(d0); | ^ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:6111:7: note: in expansion of macro 'UnifyBound' 6111 | UnifyBound(d0,d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:6111:7: note: in expansion of macro 'UnifyBound' 6111 | UnifyBound(d0,d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:6111:7: note: in expansion of macro 'UnifyBound' 6111 | UnifyBound(d0,d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:6111:7: note: in expansion of macro 'UnifyBound' 6111 | UnifyBound(d0,d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:6111:7: note: in expansion of macro 'UnifyBound' 6111 | UnifyBound(d0,d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ In file included from C/absmi.c:497: ./H/absmi.h:1059:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1059 | ipt0 = RepPair(d0); \ | ^ C/absmi.c:6136:7: note: in expansion of macro 'UnifyBound' 6136 | UnifyBound(d0,d1); | ^~~~~~~~~~ ./H/absmi.h:1060:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1060 | ipt1 = RepPair(d1); \ | ^ C/absmi.c:6136:7: note: in expansion of macro 'UnifyBound' 6136 | UnifyBound(d0,d1); | ^~~~~~~~~~ ./H/absmi.h:1069:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1069 | ipt0 = RepAppl(d0); \ | ^ C/absmi.c:6136:7: note: in expansion of macro 'UnifyBound' 6136 | UnifyBound(d0,d1); | ^~~~~~~~~~ ./H/absmi.h:1070:10: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1070 | ipt1 = RepAppl(d1); \ | ^ C/absmi.c:6136:7: note: in expansion of macro 'UnifyBound' 6136 | UnifyBound(d0,d1); | ^~~~~~~~~~ ./H/absmi.h:1047:31: warning: passing argument 3 of 'unify_extension' makes pointer from integer without a cast [-Wint-conversion] 1047 | if (unify_extension(f, d0, RepAppl(d0), d1)) \ | ^~~~~~~~~~~ | | | int ./H/absmi.h:1073:5: note: in expansion of macro 'UnifyBound_TEST_ATTACHED' 1073 | UnifyBound_TEST_ATTACHED(f,d0,ipt0,d1); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ C/absmi.c:6136:7: note: in expansion of macro 'UnifyBound' 6136 | UnifyBound(d0,d1); | ^~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:644:45: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 644 | unify_extension (Functor f, CELL d0, CELL * pt0, CELL d1) | ~~~~~~~^~~ C/absmi.c:6164:12: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 6164 | SREG = RepPair(d0); | ^ C/absmi.c:6220:12: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 6220 | SREG = RepPair(d0); | ^ C/absmi.c:6276:14: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 6276 | S_SREG = RepAppl(d0); | ^ C/absmi.c:6349:12: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 6349 | SREG = RepAppl(d0); | ^ C/absmi.c:7130:17: error: expected ';' before 'f' 7130 | CPredicate f = PREG->u.Osbpp.p->cs.f_code; | ^~ | ; C/absmi.c:7133:13: error: 'f' undeclared (first use in this function) 7133 | d0 = (f)(PASS_REGS1); | ^ C/absmi.c:7198:14: error: expected ';' before 'f' 7198 | CPredicate f = PREG->u.pp.p->cs.f_code; | ^~ | ; C/absmi.c:7270:20: warning: implicit declaration of function 'YAP_Execute' [-Wimplicit-function-declaration] 7270 | SREG = (CELL *) YAP_Execute(p, p->cs.f_code); | ^~~~~~~~~~~ C/absmi.c:7324:12: error: expected ';' before 'f' 7324 | CPredicate f = PREG->u.slp.p->cs.f_code; | ^~ | ; C/absmi.c:7362:12: error: expected ';' before 'f' 7362 | CPredicate f = (CPredicate)(PREG->u.OtapFs.f); | ^~ | ; C/absmi.c:7448:23: warning: implicit declaration of function 'YAP_ExecuteFirst' [-Wimplicit-function-declaration] 7448 | SREG = (CELL *) YAP_ExecuteFirst(PREG->u.OtapFs.p, (CPredicate)(PREG->u.OtapFs.f)); | ^~~~~~~~~~~~~~~~ C/absmi.c:7491:23: warning: implicit declaration of function 'YAP_ExecuteNext' [-Wimplicit-function-declaration] 7491 | SREG = (CELL *) YAP_ExecuteNext(PREG->u.OtapFs.p, (CPredicate)(PREG->u.OtapFs.f)); | ^~~~~~~~~~~~~~~ C/absmi.c:7556:4: warning: implicit declaration of function 'Yap_IPred' [-Wimplicit-function-declaration] 7556 | Yap_IPred(ap, 0, CP); | ^~~~~~~~~ C/absmi.c:7645:8: warning: implicit declaration of function 'Yap_ExpandIndex'; did you mean 'Yap_CleanUpIndex'? [-Wimplicit-function-declaration] 7645 | pt0 = Yap_ExpandIndex(pe, 0); | ^~~~~~~~~~~~~~~ | Yap_CleanUpIndex C/absmi.c:7645:6: warning: assignment to 'yamop *' {aka 'struct yami *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 7645 | pt0 = Yap_ExpandIndex(pe, 0); | ^ C/absmi.c:7681:6: warning: assignment to 'yamop *' {aka 'struct yami *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 7681 | pt0 = Yap_ExpandIndex(pe, 0); | ^ In file included from ./H/clause.h:18, from ./H/absmi.h:149, from C/absmi.c:497: ./H/Yatom.h:701:27: error: 'UInt' undeclared (first use in this function) 701 | #define TIMESTAMP_EOT ((UInt)(~0L)) | ^~~~ ./H/Yatom.h:702:26: note: in expansion of macro 'TIMESTAMP_EOT' 702 | #define TIMESTAMP_RESET (TIMESTAMP_EOT-1024) | ^~~~~~~~~~~~~ C/absmi.c:8099:31: note: in expansion of macro 'TIMESTAMP_RESET' 8099 | if (ap->TimeStampOfPred >= TIMESTAMP_RESET) | ^~~~~~~~~~~~~~~ C/absmi.c:8126:6: error: expected ';' before 'timestamp' 8126 | UInt timestamp; | ^~~~~~~~~~ | ; C/absmi.c:8129:2: error: 'timestamp' undeclared (first use in this function) 8129 | timestamp = IntegerOfTerm(S_YREG[0]); | ^~~~~~~~~ C/absmi.c:8158:6: error: expected ';' before 'timestamp' 8158 | UInt timestamp; | ^~~~~~~~~~ | ; C/absmi.c:8198:6: error: expected ';' before 'timestamp' 8198 | UInt timestamp = IntegerOfTerm(((CELL *)(B_YREG+1))[ap->ArityOfPE]); | ^~~~~~~~~~ | ; C/absmi.c:8333:7: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 8333 | SREG = RepPair(d0); | ^ C/absmi.c:8349:7: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 8349 | SREG = RepAppl(d0); | ^ C/absmi.c:8387:9: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 8387 | SREG = RepPair(d0); | ^ C/absmi.c:8403:11: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 8403 | SREG = RepAppl(d0); | ^ C/absmi.c:8439:7: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 8439 | SREG = RepPair(d0); | ^ C/absmi.c:8453:7: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 8453 | SREG = RepAppl(d0); | ^ C/absmi.c:8477:7: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 8477 | SREG = RepPair(d0); | ^ C/absmi.c:8491:7: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 8491 | SREG = RepAppl(d0); | ^ C/absmi.c:9358:5: error: expected ';' before 'd1' 9358 | Int d1 = PREG->u.xxn.c; | ^~~ | ; C/absmi.c:9360:39: error: 'd1' undeclared (first use in this function); did you mean 'd0'? 9360 | d0 = MkIntegerTerm(IntOfTerm(d0) + d1); | ^~ | d0 C/absmi.c:9381:52: error: expected ')' before 'Int_FORMAT' 9381 | Yap_NilError(INSTANTIATION_ERROR, "X is A + " Int_FORMAT, PREG->u.xxn.c); | ^~~~~~~~~~~ | ) C/absmi.c:9447:5: error: expected ';' before 'd1' 9447 | Int d1 = PREG->u.yxn.c; | ^~~ | ; C/absmi.c:9473:52: error: expected ')' before 'Int_FORMAT' 9473 | Yap_NilError(INSTANTIATION_ERROR, "X is A + " Int_FORMAT, PREG->u.yxn.c); | ^~~~~~~~~~~ | ) C/absmi.c:9536:5: error: expected ';' before 'd1' 9536 | Int d1 = PREG->u.xxn.c; | ^~~ | ; C/absmi.c:9559:48: error: expected ')' before 'Int_FORMAT' 9559 | Yap_NilError(INSTANTIATION_ERROR, "X is " Int_FORMAT "-A", PREG->u.xxn.c); | ^~~~~~~~~~~ | ) C/absmi.c:9625:5: error: expected ';' before 'd1' 9625 | Int d1 = PREG->u.yxn.c; | ^~~ | ; C/absmi.c:9651:48: error: expected ')' before 'Int_FORMAT' 9651 | Yap_NilError(INSTANTIATION_ERROR, "X is " Int_FORMAT "-A", PREG->u.yxn.c); | ^~~~~~~~~~~ | ) C/absmi.c:9714:5: error: expected ';' before 'd1' 9714 | Int d1 = PREG->u.xxn.c; | ^~~ | ; C/absmi.c:9737:51: error: expected ')' before 'Int_FORMAT' 9737 | Yap_NilError(INSTANTIATION_ERROR, "X is A* " Int_FORMAT, PREG->u.xxn.c); | ^~~~~~~~~~~ | ) C/absmi.c:9803:5: error: expected ';' before 'd1' 9803 | Int d1 = PREG->u.yxn.c; | ^~~ | ; C/absmi.c:9829:51: error: expected ')' before 'Int_FORMAT' 9829 | Yap_NilError(INSTANTIATION_ERROR, "X is A* " Int_FORMAT, PREG->u.yxn.c); | ^~~~~~~~~~~ | ) C/absmi.c:9849:5: error: expected ';' before 'div' 9849 | Int div = IntOfTerm(d1); | ^~~~ | ; C/absmi.c:9850:10: warning: the comparison will always evaluate as 'false' for the address of 'div' will never be NULL [-Waddress] 9850 | if (div == 0) { | ^~ C/absmi.c:9856:31: error: invalid operands to binary / (have 'int' and 'div_t (*)(int, int)') 9856 | d0 = MkIntTerm(IntOfTerm(d0) / div); | ~~~~~~~~~~~~~ ^ | | | | int div_t (*)(int, int) C/absmi.c:9899:5: error: expected ';' before 'd1' 9899 | Int d1 = PREG->u.xxn.c; | ^~~ | ; C/absmi.c:9936:5: error: expected ';' before 'd1' 9936 | Int d1 = PREG->u.xxn.c; | ^~~ | ; C/absmi.c:9938:7: error: expected ';' before 'div' 9938 | Int div = IntOfTerm(d0); | ^~~~ | ; C/absmi.c:9939:12: warning: the comparison will always evaluate as 'false' for the address of 'div' will never be NULL [-Waddress] 9939 | if (div == 0){ | ^~ C/absmi.c:9965:48: error: expected ')' before 'Int_FORMAT' 9965 | Yap_NilError(INSTANTIATION_ERROR, "X is " Int_FORMAT "// A", PREG->u.xxn.c); | ^~~~~~~~~~~ | ) C/absmi.c:9985:5: error: expected ';' before 'div' 9985 | Int div = IntOfTerm(d1); | ^~~~ | ; C/absmi.c:9986:10: warning: the comparison will always evaluate as 'false' for the address of 'div' will never be NULL [-Waddress] 9986 | if (div == 0) { | ^~ C/absmi.c:9992:31: error: invalid operands to binary / (have 'int' and 'div_t (*)(int, int)') 9992 | d0 = MkIntTerm(IntOfTerm(d0) / div); | ~~~~~~~~~~~~~ ^ | | | | int div_t (*)(int, int) C/absmi.c:10038:5: error: expected ';' before 'd1' 10038 | Int d1 = PREG->u.yxn.c; | ^~~ | ; C/absmi.c:10078:5: error: expected ';' before 'd1' 10078 | Int d1 = PREG->u.yxn.c; | ^~~ | ; C/absmi.c:10080:7: error: expected ';' before 'div' 10080 | Int div = IntOfTerm(d0); | ^~~~ | ; C/absmi.c:10081:12: warning: the comparison will always evaluate as 'false' for the address of 'div' will never be NULL [-Waddress] 10081 | if (div == 0) { | ^~ C/absmi.c:10111:48: error: expected ')' before 'Int_FORMAT' 10111 | Yap_NilError(INSTANTIATION_ERROR, "X is " Int_FORMAT "// A", PREG->u.yxn.c); | ^~~~~~~~~~~ | ) C/absmi.c:10175:5: error: expected ';' before 'd1' 10175 | Int d1 = PREG->u.xxn.c; | ^~~ | ; C/absmi.c:10198:54: error: expected ')' before 'Int_FORMAT' 10198 | Yap_NilError(INSTANTIATION_ERROR, "X is A /\\ " Int_FORMAT , PREG->u.xxn.c); | ^~~~~~~~~~~ | ) C/absmi.c:10264:5: error: expected ';' before 'd1' 10264 | Int d1 = PREG->u.yxn.c; | ^~~ | ; C/absmi.c:10290:54: error: expected ')' before 'Int_FORMAT' 10290 | Yap_NilError(INSTANTIATION_ERROR, "X is A /\\ " Int_FORMAT , PREG->u.yxn.c); | ^~~~~~~~~~~ | ) C/absmi.c:10354:5: error: expected ';' before 'd1' 10354 | Int d1 = PREG->u.xxn.c; | ^~~ | ; C/absmi.c:10376:54: error: expected ')' before 'Int_FORMAT' 10376 | Yap_NilError(INSTANTIATION_ERROR, "X is A \\/ " Int_FORMAT , PREG->u.xxn.c); | ^~~~~~~~~~~ | ) C/absmi.c:10442:5: error: expected ';' before 'd1' 10442 | Int d1 = PREG->u.yxn.c; | ^~~ | ; C/absmi.c:10468:54: error: expected ')' before 'Int_FORMAT' 10468 | Yap_NilError(INSTANTIATION_ERROR, "X is A \\/ " Int_FORMAT , PREG->u.yxn.c); | ^~~~~~~~~~~ | ) C/absmi.c:10488:5: error: expected ';' before 'i2' 10488 | Int i2 = IntOfTerm(d1); | ^~~ | ; C/absmi.c:10489:6: error: 'i2' undeclared (first use in this function); did you mean 'M2'? 10489 | if (i2 < 0) | ^~ | M2 C/absmi.c:10535:5: error: expected ';' before 'd1' 10535 | Int d1 = PREG->u.xxn.c; | ^~~ | ; C/absmi.c:10537:36: error: expected ')' before 'd1' 10537 | d0 = do_sll(IntOfTerm(d0), (Int)d1); | ^~ | ) C/absmi.c:10572:5: error: expected ';' before 'd1' 10572 | Int d1 = PREG->u.xxn.c; | ^~~ | ; C/absmi.c:10574:7: error: expected ';' before 'i2' 10574 | Int i2 = IntOfTerm(d0); | ^~~ | ; C/absmi.c:10619:5: error: expected ';' before 'i2' 10619 | Int i2 = IntOfTerm(d1); | ^~~ | ; C/absmi.c:10669:5: error: expected ';' before 'd1' 10669 | Int d1 = PREG->u.yxn.c; | ^~~ | ; C/absmi.c:10710:5: error: expected ';' before 'd1' 10710 | Int d1 = PREG->u.yxn.c; | ^~~ | ; C/absmi.c:10712:7: error: expected ';' before 'i2' 10712 | Int i2 = IntOfTerm(d0); | ^~~ | ; C/absmi.c:10760:5: error: expected ';' before 'i2' 10760 | Int i2 = IntOfTerm(d1); | ^~~ | ; C/absmi.c:10807:5: error: expected ';' before 'd1' 10807 | Int d1 = PREG->u.xxn.c; | ^~~ | ; C/absmi.c:10844:5: error: expected ';' before 'd1' 10844 | Int d1 = PREG->u.xxn.c; | ^~~ | ; C/absmi.c:10846:6: error: expected ';' before 'i2' 10846 | Int i2 = IntOfTerm(d0); | ^~~ | ; C/absmi.c:10891:6: error: expected ';' before 'i2' 10891 | Int i2 = IntOfTerm(d1); | ^~~ | ; C/absmi.c:10941:5: error: expected ';' before 'd1' 10941 | Int d1 = PREG->u.yxn.c; | ^~~ | ; C/absmi.c:10980:5: error: expected ';' before 'd1' 10980 | Int d1 = PREG->u.yxn.c; | ^~~ | ; C/absmi.c:10982:6: error: expected ';' before 'i2' 10982 | Int i2 = IntOfTerm(d0); | ^~~ | ; C/absmi.c:11029:5: error: expected ';' before 'v' 11029 | Int v = IntOfTerm(d0) - IntOfTerm(d1); | ^~ | ; C/absmi.c:11031:6: error: 'v' undeclared (first use in this function) 11031 | if (v > 0) { | ^ C/absmi.c:11077:3: error: unknown type name 'CmpPredicate' 11077 | CmpPredicate f = PREG->u.plxxs.p->cs.d_code; | ^~~~~~~~~~~~ C/absmi.c:11079:15: error: called object 'f' is not a function or function pointer 11079 | d0 = (CELL) (f) (d0,d1); | ^ C/absmi.c:11077:16: note: declared here 11077 | CmpPredicate f = PREG->u.plxxs.p->cs.d_code; | ^ C/absmi.c:11122:5: error: expected ';' before 'v' 11122 | Int v = IntOfTerm(d0) - IntOfTerm(d1); | ^~ | ; C/absmi.c:11152:2: error: unknown type name 'CmpPredicate' 11152 | CmpPredicate f = PREG->u.plxys.p->cs.d_code; | ^~~~~~~~~~~~ C/absmi.c:11154:14: error: called object 'f' is not a function or function pointer 11154 | d0 = (CELL) (f) (d0,d1); | ^ C/absmi.c:11152:15: note: declared here 11152 | CmpPredicate f = PREG->u.plxys.p->cs.d_code; | ^ C/absmi.c:11195:5: error: expected ';' before 'v' 11195 | Int v = IntOfTerm(d0) - IntOfTerm(d1); | ^~ | ; C/absmi.c:11225:2: error: unknown type name 'CmpPredicate' 11225 | CmpPredicate f = PREG->u.plxys.p->cs.d_code; | ^~~~~~~~~~~~ C/absmi.c:11227:14: error: called object 'f' is not a function or function pointer 11227 | d0 = (CELL) (f) (d0,d1); | ^ C/absmi.c:11225:15: note: declared here 11225 | CmpPredicate f = PREG->u.plxys.p->cs.d_code; | ^ C/absmi.c:11271:5: error: expected ';' before 'v' 11271 | Int v = IntOfTerm(d0) - IntOfTerm(d1); | ^~ | ; C/absmi.c:11301:2: error: unknown type name 'CmpPredicate' 11301 | CmpPredicate f = PREG->u.plyys.p->cs.d_code; | ^~~~~~~~~~~~ C/absmi.c:11303:14: error: called object 'f' is not a function or function pointer 11303 | d0 = (CELL) (f) (d0,d1); | ^ C/absmi.c:11301:15: note: declared here 11301 | CmpPredicate f = PREG->u.plyys.p->cs.d_code; | ^ C/absmi.c:11362:5: error: expected ';' before 'opresult' 11362 | Int opresult; | ^~~~~~~~~ | ; C/absmi.c:11387:2: error: 'opresult' undeclared (first use in this function) 11387 | opresult = Yap_IUnify(d0, d1); | ^~~~~~~~ C/absmi.c:11418:17: warning: initialization of 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 11418 | CELL *pt = RepAppl(d1); | ^~~~~~~ C/absmi.c:11486:31: warning: passing argument 1 of 'iequ_complex' makes pointer from integer without a cast [-Wint-conversion] 11486 | d2 = iequ_complex(RepPair(d0)-1, RepPair(d0)+1,RepPair(d1)-1); | ~~~~~~~~~~~^~ | | | int In file included from C/absmi.c:497: ./H/absmi.h:1308:29: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 1308 | iequ_complex(register CELL *pt0, register CELL *pt0_end, | ~~~~~~~~~~~~~~~^~~ C/absmi.c:11486:46: warning: passing argument 2 of 'iequ_complex' makes pointer from integer without a cast [-Wint-conversion] 11486 | d2 = iequ_complex(RepPair(d0)-1, RepPair(d0)+1,RepPair(d1)-1); | ~~~~~~~~~~~^~ | | | int In file included from C/absmi.c:497: ./H/absmi.h:1308:49: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 1308 | iequ_complex(register CELL *pt0, register CELL *pt0_end, | ~~~~~~~~~~~~~~~^~~~~~~ C/absmi.c:11486:60: warning: passing argument 3 of 'iequ_complex' makes pointer from integer without a cast [-Wint-conversion] 11486 | d2 = iequ_complex(RepPair(d0)-1, RepPair(d0)+1,RepPair(d1)-1); | ~~~~~~~~~~~^~ | | | int In file included from C/absmi.c:497: ./H/absmi.h:1309:24: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 1309 | register CELL *pt1 | ~~~~~~~~~~~~~~~^~~ C/absmi.c:11562:20: warning: passing argument 1 of 'iequ_complex' makes pointer from integer without a cast [-Wint-conversion] 11562 | d2 = iequ_complex(RepAppl(d0), RepAppl(d0)+ArityOfFunctor(f0), RepAppl(d1)); | ^~~~~~~~~~~ | | | int In file included from C/absmi.c:497: ./H/absmi.h:1308:29: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 1308 | iequ_complex(register CELL *pt0, register CELL *pt0_end, | ~~~~~~~~~~~~~~~^~~ C/absmi.c:11562:44: warning: passing argument 2 of 'iequ_complex' makes pointer from integer without a cast [-Wint-conversion] 11562 | d2 = iequ_complex(RepAppl(d0), RepAppl(d0)+ArityOfFunctor(f0), RepAppl(d1)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | | | int In file included from C/absmi.c:497: ./H/absmi.h:1308:49: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 1308 | iequ_complex(register CELL *pt0, register CELL *pt0_end, | ~~~~~~~~~~~~~~~^~~~~~~ C/absmi.c:11562:65: warning: passing argument 3 of 'iequ_complex' makes pointer from integer without a cast [-Wint-conversion] 11562 | d2 = iequ_complex(RepAppl(d0), RepAppl(d0)+ArityOfFunctor(f0), RepAppl(d1)); | ^~~~~~~~~~~ | | | int In file included from C/absmi.c:497: ./H/absmi.h:1309:24: note: expected 'CELL *' {aka 'int *'} but argument is of type 'int' 1309 | register CELL *pt1 | ~~~~~~~~~~~~~~~^~~ C/absmi.c:11648:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 11648 | pt0 = RepAppl(d1); | ^ C/absmi.c:11653:11: error: expected ')' before 'd0' 11653 | if ((Int)d0 <= 0 || | ~ ^~ | ) C/absmi.c:11672:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 11672 | pt0 = RepPair(d1); | ^ C/absmi.c:11674:13: error: expected ')' before 'd0' 11674 | if ((Int)d0 < 0) { | ~ ^~ | ) C/absmi.c:11739:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 11739 | pt0 = RepAppl(d1); | ^ C/absmi.c:11744:11: error: expected ')' before 'd0' 11744 | if ((Int)d0 <= 0 || | ~ ^~ | ) C/absmi.c:11763:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 11763 | pt0 = RepPair(d1); | ^ C/absmi.c:11765:13: error: expected ')' before 'd0' 11765 | if ((Int)d0 < 0) { | ~ ^~ | ) C/absmi.c:11835:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 11835 | pt0 = RepAppl(d1); | ^ C/absmi.c:11840:11: error: expected ')' before 'd0' 11840 | if ((Int)d0 <= 0 || | ~ ^~ | ) C/absmi.c:11862:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 11862 | pt0 = RepPair(d1); | ^ C/absmi.c:11864:13: error: expected ')' before 'd0' 11864 | if ((Int)d0 < 0) { | ~ ^~ | ) C/absmi.c:11933:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 11933 | pt0 = RepAppl(d1); | ^ C/absmi.c:11938:11: error: expected ')' before 'd0' 11938 | if ((Int)d0 <= 0 || | ~ ^~ | ) C/absmi.c:11960:6: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 11960 | pt0 = RepPair(d1); | ^ C/absmi.c:11962:13: error: expected ')' before 'd0' 11962 | if ((Int)d0 < 0) { | ~ ^~ | ) C/absmi.c:12053:21: error: expected ')' before 'd1' 12053 | else if ((Int)d1 > 0) { | ~ ^~ | ) C/absmi.c:12066:51: error: expected ')' before 'd1' 12066 | d0 = (CELL) Yap_MkFunctor(AtomOfTerm(d0), (Int) d1); | ^~~ | ) C/absmi.c:12082:14: error: expected ')' before 'd1' 12082 | while ((Int)d1--) { | ~ ^~ | ) C/absmi.c:12094:23: error: expected ')' before 'd1' 12094 | } else if ((Int)d1 == 0) { | ~ ^~ | ) C/absmi.c:12170:23: error: expected ')' before 'd1' 12170 | } else if ((Int)d1 > 0) { | ~ ^~ | ) C/absmi.c:12183:51: error: expected ')' before 'd1' 12183 | d0 = (CELL) Yap_MkFunctor(AtomOfTerm(d0), (Int) d1); | ^~~ | ) C/absmi.c:12199:14: error: expected ')' before 'd1' 12199 | while ((Int)d1--) { | ~ ^~ | ) C/absmi.c:12293:49: error: expected ')' before 'd1' 12293 | d0 = (CELL) Yap_MkFunctor(AtomOfTerm(d0), (Int) d1); | ^~~ | ) C/absmi.c:12309:19: error: expected ')' before 'd1' 12309 | while ((Int)d1--) { | ~ ^~ | ) C/absmi.c:12387:23: error: expected ')' before 'd1' 12387 | } else if ((Int)d1 > 0) { | ~ ^~ | ) C/absmi.c:12400:51: error: expected ')' before 'd1' 12400 | d0 = (CELL) Yap_MkFunctor(AtomOfTerm(d0), (Int) d1); | ^~~ | ) C/absmi.c:12416:14: error: expected ')' before 'd1' 12416 | while ((Int)d1--) { | ~ ^~ | ) C/absmi.c:12514:21: error: expected ')' before 'd1' 12514 | else if ((Int)d1 > 0) { | ~ ^~ | ) C/absmi.c:12526:51: error: expected ')' before 'd1' 12526 | d0 = (CELL) Yap_MkFunctor(AtomOfTerm(d0), (Int) d1); | ^~~ | ) C/absmi.c:12543:14: error: expected ')' before 'd1' 12543 | while ((Int)d1--) { | ~ ^~ | ) C/absmi.c:12655:49: error: expected ')' before 'd1' 12655 | d0 = (CELL) Yap_MkFunctor(AtomOfTerm(d0), (Int) d1); | ^~~ | ) C/absmi.c:12671:19: error: expected ')' before 'd1' 12671 | while ((Int)d1--) { | ~ ^~ | ) C/absmi.c:12916:7: error: invalid type argument of unary '*' (have 'int') 12916 | d1 = *RepAppl(d0); | ^~~~~~~~~~~~ C/absmi.c:13018:21: error: expected ')' before 'd1' 13018 | else if ((Int)d1 > 0) { | ~ ^~ | ) C/absmi.c:13031:51: error: expected ')' before 'd1' 13031 | d0 = (CELL) Yap_MkFunctor(AtomOfTerm(d0), (Int) d1); | ^~~ | ) C/absmi.c:13047:14: error: expected ')' before 'd1' 13047 | while ((Int)d1--) { | ~ ^~ | ) C/absmi.c:13054:23: error: expected ')' before 'd1' 13054 | } else if ((Int)d1 < 0) { | ~ ^~ | ) C/absmi.c:13218:13: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 13218 | SREG = RepAppl(d0); | ^ C/absmi.c:13226:53: error: expected ')' before 'PredPropByAtom' 13226 | ENV_YREG[-EnvSizeInCells-2] = MkIntegerTerm((Int)PredPropByAtom(AtomOfTerm(d1),nmod)); | ^~~~~~~~~~~~~~ | ) C/absmi.c:13243:55: error: expected ')' before 'PredPropByFunc' 13243 | ENV_YREG[-EnvSizeInCells-2] = MkIntegerTerm((Int)PredPropByFunc(f1,nmod)); | ^~~~~~~~~~~~~~ | ) C/absmi.c:13215:13: warning: variable 'nmod' set but not used [-Wunused-but-set-variable] 13215 | Term nmod = mod; | ^~~~ C/absmi.c:13279:8: warning: assignment to 'CELL *' {aka 'int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 13279 | pt1 = RepAppl(d0); | ^ C/absmi.c:766:16: warning: variable 'old_op' set but not used [-Wunused-but-set-variable] 766 | op_numbers old_op; | ^~~~~~ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: C/absmi.c: At top level: ./H/YapTags.h:284:32: warning: 'MkIntTerm' used but never defined 284 | INLINE_ONLY inline EXTERN Term MkIntTerm (Int); | ^~~~~~~~~ ./H/YapTags.h:298:32: warning: 'MkIntConstant' used but never defined 298 | INLINE_ONLY inline EXTERN Term MkIntConstant (Int); | ^~~~~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h:306:32: warning: 'MkLongIntTerm' used but never defined 306 | INLINE_ONLY inline EXTERN Term MkLongIntTerm (Int); | ^~~~~~~~~~~~~ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/YapTags.h:367:32: warning: 'MkIntegerTerm' used but never defined 367 | INLINE_ONLY inline EXTERN Term MkIntegerTerm (Int); | ^~~~~~~~~~~~~ In file included from ./H/absmi.h:161, from C/absmi.c:497: ./OPTYap/tab.macros.h:45:20: warning: 'wake_frozen_cp' declared 'static' but never defined [-Wunused-function] 45 | static inline void wake_frozen_cp(Int); | ^~~~~~~~~~~~~~ ./OPTYap/tab.macros.h:46:20: warning: 'abolish_frozen_cps_until' declared 'static' but never defined [-Wunused-function] 46 | static inline void abolish_frozen_cps_until(Int); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h: In function 'Yap_DoubleP_key': ./H/TermExt.h:702:1: warning: control reaches end of non-void function [-Wreturn-type] 702 | } | ^ ./H/TermExt.h: In function 'Yap_IntP_key': ./H/TermExt.h:685:1: warning: control reaches end of non-void function [-Wreturn-type] 685 | } | ^ ./H/TermExt.h: In function 'IsPrimitiveTerm': ./H/TermExt.h:534:1: warning: control reaches end of non-void function [-Wreturn-type] 534 | } | ^ ./H/TermExt.h: In function 'LongIntOfTerm': ./H/TermExt.h:326:1: warning: control reaches end of non-void function [-Wreturn-type] 326 | } | ^ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/YapTags.h: In function 'IsIntTerm': ./H/YapTags.h:314:1: warning: control reaches end of non-void function [-Wreturn-type] 314 | } | ^ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h: In function 'IsAtomicTerm': ./H/TermExt.h:502:1: warning: control reaches end of non-void function [-Wreturn-type] 502 | } | ^ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/YapTags.h: In function 'MkAtomTerm': ./H/YapTags.h:237:1: warning: control reaches end of non-void function [-Wreturn-type] 237 | } | ^ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/YapTags.h: In function 'IntegerOfTerm': ./H/YapTags.h:392:1: warning: control reaches end of non-void function [-Wreturn-type] 392 | } | ^ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/YapTags.h: In function 'FunctorOfTerm': ./H/YapTags.h:226:1: warning: control reaches end of non-void function [-Wreturn-type] 226 | } | ^ In file included from ./H/YapTags.h:362, from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/TermExt.h: In function 'IsExtensionFunctor': ./H/TermExt.h:513:1: warning: control reaches end of non-void function [-Wreturn-type] 513 | } | ^ In file included from ./H/clause.h:18, from ./H/absmi.h:149, from C/absmi.c:497: ./H/Yatom.h: In function 'ArityOfFunctor': ./H/Yatom.h:162:1: warning: control reaches end of non-void function [-Wreturn-type] 162 | } | ^ In file included from ./H/Yap.h:548, from ./H/absmi.h:148, from C/absmi.c:497: ./H/YapTags.h: In function 'IsAtomTerm': ./H/YapTags.h:279:1: warning: control reaches end of non-void function [-Wreturn-type] 279 | } | ^ ./H/YapTags.h: In function 'AtomOfTerm': ./H/YapTags.h:247:1: warning: control reaches end of non-void function [-Wreturn-type] 247 | } | ^ gmake: *** [Makefile:670: absmi.o] Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/lang/yap *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/yap