=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> 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 -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 -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 In file included from C/agc.c:192: ./H/rheap.h: In function 'RestoreForeignCode__': ./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); | ^~~~ gcc -c -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 In file included from C/absmi.c:3397: ./OPTYap/tab.insts.i: In function 'Yap_absmi': ./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; | ^~~~~~~~~~~~~~~~~~~ ./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; | ^~~~~~~~~~~~~~~~~~~ ./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; | ^~~~~~~~~~~~~~~~~~~ In file included from C/absmi.c:497: ./H/Regs.h:595:28: warning: statement with no effect [-Wunused-value] 595 | #define YENV Yap_REGS.YENV_ /* current environment (may differ from ENV) */ ./H/absmi.h:289:30: note: in definition of macro 'FETCH_Y_FROM_ENV' 289 | #define FETCH_Y_FROM_ENV(A) (A) | ^ ./H/absmi.h:636:25: note: in expansion of macro 'YENV' 636 | #define YREG YENV | ^~~~ C/absmi.c:13101:19: note: in expansion of macro 'YREG' 13101 | FETCH_Y_FROM_ENV(YREG); | ^~~~ gcc -c -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 -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 -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 -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 -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 gcc -c -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/arith0.c -o arith0.o gcc -c -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/arith1.c -o arith1.o gcc -c -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/arith2.c -o arith2.o gcc -c -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/attvar.c -o attvar.o gcc -c -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/bignum.c -o bignum.o gcc -c -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/bb.c -o bb.o gcc -c -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/cdmgr.c -o cdmgr.o gcc -c -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/cmppreds.c -o cmppreds.o gcc -c -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/compiler.c -o compiler.o gcc -c -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/computils.c -o computils.o gcc -c -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/corout.c -o corout.o gcc -c -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/cut_c.c -o cut_c.o gcc -c -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/dbase.c -o dbase.o C/dbase.c: In function 'GetDBTerm': C/dbase.c:2477:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2477 | if (H+NOf > ASP) | ^~ C/dbase.c:2479:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2479 | Yap_exit( 1); | ^~~~~~~~ gcc -c -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/dlmalloc.c -o dlmalloc.o gcc -c -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/errors.c -o errors.o In file included from /usr/include/string.h:127, from ./H/absmi.h:152, from C/errors.c:18: C/errors.c: In function 'Yap_Error': C/errors.c:1803:7: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 1803 | strncpy(LOCAL_ErrorSay, RepAtom(NameOfFunctor(FunctorOfTerm(nt[0])))->StrOfAE,\ | ^~~~~~~ C/errors.c:1799:7: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 1799 | strncpy(LOCAL_ErrorSay, RepAtom(AtomOfTerm(nt[0]))->StrOfAE, MAX_ERROR_MSG_SIZ\ | ^~~~~~~ gcc -c -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/eval.c -o eval.o gcc -c -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/exec.c -o exec.o gcc -c -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/exo.c -o exo.o C/exo.c: In function 'add_index': C/exo.c:275:23: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'UInt' {aka 'unsigned int'} [-Wformat=] 275 | printf("entries=%ld collisions=%ld trys=%ld\n", i->nentries, i->ncollisions, i->ntrys); | ~~^ ~~~~~~~~~~~ | | | | long int UInt {aka unsigned int} | %d C/exo.c:275:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'UInt' {aka 'unsigned int'} [-Wformat=] 275 | printf("entries=%ld collisions=%ld trys=%ld\n", i->nentries, i->ncollisions, i->ntrys); | ~~^ ~~~~~~~~~~~~~~ | | | | long int UInt {aka unsigned int} | %d C/exo.c:275:47: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'UInt' {aka 'unsigned int'} [-Wformat=] 275 | printf("entries=%ld collisions=%ld trys=%ld\n", i->nentries, i->ncollisions, i->ntrys); | ~~^ ~~~~~~~~ | | | | long int UInt {aka unsigned int} | %d gcc -c -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/globals.c -o globals.o gcc -c -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/gmp_support.c -o gmp_support.o gcc -c -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/gprof.c -o gprof.o gcc -c -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/grow.c -o grow.o gcc -c -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/heapgc.c -o heapgc.o gcc -c -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/index.c -o index.o gcc -c -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/init.c -o init.o gcc -c -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/inlines.c -o inlines.o gcc -c -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/iopreds.c -o iopreds.o gcc -c -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/depth_bound.c -o depth_bound.o gcc -c -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/mavar.c -o mavar.o gcc -c -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 ./MYDDAS/myddas_mysql.c -o myddas_mysql.o gcc -c -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 ./MYDDAS/myddas_odbc.c -o myddas_odbc.o gcc -c -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 ./MYDDAS/myddas_shared.c -o myddas_shared.o gcc -c -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 ./MYDDAS/myddas_initialization.c -o myddas_initialization.o gcc -c -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 ./MYDDAS/myddas_util.c -o myddas_util.o gcc -c -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 ./MYDDAS/myddas_statistics.c -o myddas_statistics.o gcc -c -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 ./MYDDAS/myddas_top_level.c -o myddas_top_level.o gcc -c -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 ./MYDDAS/myddas_wkb2prolog.c -o myddas_wkb2prolog.o gcc -c -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/modules.c -o modules.o gcc -c -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/other.c -o other.o gcc -c -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/parser.c -o parser.o gcc -c -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/qlyr.c -o qlyr.o In file included from ./C/qlyr.c:626: ./H/rheap.h: In function 'RestoreForeignCode__': ./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); | ^~~~ ./C/qlyr.c: In function 'ReInitProlog': ./C/qlyr.c:1034:3: warning: implicit declaration of function 'YAP_RunGoalOnce' [-Wimplicit-function-declaration] 1034 | YAP_RunGoalOnce(t); | ^~~~~~~~~~~~~~~ gcc -c -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/qlyw.c -o qlyw.o In file included from ./C/qlyw.c:510: ./H/rheap.h: In function 'RestoreForeignCode__': ./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); | ^~~~ gcc -c -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/range.c -o range.o gcc -c -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/save.c -o save.o In file included from ./C/save.c:1204: ./H/rheap.h: In function 'RestoreForeignCode__': ./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); | ^~~~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c: In function 'get_cell': ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c: In function 'get_header_cell': ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 975 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 51 or more bytes (assuming 1074) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c: In function 'get_cellptr': ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c: In function 'save_code_info': ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c: In function 'get_coded': ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c: In function 'check_header': ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 964 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 62 or more bytes (assuming 1085) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 966 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 60 or more bytes (assuming 1083) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c: In function 'put_info.constprop': ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c: In function 'do_save': ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ In file included from /usr/include/string.h:127, from ./H/absmi.h:152, from ./C/save.c:26: ./C/save.c: In function 'cat_file_name.constprop': ./C/save.c:1409:3: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 1409 | strncpy(s, prefix, max_length); | ^~~~~~~ ./C/save.c: In function 'OpenRestore': ./C/save.c:1560:7: warning: '__builtin_strncpy' output may be truncated copying 1023 bytes from a string of length 1024 [-Wstringop-truncation] 1560 | strncpy(LOCAL_FileNameBuf, save_buffer, YAP_FILENAME_MAX-1); | ^~~~~~~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c: In function 'Restore': ./C/save.c:168:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:168:67: note: format string is defined here 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./os/SWI-Stream.h:46, from ./C/save.c:21: ./C/save.c:168:3: note: '__builtin_snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf); | ^~~~~~~~ gcc -c -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/scanner.c -o scanner.o gcc -c -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/sort.c -o sort.o gcc -c -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/stdpreds.c -o stdpreds.o In file included from /usr/include/string.h:127, from ./OPTYap/tab.macros.h:20, from C/stdpreds.c:277: C/stdpreds.c: In function 'p_executable': C/stdpreds.c:4013:31: warning: implicit declaration of function 'Yap_FindExecutable' [-Wimplicit-function-declaration] 4013 | strncpy(LOCAL_FileNameBuf,Yap_FindExecutable (), YAP_FILENAME_MAX) ; | ^~~~~~~~~~~~~~~~~~ C/stdpreds.c:4013:31: warning: passing argument 2 of '__builtin___strncpy_chk' makes pointer from integer without a cast [-Wint-conversion] 4013 | strncpy(LOCAL_FileNameBuf,Yap_FindExecutable (), YAP_FILENAME_MAX) ; | ^~~~~~~~~~~~~~~~~~~~~ | | | int C/stdpreds.c:4013:31: note: expected 'const char *' but argument is of type 'int' C/stdpreds.c:4013:31: warning: passing argument 2 of '__strncpy_ichk' makes pointer from integer without a cast [-Wint-conversion] 4013 | strncpy(LOCAL_FileNameBuf,Yap_FindExecutable (), YAP_FILENAME_MAX) ; | ^~~~~~~~~~~~~~~~~~~~~ | | | int /usr/include/ssp/string.h:91:1: note: expected 'const char * restrict' but argument is of type 'int' 91 | __ssp_bos_icheck3_restrict(strncpy, char *, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ C/stdpreds.c:4013:5: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 4013 | strncpy(LOCAL_FileNameBuf,Yap_FindExecutable (), YAP_FILENAME_MAX) ; | ^~~~~~~ gcc -c -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/sysbits.c -o sysbits.o In file included from /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/readline.h:37, from ./C/sysbits.c:89: /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/rltypedefs.h:35:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 35 | typedef int Function () __attribute__((deprecated)); | ^~~~~~~ /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/rltypedefs.h:36:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 36 | typedef void VFunction () __attribute__((deprecated)); | ^~~~~~~ /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/rltypedefs.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | typedef char *CPFunction () __attribute__((deprecated)); | ^~~~~~~ /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/rltypedefs.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 38 | typedef char **CPPFunction () __attribute__((deprecated)); | ^~~~~~~ In file included from /usr/include/ctype.h:100, from /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/chardefs.h:25, from /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/keymaps.h:35, from /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/readline.h:38, from ./C/sysbits.c:89: ./C/sysbits.c: In function 'Yap_signal_index': ./C/sysbits.c:1221:30: warning: array subscript has type 'char' [-Wchar-subscripts] 1221 | while ((*q++ = tolower(*p++))) {}; | ^ In file included from /usr/include/string.h:127, from ./H/absmi.h:152, from ./C/sysbits.c:32: ./C/sysbits.c: In function 'TrueFileName': ./C/sysbits.c:2065:6: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 2065 | strncpy(ares1, yap_env, YAP_FILENAME_MAX); | ^~~~~~~ ./C/sysbits.c:2060:4: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 2060 | strncpy(LOCAL_FileNameBuf, Yap_LibDir, YAP_FILENAME_MAX); | ^~~~~~~ gcc -c -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/threads.c -o threads.o gcc -c -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/tracer.c -o tracer.o gcc -c -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 ./C/udi.c -o udi.o In file included from ./H/udi_private.h:4, from ./C/udi.c:6: ./C/udi.c: In function 'Yap_new_udi_clause': ./H/udi_private.h:33:33: warning: argument to 'sizeof' in 'memcmp' call is the same pointer type 'PredEntry *' {aka 'struct pred_entry *'} as the second source; expected 'PredEntry' {aka 'struct pred_entry'} or an explicit length [-Wsizeof-pointer-memaccess] 33 | HASH_FIND(hh,head,find,sizeof(PredEntry *),out) | ^~~~~~~~~ ./H/uthash.h:577:41: note: in definition of macro 'HASH_KEYCMP' 577 | #define HASH_KEYCMP(a,b,len) memcmp(a,b,len) | ^~~ ./H/uthash.h:101:8: note: in expansion of macro 'HASH_FIND_IN_BKT' 101 | HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \ | ^~~~~~~~~~~~~~~~ ./H/udi_private.h:33:3: note: in expansion of macro 'HASH_FIND' 33 | HASH_FIND(hh,head,find,sizeof(PredEntry *),out) | ^~~~~~~~~ ./C/udi.c:178:2: note: in expansion of macro 'HASH_FIND_UdiInfo' 178 | HASH_FIND_UdiInfo(UdiControlBlocks,p,info); | ^~~~~~~~~~~~~~~~~ ./C/udi.c: In function 'Yap_udi_search': ./H/udi_private.h:33:33: warning: argument to 'sizeof' in 'memcmp' call is the same pointer type 'PredEntry *' {aka 'struct pred_entry *'} as the second source; expected 'PredEntry' {aka 'struct pred_entry'} or an explicit length [-Wsizeof-pointer-memaccess] 33 | HASH_FIND(hh,head,find,sizeof(PredEntry *),out) | ^~~~~~~~~ ./H/uthash.h:577:41: note: in definition of macro 'HASH_KEYCMP' 577 | #define HASH_KEYCMP(a,b,len) memcmp(a,b,len) | ^~~ ./H/uthash.h:101:8: note: in expansion of macro 'HASH_FIND_IN_BKT' 101 | HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \ | ^~~~~~~~~~~~~~~~ ./H/udi_private.h:33:3: note: in expansion of macro 'HASH_FIND' 33 | HASH_FIND(hh,head,find,sizeof(PredEntry *),out) | ^~~~~~~~~ ./C/udi.c:213:2: note: in expansion of macro 'HASH_FIND_UdiInfo' 213 | HASH_FIND_UdiInfo(UdiControlBlocks,p,info); | ^~~~~~~~~~~~~~~~~ gcc -c -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/unify.c -o unify.o gcc -c -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/userpreds.c -o userpreds.o gcc -c -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/utilpreds.c -o utilpreds.o C/utilpreds.c: In function 'p_term_hash': C/utilpreds.c:3966:37: warning: array subscript -1 is outside array bounds of 'Term[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 3966 | CELL *ar = hash_complex_term(&t1-1, &t1, depth, H, FALSE PASS_REGS); | ~~~^~ C/utilpreds.c:3937:8: note: while referencing 't1' 3937 | Term t1 = Deref(ARG1); | ^~ C/utilpreds.c: In function 'p_instantiated_term_hash': C/utilpreds.c:4024:37: warning: array subscript -1 is outside array bounds of 'Term[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 4024 | CELL *ar = hash_complex_term(&t1-1, &t1, depth, H, TRUE PASS_REGS); | ~~~^~ C/utilpreds.c:3995:8: note: while referencing 't1' 3995 | Term t1 = Deref(ARG1); | ^~ C/utilpreds.c: In function 'Yap_TermHash': C/utilpreds.c:3909:37: warning: array subscript -1 is outside array bounds of 'Term[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 3909 | CELL *ar = hash_complex_term(&t1-1, &t1, depth, H, FALSE PASS_REGS); | ~~~^~ C/utilpreds.c:3906:8: note: while referencing 't1' 3906 | Term t1 = Deref(t); | ^~ gcc -c -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/yap-args.c -o yap-args.o gcc -c -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/write.c -o write.o C/write.c: In function 'check_infinite_loop': C/write.c:743:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 743 | if (x->u.d.old == t) | ^~ C/write.c:745:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 745 | x = x->parent; | ^ gcc -c -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 -I./library/dialect/swi/fli ./library/dialect/swi/fli/blobs.c -o blobs.o ./library/dialect/swi/fli/blobs.c: In function 'PL_blob_data': ./library/dialect/swi/fli/blobs.c:164:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 164 | if ( len ) | ^~ ./library/dialect/swi/fli/blobs.c:166:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 166 | if ( type ) | ^~ gcc -c -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 -I./library/dialect/swi/fli ./library/dialect/swi/fli/swi.c -o swi.o ./library/dialect/swi/fli/swi.c: In function 'Yap_CvtTerm': ./library/dialect/swi/fli/swi.c:3104:4: warning: array subscript 0 is outside array bounds of 'Term[0]' {aka 'unsigned int[]'} [-Warray-bounds] 3104 | ta[0] = MkIntegerTerm((Int)DBRefOfTerm(t)); | ~~^~~ ./library/dialect/swi/fli/swi.c:3103:7: note: while referencing 'ta' 3103 | Term ta[0]; | ^~ gcc -c -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/ypstdio.c -o ypstdio.o gcc -c -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 -I. -I./os ./os/pl-buffer.c -o pl-buffer.o gcc -c -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 -I. -I./os ./os/pl-codelist.c -o pl-codelist.o gcc -c -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 -I. -I./os ./os/pl-ctype.c -o pl-ctype.o gcc -c -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 -I. -I./os ./os/pl-dtoa.c -o pl-dtoa.o gcc -c -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 -I. -I./os ./os/pl-error.c -o pl-error.o gcc -c -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 -I. -I./os ./os/pl-file.c -o pl-file.o gcc -c -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 -I. -I./os ./os/pl-files.c -o pl-files.o gcc -c -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 -I. -I./os ./os/pl-fmt.c -o pl-fmt.o In file included from /usr/include/ctype.h:100, from ./H/pl-yap.h:10, from ./H/pl-incl.h:175, from ./os/pl-fmt.c:30: ./os/pl-fmt.c: In function 'formatNumber': ./os/pl-fmt.c:955:17: warning: array subscript has type 'char' [-Wchar-subscripts] 955 | *s = toupper(*s); | ^ gcc -c -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 -I. -I./os ./os/pl-glob.c -o pl-glob.o gcc -c -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 -I. -I./os ./os/pl-option.c -o pl-option.o gcc -c -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 -I./os ./os/pl-nt.c -o pl-nt.o gcc -c -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 -I. -I./os ./os/pl-os.c -o pl-os.o ./os/pl-os.c: In function 'setRandom': ./os/pl-os.c:457:16: warning: variable 'seed' set but not used [-Wunused-but-set-variable] 457 | { unsigned int seed; | ^~~~ ./os/pl-os.c: At top level: ./os/pl-os.c:1704:1: warning: no previous prototype for 'PL_asctime_r' [-Wmissing-prototypes] 1704 | PL_asctime_r(const struct tm *tm, char *buf) | ^~~~~~~~~~~~ ./os/pl-os.c: In function 'System': ./os/pl-os.c:2330:3: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2330 | void (*old_int)(); | ^~~~ ./os/pl-os.c:2331:3: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2331 | void (*old_stop)(); | ^~~~ In file included from /usr/include/string.h:127, from ./H/pl-incl.h:159, from ./os/pl-os.c:43: In function 'PrologPath', inlined from 'expandVars' at ./os/pl-os.c:1246:16: ./os/pl-os.c:748:3: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 748 | { strncpy(buf, p, len); | ^~~~~~~ In function 'PrologPath', inlined from 'AbsoluteFile' at ./os/pl-os.c:1444:16: ./os/pl-os.c:748:3: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 748 | { strncpy(buf, p, len); | ^~~~~~~ In function 'PrologPath', inlined from 'findExecutable' at ./os/pl-os.c:2475:17: ./os/pl-os.c:748:3: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 748 | { strncpy(buf, p, len); | ^~~~~~~ gcc -c -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 -I. -I./os ./os/pl-privitf.c -o pl-privitf.o gcc -c -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 -I. -I./os ./os/pl-prologflag.c -o pl-prologflag.o gcc -c -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 -I. -I./os ./os/pl-read.c -o pl-read.o ./os/pl-read.c:347:1: warning: no previous prototype for 'Yap_setCurrentSourceLocation' [-Wmissing-prototypes] 347 | Yap_setCurrentSourceLocation(IOSTREAM **s) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -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 -I. -I./os ./os/pl-rl.c -o pl-rl.o In file included from /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/readline.h:37, from ./os/pl-rl.c:94: /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/rltypedefs.h:35:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 35 | typedef int Function () __attribute__((deprecated)); | ^~~~~~~ /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/rltypedefs.h:36:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 36 | typedef void VFunction () __attribute__((deprecated)); | ^~~~~~~ /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/rltypedefs.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | typedef char *CPFunction () __attribute__((deprecated)); | ^~~~~~~ /usr/pkgsrc/lang/yap/work/.buildlink/include/readline/rltypedefs.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 38 | typedef char **CPPFunction () __attribute__((deprecated)); | ^~~~~~~ ./os/pl-rl.c: In function 'Sread_readline': ./os/pl-rl.c:415:12: warning: unused variable 'oldclock' [-Wunused-variable] 415 | intptr_t oldclock = clock(); | ^~~~~~~~ gcc -c -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 -I. -I./os ./os/pl-stream.c -o pl-stream.o ./os/pl-stream.c: In function 'Sopen_file': ./os/pl-stream.c:2837:7: warning: variable 'wait' set but not used [-Wunused-but-set-variable] 2837 | int wait = TRUE; | ^~~~ gcc -c -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 -I. -I./os ./os/pl-string.c -o pl-string.o gcc -c -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 -I. -I./os ./os/pl-table.c -o pl-table.o gcc -c -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 -I. -I./os ./os/pl-tai.c -o pl-tai.o ./os/pl-tai.c: In function 'format_time': ./os/pl-tai.c:887:8: warning: implicit declaration of function 'PL_asctime_r'; did you mean 'asctime_r'? [-Wimplicit-function-declaration] 887 | PL_asctime_r(&ftm->tm, buf); | ^~~~~~~~~~~~ | asctime_r gcc -c -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 -I. -I./os ./os/pl-text.c -o pl-text.o gcc -c -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 -I. -I./os ./os/pl-utf8.c -o pl-utf8.o gcc -c -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 -I. -I./os ./os/pl-write.c -o pl-write.o gcc -c -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 -I. -I./os ./C/pl-yap.c -o pl-yap.o gcc -c -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/load_foreign.c -o load_foreign.o gcc -c -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/load_dl.c -o load_dl.o In file included from /usr/include/string.h:127, from C/load_dl.c:25: C/load_dl.c: In function 'LoadForeign': C/load_dl.c:151:7: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 151 | strncpy(LOCAL_FileNameBuf, AtomName(libs->name), YAP_FILENAME_MAX); | ^~~~~~~ gcc -c -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/load_dld.c -o load_dld.o gcc -c -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/load_dyld.c -o load_dyld.o gcc -c -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/load_none.c -o load_none.o gcc -c -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/load_aout.c -o load_aout.o gcc -c -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/load_aix.c -o load_aix.o gcc -c -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/load_dll.c -o load_dll.o gcc -c -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/load_shl.c -o load_shl.o gcc -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 -c ./C/c_interface.c -o c_interface.o ./C/c_interface.c:2238:12: warning: 'myputc' defined but not used [-Wunused-function] 2238 | static int myputc (wchar_t ch) | ^~~~~~ gcc -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 -c ./C/clause_list.c -o clause_list.o gcc -c -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 ./OPTYap/or.memory.c -o or.memory.o gcc -c -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 ./OPTYap/opt.init.c -o opt.init.o gcc -c -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 ./OPTYap/opt.preds.c -o opt.preds.o gcc -c -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 ./OPTYap/or.copy_engine.c -o or.copy_engine.o gcc -c -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 ./OPTYap/or.cow_engine.c -o or.cow_engine.o gcc -c -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 ./OPTYap/or.sba_engine.c -o or.sba_engine.o gcc -c -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 ./OPTYap/or.thread_engine.c -o or.thread_engine.o gcc -c -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 ./OPTYap/or.scheduler.c -o or.scheduler.o gcc -c -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 ./OPTYap/or.cut.c -o or.cut.o gcc -c -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 ./OPTYap/tab.tries.c -o tab.tries.o In file included from ./OPTYap/tab.tries.c:212: ./OPTYap/tab.tries.i: In function 'answer_search_global_trie_loop': ./OPTYap/tab.tries.i:1247:7: warning: variable 'in_pair' set but not used [-Wunused-but-set-variable] 1247 | int in_pair = 0; | ^~~~~~~ gcc -c -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 ./OPTYap/tab.completion.c -o tab.completion.o gcc -c -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 ./BEAM/eamamasm.c -o eamamasm.o gcc -c -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 ./BEAM/eam_showcode.c -o eam_showcode.o gcc -c -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 ./BEAM/eamindex.c -o eamindex.o gcc -c -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 ./BEAM/eam_am.c -o eam_am.o gcc -c -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 os/libtai/tai_add.c -o tai_add.o gcc -c -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 os/libtai/tai_now.c -o tai_now.o gcc -c -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 os/libtai/tai_pack.c -o tai_pack.o gcc -c -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 os/libtai/tai_sub.c -o tai_sub.o gcc -c -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 os/libtai/tai_unpack.c -o tai_unpack.o gcc -c -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 os/libtai/taia_add.c -o taia_add.o gcc -c -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 os/libtai/taia_approx.c -o taia_approx.o gcc -c -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 os/libtai/taia_fmtfrac.c -o taia_fmtfrac.o gcc -c -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 os/libtai/taia_frac.c -o taia_frac.o gcc -c -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 os/libtai/taia_half.c -o taia_half.o gcc -c -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 os/libtai/taia_less.c -o taia_less.o gcc -c -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 os/libtai/taia_now.c -o taia_now.o gcc -c -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 os/libtai/taia_pack.c -o taia_pack.o gcc -c -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 os/libtai/taia_sub.c -o taia_sub.o gcc -c -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 os/libtai/taia_tai.c -o taia_tai.o gcc -c -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 os/libtai/taia_unpack.c -o taia_unpack.o gcc -c -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 os/libtai/caldate_fmt.c -o caldate_fmt.o gcc -c -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 os/libtai/caldate_scan.c -o caldate_scan.o gcc -c -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 os/libtai/caldate_fmjd.c -o caldate_fmjd.o gcc -c -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 os/libtai/caldate_mjd.c -o caldate_mjd.o gcc -c -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 os/libtai/caldate_norm.c -o caldate_norm.o gcc -c -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 os/libtai/caldate_ster.c -o caldate_ster.o gcc -c -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 os/libtai/leapsecs_read.c -o leapsecs_read.o gcc -c -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 os/libtai/leapsecs_init.c -o leapsecs_init.o gcc -c -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 os/libtai/leapsecs_add.c -o leapsecs_add.o gcc -c -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 os/libtai/leapsecs_sub.c -o leapsecs_sub.o gcc -c -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 os/libtai/caltime_fmt.c -o caltime_fmt.o gcc -c -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 os/libtai/caltime_scan.c -o caltime_scan.o gcc -c -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 os/libtai/caltime_tai.c -o caltime_tai.o gcc -c -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 os/libtai/caltime_utc.c -o caltime_utc.o rm -f libYap.a ar rc libYap.a agc.o absmi.o adtdefs.o alloc.o amasm.o analyst.o arrays.o arith0.o arith1.o arith2.o attvar.o bignum.o bb.o cdmgr.o cmppreds.o compiler.o computils.o corout.o cut_c.o dbase.o dlmalloc.o errors.o eval.o exec.o exo.o globals.o gmp_support.o gprof.o grow.o heapgc.o index.o init.o inlines.o iopreds.o depth_bound.o mavar.o myddas_mysql.o myddas_odbc.o myddas_shared.o myddas_initialization.o myddas_util.o myddas_statistics.o myddas_top_level.o myddas_wkb2prolog.o modules.o other.o parser.o qlyr.o qlyw.o range.o save.o scanner.o sort.o stdpreds.o sysbits.o threads.o tracer.o udi.o unify.o userpreds.o utilpreds.o yap-args.o write.o blobs.o swi.o ypstdio.o pl-buffer.o pl-codelist.o pl-ctype.o pl-dtoa.o pl-error.o pl-file.o pl-files.o pl-fmt.o pl-glob.o pl-option.o pl-nt.o pl-os.o pl-privitf.o pl-prologflag.o pl-read.o pl-rl.o pl-stream.o pl-string.o pl-table.o pl-tai.o pl-text.o pl-utf8.o pl-write.o pl-yap.o load_foreign.o load_dl.o load_dld.o load_dyld.o load_none.o load_aout.o load_aix.o load_dll.o load_shl.o c_interface.o clause_list.o or.memory.o opt.init.o opt.preds.o or.copy_engine.o or.cow_engine.o or.sba_engine.o or.thread_engine.o or.scheduler.o or.cut.o tab.tries.o tab.completion.o eamamasm.o eam_showcode.o eamindex.o eam_am.o tai_add.o tai_now.o tai_pack.o tai_sub.o tai_unpack.o taia_add.o taia_approx.o taia_fmtfrac.o taia_frac.o taia_half.o taia_less.o taia_now.o taia_pack.o taia_sub.o taia_tai.o taia_unpack.o caldate_fmt.o caldate_scan.o caldate_fmjd.o caldate_mjd.o caldate_norm.o caldate_ster.o leapsecs_read.o leapsecs_init.o leapsecs_add.o leapsecs_sub.o caltime_fmt.o caltime_scan.o caltime_tai.o caltime_utc.o ranlib libYap.a gcc -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 -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o yap yap.o libYap.a -lgmp -lreadline -lresolv -lcrypt -lstdc++ -lm rm -f startup.yss echo "bootstrap('./pl/init.yap'). module(user). qsave_program('startup.yss')." | LD_LIBRARY_PATH=/usr/pkgsrc/lang/yap/work/yap-6.3.3 ./yap -b ./pl/boot.yap [prolog] % consulting ./pl/init.yap... % consulting errors.yap... % errors.yap consulted 0 bytes in 2 msecs % consulting lists.yap... % lists.yap consulted 0 bytes in 1 msecs % consulting consult.yap... % consult.yap consulted 0 bytes in 13 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/utils.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/utils.yap consulted 0 bytes in 8 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/control.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/control.yap consulted 0 bytes in 5 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/arith.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/arith.yap consulted 0 bytes in 5 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/directives.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/directives.yap consulted 0 bytes in 3 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/flags.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/flags.yap consulted 0 bytes in 15 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/yio.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/yio.yap consulted 0 bytes in 5 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/debug.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/debug.yap consulted 0 bytes in 10 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/checker.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/checker.yap consulted 0 bytes in 4 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/depth_bound.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/depth_bound.yap consulted 0 bytes in 0 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/grammar.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/grammar.yap consulted 0 bytes in 2 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/ground.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/ground.yap consulted 0 bytes in 0 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/listing.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/listing.yap consulted 0 bytes in 2 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/preds.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/preds.yap consulted 0 bytes in 13 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/modules.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/modules.yap consulted 0 bytes in 16 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/eval.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/eval.yap consulted 0 bytes in 4 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/signals.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/signals.yap consulted 0 bytes in 0 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/profile.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/profile.yap consulted 0 bytes in 0 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/callcount.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/callcount.yap consulted 0 bytes in 0 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/load_foreign.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/load_foreign.yap consulted 0 bytes in 2 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/setof.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/setof.yap consulted 0 bytes in 3 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/sort.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/sort.yap consulted 0 bytes in 2 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/statistics.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/statistics.yap consulted 0 bytes in 4 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/strict_iso.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/strict_iso.yap consulted 0 bytes in 5 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/tabling.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/tabling.yap consulted 0 bytes in 8 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/threads.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/threads.yap consulted 0 bytes in 21 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/eam.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/eam.yap consulted 0 bytes in 1 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/chtypes.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/chtypes.yap consulted 0 bytes in 0 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/yapor.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/yapor.yap consulted 0 bytes in 3 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/qly.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/qly.yap consulted 0 bytes in 8 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/udi.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/udi.yap consulted 0 bytes in 0 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/protect.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/protect.yap consulted 0 bytes in 2 msecs % consulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/arrays.yap % /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/arrays.yap consulted 0 bytes in 2 msecs % reconsulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/messages.yap % reconsulted /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/messages.yap in module $messages, 16 msec 0 bytes % reconsulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/hacks.yap... % reconsulted /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/hacks.yap in module $hacks, 5 msec 0 bytes % reconsulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/attributes.yap... % reconsulted /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/attributes.yap in module $attributes, 0 msec 0 bytes % reconsulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/corout.yap... % reconsulted /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/corout.yap in module $coroutining, 8 msec 0 bytes % reconsulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/dialect.yap... % reconsulted /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/dialect.yap in module dialect, 2 msec 0 bytes % reconsulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/history.pl... % reconsulted /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/history.pl in module $history, 0 msec 0 bytes % reconsulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/dbload.yap... % reconsulted /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/dbload.yap in module $db_load, 3 msec 0 bytes % reconsulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/swi.yap... % reconsulted /usr/pkgsrc/lang/yap/work/yap-6.3.3/pl/swi.yap in module $swi, 1 msec 0 bytes % reconsulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/LGPL/predopts.pl... % reconsulted /usr/pkgsrc/lang/yap/work/yap-6.3.3/LGPL/predopts.pl in module $predopts, 3 msec 0 bytes % reconsulting /usr/pkgsrc/lang/yap/work/yap-6.3.3/LGPL/menu.pl... % reconsulted /usr/pkgsrc/lang/yap/work/yap-6.3.3/LGPL/menu.pl in module $win_menu, 1 msec 0 bytes % ./pl/init.yap consulted 0 bytes in 257 msecs yes yes yes (cd library/lammpi; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/lammpi' gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/lammpi' (cd library/matrix; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/matrix' gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I../.. -I./../../include ./matrix.c -o matrix.o gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o matrix.so matrix.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/matrix' (cd library/random; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/random' gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I../.. -I./../../include ./yap_random.c -o yap_random.o gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o yap_random.so yap_random.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/random' (cd library/regex; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/regex' gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I../.. -I./../../include ./regexp.c -o regexp.o gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o regexp.so regexp.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap # regcomp.o regerror.o regfree.o regexec.o gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/regex' (cd library/rltree; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/rltree' gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I../.. -I./../../include ./yap_rl.c -o yaprl.o ./yap_rl.c:428:6: warning: no previous prototype for 'init_rl' [-Wmissing-prototypes] 428 | void init_rl(void){ | ^~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I../.. -I./../../include ./range_list.c -o range_list.o ./range_list.c: In function 'minus_rl': ./range_list.c:230:24: warning: self-comparison always evaluates to false [-Wtautological-compare] 230 | if (range1->range_max!=range1->range_max) | ^~ At top level: ./range_list.c:248:13: warning: 'print_nodes' defined but not used [-Wunused-function] 248 | static void print_nodes(RL_Tree* tree) { | ^~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o yap_rl.so yaprl.o range_list.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/rltree' # (cd LGPL/swi_console; /usr/pkg/bin/gmake) (cd library/system; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/system' gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I../.. -I./../../include ./sys.c -o sys.o ./sys.c:101:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 101 | time_t _daylight_() { time_t t = time(NULL); return localtime(&t)->tm_gmtoff; } | ^~~~~~~~~~ ./sys.c: In function 'p_sleep': ./sys.c:883:31: warning: variable 'usecs' set but not used [-Wunused-but-set-variable] 883 | unsigned long int secs = 0, usecs = 0, out; | ^~~~~ In file included from /usr/include/string.h:127, from ./sys.c:123: ./sys.c: In function 'p_mktemp': ./sys.c:475:3: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 475 | strncpy(tmp, s, BUF_SIZE); | ^~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o sys.so sys.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap ld: sys.o: in function `p_tmpnam': sys.c:(.text+0x37c): warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: sys.o: in function `p_mktemp': sys.c:(.text+0x44c): warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp() gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/system' (cd library/tries; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/tries' gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include ./core_tries.c -o core_tries.o ./core_tries.c: In function 'core_trie_load': ./core_tries.c:477:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 477 | int n; | ^ ./core_tries.c: In function 'traverse_and_load': ./core_tries.c:1393:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 1393 | int n; | ^ ./core_tries.c: In function 'trie_to_list_floats': ./core_tries.c:1776:79: warning: passing argument 3 of 'trie_to_list_floats_tag_low_32' from incompatible pointer type [-Wincompatible-pointer-types] 1776 | result = trie_to_list_floats_tag_low_32(result, TrNode_child(node), &tf.p, &tf.f); | ^~~~~ | | | volatile YAP_Term (*)[2] {aka volatile long unsigned int (*)[2]} ./core_tries.c:1728:90: note: expected 'volatile YAP_Term *' {aka 'volatile long unsigned int *'} but argument is of type 'volatile YAP_Term (*)[2]' {aka 'volatile long unsigned int (*)[2]'} 1728 | YAP_Term trie_to_list_floats_tag_low_32(YAP_Term result, TrNode node, volatile YAP_Term *p, volatile double *f) { | ~~~~~~~~~~~~~~~~~~~^ ./core_tries.c:1787:75: warning: passing argument 3 of 'trie_to_list_floats_tag_low_32' from incompatible pointer type [-Wincompatible-pointer-types] 1787 | result = trie_to_list_floats_tag_low_32(result, TrNode_child(node), &tf.p, &tf.f); | ^~~~~ | | | volatile YAP_Term (*)[2] {aka volatile long unsigned int (*)[2]} ./core_tries.c:1728:90: note: expected 'volatile YAP_Term *' {aka 'volatile long unsigned int *'} but argument is of type 'volatile YAP_Term (*)[2]' {aka 'volatile long unsigned int (*)[2]'} 1728 | YAP_Term trie_to_list_floats_tag_low_32(YAP_Term result, TrNode node, volatile YAP_Term *p, volatile double *f) { | ~~~~~~~~~~~~~~~~~~~^ In file included from ./core_tries.c:1799: ./core_tries.c: At top level: ./core_dbtries.c:908:10: warning: 'TRIE_DEPTH_BREADTH_OPT_COUNT' is static but used in inline function 'core_db_trie_get_optimization_level_count' which is not static 908 | return TRIE_DEPTH_BREADTH_OPT_COUNT[opt_level - 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:901:3: warning: 'CURRENT_TRIE_MODE' is static but used in inline function 'update_depth_breadth_trie' which is not static 901 | CURRENT_TRIE_MODE = BAK_CURRENT_TRIE_MODE; | ^~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_dbtries.c:889:25: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static 889 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:889:7: note: in expansion of macro 'INCREMENT_ENTRIES' 889 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:889:25: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static 889 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max' 83 | #define TrEngine_entries_max(X) ((X)->entries_max_used) | ^ ./core_dbtries.c:889:7: note: in expansion of macro 'INCREMENT_ENTRIES' 889 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:889:25: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static 889 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max' 83 | #define TrEngine_entries_max(X) ((X)->entries_max_used) | ^ ./core_dbtries.c:889:7: note: in expansion of macro 'INCREMENT_ENTRIES' 889 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:889:25: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static 889 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:889:7: note: in expansion of macro 'INCREMENT_ENTRIES' 889 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:889:25: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static 889 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:889:7: note: in expansion of macro 'INCREMENT_ENTRIES' 889 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:1799: ./core_dbtries.c:888:14: warning: 'trie_node_check_insert' is static but used in inline function 'update_depth_breadth_trie' which is not static 888 | node = trie_node_check_insert(node, t); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_dbtries.c:884:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static 884 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:884:9: note: in expansion of macro 'INCREMENT_ENTRIES' 884 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:884:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static 884 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max' 83 | #define TrEngine_entries_max(X) ((X)->entries_max_used) | ^ ./core_dbtries.c:884:9: note: in expansion of macro 'INCREMENT_ENTRIES' 884 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:884:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static 884 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max' 83 | #define TrEngine_entries_max(X) ((X)->entries_max_used) | ^ ./core_dbtries.c:884:9: note: in expansion of macro 'INCREMENT_ENTRIES' 884 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:884:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static 884 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:884:9: note: in expansion of macro 'INCREMENT_ENTRIES' 884 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:884:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static 884 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:884:9: note: in expansion of macro 'INCREMENT_ENTRIES' 884 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:1799: ./core_dbtries.c:883:16: warning: 'trie_node_check_insert' is static but used in inline function 'update_depth_breadth_trie' which is not static 883 | node = trie_node_check_insert(node, t); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:882:28: warning: 'LABEL_COUNTER' is static but used in inline function 'update_depth_breadth_trie' which is not static 882 | t = generate_label(LABEL_COUNTER); | ^~~~~~~~~~~~~ ./core_dbtries.c:881:9: warning: 'LABEL_COUNTER' is static but used in inline function 'update_depth_breadth_trie' which is not static 881 | LABEL_COUNTER += count; | ^~~~~~~~~~~~~ ./core_dbtries.c:875:12: warning: 'trie_node_check_insert' is static but used in inline function 'update_depth_breadth_trie' which is not static 875 | node = trie_node_check_insert(node, PairEndTag); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:871:9: warning: 'remove_child_nodes' is static but used in inline function 'update_depth_breadth_trie' which is not static 871 | remove_child_nodes(TrNode_child(node)); | ^~~~~~~~~~~~~~~~~~ ./core_dbtries.c:870:30: warning: 'copy_child_nodes' is static but used in inline function 'update_depth_breadth_trie' which is not static 870 | TrNode_child(root) = copy_child_nodes(root, TrNode_child(node)); | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:869:16: warning: 'trie_node_check_insert' is static but used in inline function 'update_depth_breadth_trie' which is not static 869 | root = trie_node_check_insert(root, t); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:867:9: warning: 'TRIE_DEPTH_BREADTH_OPT_COUNT' is static but used in inline function 'update_depth_breadth_trie' which is not static 867 | TRIE_DEPTH_BREADTH_OPT_COUNT[1]++; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:866:104: warning: 'TRIE_DEPTH_BREADTH_MIN_PREFIX' is static but used in inline function 'update_depth_breadth_trie' which is not static 866 | if ((TrNode_child(node) != NULL) && (TrNode_entry(TrNode_child(node)) != PairEndTag) && (count > TRIE_DEPTH_BREADTH_MIN_PREFIX - 2)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:854:31: warning: 'stack_args' is static but used in inline function 'update_depth_breadth_trie' which is not static 854 | } while (stack_args_base != stack_args); | ^~~~~~~~~~ ./core_dbtries.c:854:12: warning: 'stack_args_base' is static but used in inline function 'update_depth_breadth_trie' which is not static 854 | } while (stack_args_base != stack_args); | ^~~~~~~~~~~~~~~ ./core_dbtries.c:846:11: warning: 'TRIE_DEPTH_BREADTH_OPT_COUNT' is static but used in inline function 'update_depth_breadth_trie' which is not static 846 | TRIE_DEPTH_BREADTH_OPT_COUNT[2]++; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:845:11: warning: 'TRIE_DEPTH_BREADTH_OPT_COUNT' is static but used in inline function 'update_depth_breadth_trie' which is not static 845 | TRIE_DEPTH_BREADTH_OPT_COUNT[1]--; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:844:55: warning: 'TRIE_DEPTH_BREADTH_MIN_PREFIX' is static but used in inline function 'update_depth_breadth_trie' which is not static 844 | if ((remember == NULL) && (cnt > 0) && (cnt > TRIE_DEPTH_BREADTH_MIN_PREFIX - 2)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:831:11: warning: 'CURRENT_TRIE_MODE' is static but used in inline function 'update_depth_breadth_trie' which is not static 831 | CURRENT_TRIE_MODE = TRIE_MODE_MINIMAL; | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:830:18: warning: 'trie_node_check_insert' is static but used in inline function 'update_depth_breadth_trie' which is not static 830 | node = trie_node_check_insert(TrNode_parent(node), t); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:829:11: warning: 'CURRENT_TRIE_MODE' is static but used in inline function 'update_depth_breadth_trie' which is not static 829 | CURRENT_TRIE_MODE = TRIE_MODE_STANDARD; | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:822:18: warning: 'trie_node_check_insert' is static but used in inline function 'update_depth_breadth_trie' which is not static 822 | node = trie_node_check_insert(node, t); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:819:18: warning: 'trie_node_check_insert' is static but used in inline function 'update_depth_breadth_trie' which is not static 819 | node = trie_node_check_insert(root, TrNode_entry(TrNode_child(node))); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:816:11: warning: 'TRIE_DEPTH_BREADTH_OPT_COUNT' is static but used in inline function 'update_depth_breadth_trie' which is not static 816 | TRIE_DEPTH_BREADTH_OPT_COUNT[0]++; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:815:21: warning: 'TRIE_DEPTH_BREADTH_MIN_PREFIX' is static but used in inline function 'update_depth_breadth_trie' which is not static 815 | if (count > TRIE_DEPTH_BREADTH_MIN_PREFIX - 2) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:812:9: warning: 'stack_args' is static but used in inline function 'update_depth_breadth_trie' which is not static 812 | stack_args += c_cnt; | ^~~~~~~~~~ ./core_dbtries.c:793:22: warning: 'trie_node_check' is static but used in inline function 'update_depth_breadth_trie' which is not static 793 | c_node = trie_node_check(c_node, tt); | ^~~~~~~~~~~~~~~ ./core_dbtries.c:792:24: warning: 'trie_node_check' is static but used in inline function 'update_depth_breadth_trie' which is not static 792 | end_node = trie_node_check(c_node, PairEndTag); | ^~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_dbtries.c:791:25: warning: 'stack_args' is static but used in inline function 'update_depth_breadth_trie' which is not static 791 | tt = POP_UP(stack_args); | ^~~~~~~~~~ ./core_tries.h:154:47: note: in definition of macro 'POP_UP' 154 | #define POP_UP(STACK) *--STACK | ^~~~~ In file included from ./core_tries.c:1799: ./core_dbtries.c:789:34: warning: 'stack_args' is static but used in inline function 'update_depth_breadth_trie' which is not static 789 | if (stack_args_base != stack_args) { | ^~~~~~~~~~ ./core_dbtries.c:789:15: warning: 'stack_args_base' is static but used in inline function 'update_depth_breadth_trie' which is not static 789 | if (stack_args_base != stack_args) { | ^~~~~~~~~~~~~~~ ./core_dbtries.c:785:25: warning: 'trie_node_check' is static but used in inline function 'update_depth_breadth_trie' which is not static 785 | TrNode c_node = trie_node_check(TrNode_parent(node), t), end_node; | ^~~~~~~~~~~~~~~ ./core_dbtries.c:778:12: warning: 'trie_node_check_insert' is static but used in inline function 'update_depth_breadth_trie' which is not static 778 | node = trie_node_check_insert(node, t); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_dbtries.c:777:16: warning: 'stack_args' is static but used in inline function 'update_depth_breadth_trie' which is not static 777 | t = POP_UP(stack_args); | ^~~~~~~~~~ ./core_tries.h:154:47: note: in definition of macro 'POP_UP' 154 | #define POP_UP(STACK) *--STACK | ^~~~~ In file included from ./core_tries.c:1799: ./core_dbtries.c:775:3: warning: 'DATA_COPY_FUNCTION' is static but used in inline function 'update_depth_breadth_trie' which is not static 775 | DATA_COPY_FUNCTION = copy_function; | ^~~~~~~~~~~~~~~~~~ ./core_dbtries.c:774:3: warning: 'DATA_DESTRUCT_FUNCTION' is static but used in inline function 'update_depth_breadth_trie' which is not static 774 | DATA_DESTRUCT_FUNCTION = destruct_function; | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:773:3: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static 773 | CURRENT_TRIE_ENGINE = engine; | ^~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:772:5: warning: 'CURRENT_TRIE_MODE' is static but used in inline function 'update_depth_breadth_trie' which is not static 772 | CURRENT_TRIE_MODE = TRIE_MODE_STANDARD; | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:770:5: warning: 'CURRENT_TRIE_MODE' is static but used in inline function 'update_depth_breadth_trie' which is not static 770 | CURRENT_TRIE_MODE = TRIE_MODE_MINIMAL; | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:767:35: warning: 'CURRENT_TRIE_MODE' is static but used in inline function 'update_depth_breadth_trie' which is not static 767 | YAP_Int BAK_CURRENT_TRIE_MODE = CURRENT_TRIE_MODE; | ^~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_dbtries.c:702:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static 702 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:702:3: note: in expansion of macro 'INCREMENT_ENTRIES' 702 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:702:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static 702 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max' 83 | #define TrEngine_entries_max(X) ((X)->entries_max_used) | ^ ./core_dbtries.c:702:3: note: in expansion of macro 'INCREMENT_ENTRIES' 702 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:702:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static 702 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max' 83 | #define TrEngine_entries_max(X) ((X)->entries_max_used) | ^ ./core_dbtries.c:702:3: note: in expansion of macro 'INCREMENT_ENTRIES' 702 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:702:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static 702 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:702:3: note: in expansion of macro 'INCREMENT_ENTRIES' 702 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:702:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static 702 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:702:3: note: in expansion of macro 'INCREMENT_ENTRIES' 702 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:1799: ./core_dbtries.c:701:10: warning: 'trie_node_check_insert' is static but used in inline function 'core_breadth_reduction' which is not static 701 | node = trie_node_check_insert(node, PairEndTag); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:700:10: warning: 'trie_node_check_insert' is static but used in inline function 'core_breadth_reduction' which is not static 700 | node = trie_node_check_insert(node, t); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:698:3: warning: 'remove_child_nodes' is static but used in inline function 'core_breadth_reduction' which is not static 698 | remove_child_nodes(TrNode_child(node)); | ^~~~~~~~~~~~~~~~~~ ./core_dbtries.c:697:3: warning: 'DATA_DESTRUCT_FUNCTION' is static but used in inline function 'core_breadth_reduction' which is not static 697 | DATA_DESTRUCT_FUNCTION = destruct_function; | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:689:5: warning: 'remove_child_nodes' is static but used in inline function 'core_breadth_reduction' which is not static 689 | remove_child_nodes(TrNode_child(node)); | ^~~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_dbtries.c:673:21: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 673 | PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top); | ^~~~~~~~~~ ./core_tries.h:172:11: note: in definition of macro 'PUSH_DOWN' 172 | STACK++; \ | ^~~~~ ./core_dbtries.c:673:21: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 673 | PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top); | ^~~~~~~~~~ ./core_tries.h:171:12: note: in definition of macro 'PUSH_DOWN' 171 | *STACK = (YAP_Term)(ITEM); \ | ^~~~~ ./core_dbtries.c:673:21: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 673 | PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top); | ^~~~~~~~~~ ./core_tries.h:166:15: note: in definition of macro 'PUSH_DOWN' 166 | { if (STACK > STACK_TOP) { \ | ^~~~~ ./core_dbtries.c:668:17: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 668 | PUSH_DOWN(stack_args, TrNode_entry(child), stack_top); | ^~~~~~~~~~ ./core_tries.h:172:11: note: in definition of macro 'PUSH_DOWN' 172 | STACK++; \ | ^~~~~ ./core_dbtries.c:668:17: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 668 | PUSH_DOWN(stack_args, TrNode_entry(child), stack_top); | ^~~~~~~~~~ ./core_tries.h:171:12: note: in definition of macro 'PUSH_DOWN' 171 | *STACK = (YAP_Term)(ITEM); \ | ^~~~~ ./core_dbtries.c:668:17: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 668 | PUSH_DOWN(stack_args, TrNode_entry(child), stack_top); | ^~~~~~~~~~ ./core_tries.h:166:15: note: in definition of macro 'PUSH_DOWN' 166 | { if (STACK > STACK_TOP) { \ | ^~~~~ In file included from ./core_tries.c:18: ./core_dbtries.c:622:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static 622 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:622:9: note: in expansion of macro 'INCREMENT_ENTRIES' 622 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:622:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static 622 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max' 83 | #define TrEngine_entries_max(X) ((X)->entries_max_used) | ^ ./core_dbtries.c:622:9: note: in expansion of macro 'INCREMENT_ENTRIES' 622 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:622:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static 622 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max' 83 | #define TrEngine_entries_max(X) ((X)->entries_max_used) | ^ ./core_dbtries.c:622:9: note: in expansion of macro 'INCREMENT_ENTRIES' 622 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:622:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static 622 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:622:9: note: in expansion of macro 'INCREMENT_ENTRIES' 622 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:622:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static 622 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:622:9: note: in expansion of macro 'INCREMENT_ENTRIES' 622 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:1799: ./core_dbtries.c:621:16: warning: 'trie_node_check_insert' is static but used in inline function 'core_breadth_reduction' which is not static 621 | node = trie_node_check_insert(node, PairEndTag); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:619:9: warning: 'remove_child_nodes' is static but used in inline function 'core_breadth_reduction' which is not static 619 | remove_child_nodes(TrNode_child(node)); | ^~~~~~~~~~~~~~~~~~ ./core_dbtries.c:618:9: warning: 'DATA_DESTRUCT_FUNCTION' is static but used in inline function 'core_breadth_reduction' which is not static 618 | DATA_DESTRUCT_FUNCTION = destruct_function; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_dbtries.c:603:25: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 603 | PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top); | ^~~~~~~~~~ ./core_tries.h:172:11: note: in definition of macro 'PUSH_DOWN' 172 | STACK++; \ | ^~~~~ ./core_dbtries.c:603:25: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 603 | PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top); | ^~~~~~~~~~ ./core_tries.h:171:12: note: in definition of macro 'PUSH_DOWN' 171 | *STACK = (YAP_Term)(ITEM); \ | ^~~~~ ./core_dbtries.c:603:25: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 603 | PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top); | ^~~~~~~~~~ ./core_tries.h:166:15: note: in definition of macro 'PUSH_DOWN' 166 | { if (STACK > STACK_TOP) { \ | ^~~~~ ./core_dbtries.c:598:21: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 598 | PUSH_DOWN(stack_args, TrNode_entry(child), stack_top); | ^~~~~~~~~~ ./core_tries.h:172:11: note: in definition of macro 'PUSH_DOWN' 172 | STACK++; \ | ^~~~~ ./core_dbtries.c:598:21: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 598 | PUSH_DOWN(stack_args, TrNode_entry(child), stack_top); | ^~~~~~~~~~ ./core_tries.h:171:12: note: in definition of macro 'PUSH_DOWN' 171 | *STACK = (YAP_Term)(ITEM); \ | ^~~~~ ./core_dbtries.c:598:21: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 598 | PUSH_DOWN(stack_args, TrNode_entry(child), stack_top); | ^~~~~~~~~~ ./core_tries.h:166:15: note: in definition of macro 'PUSH_DOWN' 166 | { if (STACK > STACK_TOP) { \ | ^~~~~ In file included from ./core_tries.c:1799: ./core_dbtries.c:540:38: warning: 'CURRENT_AUXILIARY_TERM_STACK_SIZE' is static but used in inline function 'core_breadth_reduction' which is not static 540 | stack_top = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:540:15: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_breadth_reduction' which is not static 540 | stack_top = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:539:34: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_breadth_reduction' which is not static 539 | stack_args_base = stack_args = AUXILIARY_TERM_STACK; | ^~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:539:21: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static 539 | stack_args_base = stack_args = AUXILIARY_TERM_STACK; | ^~~~~~~~~~ ./core_dbtries.c:539:3: warning: 'stack_args_base' is static but used in inline function 'core_breadth_reduction' which is not static 539 | stack_args_base = stack_args = AUXILIARY_TERM_STACK; | ^~~~~~~~~~~~~~~ ./core_dbtries.c:528:3: warning: 'remove_entry' is static but used in inline function 'core_depth_reduction' which is not static 528 | remove_entry(temp); | ^~~~~~~~~~~~ ./core_dbtries.c:527:3: warning: 'remove_child_nodes' is static but used in inline function 'core_depth_reduction' which is not static 527 | remove_child_nodes(TrNode_child(temp)); | ^~~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_dbtries.c:525:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_depth_reduction' which is not static 525 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:525:3: note: in expansion of macro 'INCREMENT_ENTRIES' 525 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:525:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_depth_reduction' which is not static 525 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max' 83 | #define TrEngine_entries_max(X) ((X)->entries_max_used) | ^ ./core_dbtries.c:525:3: note: in expansion of macro 'INCREMENT_ENTRIES' 525 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:525:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_depth_reduction' which is not static 525 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max' 83 | #define TrEngine_entries_max(X) ((X)->entries_max_used) | ^ ./core_dbtries.c:525:3: note: in expansion of macro 'INCREMENT_ENTRIES' 525 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:525:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_depth_reduction' which is not static 525 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:525:3: note: in expansion of macro 'INCREMENT_ENTRIES' 525 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:525:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_depth_reduction' which is not static 525 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_dbtries.c:525:3: note: in expansion of macro 'INCREMENT_ENTRIES' 525 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:1799: ./core_dbtries.c:524:10: warning: 'trie_node_check_insert' is static but used in inline function 'core_depth_reduction' which is not static 524 | node = trie_node_check_insert(node, PairEndTag); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:523:10: warning: 'trie_node_check_insert' is static but used in inline function 'core_depth_reduction' which is not static 523 | node = trie_node_check_insert(TrNode_parent(node), t); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:522:3: warning: 'DATA_DESTRUCT_FUNCTION' is static but used in inline function 'core_depth_reduction' which is not static 522 | DATA_DESTRUCT_FUNCTION = destruct_function; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_dbtries.c:494:15: warning: 'stack_args' is static but used in inline function 'core_depth_reduction' which is not static 494 | PUSH_DOWN(stack_args, TrNode_entry(node), stack_top); | ^~~~~~~~~~ ./core_tries.h:172:11: note: in definition of macro 'PUSH_DOWN' 172 | STACK++; \ | ^~~~~ ./core_dbtries.c:494:15: warning: 'stack_args' is static but used in inline function 'core_depth_reduction' which is not static 494 | PUSH_DOWN(stack_args, TrNode_entry(node), stack_top); | ^~~~~~~~~~ ./core_tries.h:171:12: note: in definition of macro 'PUSH_DOWN' 171 | *STACK = (YAP_Term)(ITEM); \ | ^~~~~ ./core_dbtries.c:494:15: warning: 'stack_args' is static but used in inline function 'core_depth_reduction' which is not static 494 | PUSH_DOWN(stack_args, TrNode_entry(node), stack_top); | ^~~~~~~~~~ ./core_tries.h:166:15: note: in definition of macro 'PUSH_DOWN' 166 | { if (STACK > STACK_TOP) { \ | ^~~~~ ./core_dbtries.c:486:15: warning: 'stack_args' is static but used in inline function 'core_depth_reduction' which is not static 486 | PUSH_DOWN(stack_args, TrNode_entry(node), stack_top); | ^~~~~~~~~~ ./core_tries.h:172:11: note: in definition of macro 'PUSH_DOWN' 172 | STACK++; \ | ^~~~~ ./core_dbtries.c:486:15: warning: 'stack_args' is static but used in inline function 'core_depth_reduction' which is not static 486 | PUSH_DOWN(stack_args, TrNode_entry(node), stack_top); | ^~~~~~~~~~ ./core_tries.h:171:12: note: in definition of macro 'PUSH_DOWN' 171 | *STACK = (YAP_Term)(ITEM); \ | ^~~~~ ./core_dbtries.c:486:15: warning: 'stack_args' is static but used in inline function 'core_depth_reduction' which is not static 486 | PUSH_DOWN(stack_args, TrNode_entry(node), stack_top); | ^~~~~~~~~~ ./core_tries.h:166:15: note: in definition of macro 'PUSH_DOWN' 166 | { if (STACK > STACK_TOP) { \ | ^~~~~ In file included from ./core_tries.c:1799: ./core_dbtries.c:474:38: warning: 'CURRENT_AUXILIARY_TERM_STACK_SIZE' is static but used in inline function 'core_depth_reduction' which is not static 474 | stack_top = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:474:15: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_depth_reduction' which is not static 474 | stack_top = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:473:34: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_depth_reduction' which is not static 473 | stack_args_base = stack_args = AUXILIARY_TERM_STACK; | ^~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:473:21: warning: 'stack_args' is static but used in inline function 'core_depth_reduction' which is not static 473 | stack_args_base = stack_args = AUXILIARY_TERM_STACK; | ^~~~~~~~~~ ./core_dbtries.c:473:3: warning: 'stack_args_base' is static but used in inline function 'core_depth_reduction' which is not static 473 | stack_args_base = stack_args = AUXILIARY_TERM_STACK; | ^~~~~~~~~~~~~~~ ./core_dbtries.c:462:3: warning: 'remove_entry' is static but used in inline function 'core_finalize_depth_breadth_trie' which is not static 462 | remove_entry(breadth_node); | ^~~~~~~~~~~~ ./core_dbtries.c:461:18: warning: 'trie_node_check_insert' is static but used in inline function 'core_finalize_depth_breadth_trie' which is not static 461 | breadth_node = trie_node_check_insert(breadth_node, YAP_MkIntTerm(1)); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:460:18: warning: 'trie_node_check_insert' is static but used in inline function 'core_finalize_depth_breadth_trie' which is not static 460 | breadth_node = trie_node_check_insert(breadth_node, PairEndTag); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:459:18: warning: 'trie_node_check_insert' is static but used in inline function 'core_finalize_depth_breadth_trie' which is not static 459 | breadth_node = trie_node_check_insert(breadth_node, YAP_MkIntTerm(1)); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:458:3: warning: 'remove_entry' is static but used in inline function 'core_finalize_depth_breadth_trie' which is not static 458 | remove_entry(depth_node); | ^~~~~~~~~~~~ ./core_dbtries.c:457:16: warning: 'trie_node_check_insert' is static but used in inline function 'core_finalize_depth_breadth_trie' which is not static 457 | depth_node = trie_node_check_insert(depth_node, YAP_MkIntTerm(1)); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:456:16: warning: 'trie_node_check_insert' is static but used in inline function 'core_finalize_depth_breadth_trie' which is not static 456 | depth_node = trie_node_check_insert(depth_node, PairEndTag); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:455:16: warning: 'trie_node_check_insert' is static but used in inline function 'core_finalize_depth_breadth_trie' which is not static 455 | depth_node = trie_node_check_insert(depth_node, YAP_MkIntTerm(1)); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:448:3: warning: 'TRIE_DEPTH_BREADTH_OPT_COUNT' is static but used in inline function 'core_initialize_depth_breadth_trie' which is not static 448 | TRIE_DEPTH_BREADTH_OPT_COUNT[2] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:447:3: warning: 'TRIE_DEPTH_BREADTH_OPT_COUNT' is static but used in inline function 'core_initialize_depth_breadth_trie' which is not static 447 | TRIE_DEPTH_BREADTH_OPT_COUNT[1] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:446:3: warning: 'TRIE_DEPTH_BREADTH_OPT_COUNT' is static but used in inline function 'core_initialize_depth_breadth_trie' which is not static 446 | TRIE_DEPTH_BREADTH_OPT_COUNT[0] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:445:19: warning: 'trie_node_check_insert' is static but used in inline function 'core_initialize_depth_breadth_trie' which is not static 445 | *breadth_node = trie_node_check_insert(node, PairInitTag); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:444:10: warning: 'trie_node_check_insert' is static but used in inline function 'core_initialize_depth_breadth_trie' which is not static 444 | node = trie_node_check_insert(root, ApplTag | ((YAP_Term) f)); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:442:17: warning: 'trie_node_check_insert' is static but used in inline function 'core_initialize_depth_breadth_trie' which is not static 442 | *depth_node = trie_node_check_insert(node, PairInitTag); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:441:10: warning: 'trie_node_check_insert' is static but used in inline function 'core_initialize_depth_breadth_trie' which is not static 441 | node = trie_node_check_insert(root, ApplTag | ((YAP_Term) f)); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:433:10: warning: 'LABEL_COUNTER' is static but used in inline function 'core_get_label_counter' which is not static 433 | return LABEL_COUNTER; | ^~~~~~~~~~~~~ ./core_dbtries.c:427:3: warning: 'LABEL_COUNTER' is static but used in inline function 'core_set_label_counter' which is not static 427 | LABEL_COUNTER = value; // Initialize the counter | ^~~~~~~~~~~~~ ./core_dbtries.c:420:3: warning: 'TRIE_DEPTH_BREADTH_RETURN_TERM' is static but used in inline function 'core_set_trie_db_return_term' which is not static 420 | TRIE_DEPTH_BREADTH_RETURN_TERM = return_value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:414:10: warning: 'TRIE_DEPTH_BREADTH_RETURN_TERM' is static but used in inline function 'core_get_trie_db_return_term' which is not static 414 | return TRIE_DEPTH_BREADTH_RETURN_TERM; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:407:3: warning: 'remove_entry' is static but used in inline function 'replace_nested_trie' which is not static 407 | remove_entry(child); | ^~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node' 381 | new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node' 381 | new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node' 381 | new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node' 381 | new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node' 381 | new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node' 381 | new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max' 84 | #define TrEngine_nodes_max(X) ((X)->nodes_max_used) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node' 381 | new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max' 84 | #define TrEngine_nodes_max(X) ((X)->nodes_max_used) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node' 381 | new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node' 381 | new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node' 381 | new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node' 376 | new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node' 376 | new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node' 376 | new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node' 376 | new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node' 376 | new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node' 376 | new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max' 84 | #define TrEngine_nodes_max(X) ((X)->nodes_max_used) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node' 376 | new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max' 84 | #define TrEngine_nodes_max(X) ((X)->nodes_max_used) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node' 376 | new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node' 376 | new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node' 376 | new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node' 372 | new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node' 372 | new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node' 372 | new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node' 372 | new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node' 372 | new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node' 372 | new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max' 84 | #define TrEngine_nodes_max(X) ((X)->nodes_max_used) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node' 372 | new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max' 84 | #define TrEngine_nodes_max(X) ((X)->nodes_max_used) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node' 372 | new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node' 372 | new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node' 372 | new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); | ^~~~~~~~~~~~~ In file included from ./core_tries.c:1799: ./core_dbtries.c:240:3: warning: 'TRIE_DEPTH_BREADTH_MIN_PREFIX' is static but used in inline function 'core_set_trie_db_opt_min_prefix' which is not static 240 | TRIE_DEPTH_BREADTH_MIN_PREFIX = min_prefix; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:234:10: warning: 'TRIE_DEPTH_BREADTH_MIN_PREFIX' is static but used in inline function 'core_get_trie_db_opt_min_prefix' which is not static 234 | return TRIE_DEPTH_BREADTH_MIN_PREFIX; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:592:12: warning: 'trie_to_list' is static but used in inline function 'core_trie_to_list' which is not static 592 | return trie_to_list(root); | ^~~~~~~~~~~~ ./core_tries.c:583:3: warning: 'TRIE_DISABLE_HASH_TABLE' is static but used in inline function 'core_enable_hash_table' which is not static 583 | TRIE_DISABLE_HASH_TABLE = 0; | ^~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:577:3: warning: 'TRIE_DISABLE_HASH_TABLE' is static but used in inline function 'core_disable_hash_table' which is not static 577 | TRIE_DISABLE_HASH_TABLE = 1; | ^~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:567:5: warning: 'traverse_and_print' is static but used in inline function 'core_trie_print' which is not static 567 | traverse_and_print(TrNode_child(node), arity, str, 0, TRIE_PRINT_NORMAL); | ^~~~~~~~~~~~~~~~~~ ./core_tries.c:562:3: warning: 'DATA_PRINT_FUNCTION' is static but used in inline function 'core_trie_print' which is not static 562 | DATA_PRINT_FUNCTION = print_function; | ^~~~~~~~~~~~~~~~~~~ ./core_tries.c:555:20: warning: 'USAGE_VIRTUAL_NODES' is static but used in inline function 'core_trie_usage' which is not static 555 | *virtual_nodes = USAGE_VIRTUAL_NODES; | ^~~~~~~~~~~~~~~~~~~ ./core_tries.c:554:12: warning: 'USAGE_NODES' is static but used in inline function 'core_trie_usage' which is not static 554 | *nodes = USAGE_NODES; | ^~~~~~~~~~~ ./core_tries.c:553:14: warning: 'USAGE_ENTRIES' is static but used in inline function 'core_trie_usage' which is not static 553 | *entries = USAGE_ENTRIES; | ^~~~~~~~~~~~~ ./core_tries.c:552:5: warning: 'traverse_and_get_usage' is static but used in inline function 'core_trie_usage' which is not static 552 | traverse_and_get_usage(TrNode_child(node), 0); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:550:3: warning: 'USAGE_VIRTUAL_NODES' is static but used in inline function 'core_trie_usage' which is not static 550 | USAGE_VIRTUAL_NODES = 0; | ^~~~~~~~~~~~~~~~~~~ ./core_tries.c:549:3: warning: 'USAGE_NODES' is static but used in inline function 'core_trie_usage' which is not static 549 | USAGE_NODES = 0; | ^~~~~~~~~~~ ./core_tries.c:548:3: warning: 'USAGE_ENTRIES' is static but used in inline function 'core_trie_usage' which is not static 548 | USAGE_ENTRIES = 0; | ^~~~~~~~~~~~~ ./core_tries.c:521:3: warning: 'traverse_and_load' is static but used in inline function 'core_trie_load' which is not static 521 | traverse_and_load(node, file); | ^~~~~~~~~~~~~~~~~ ./core_tries.c:519:3: warning: 'DATA_LOAD_FUNCTION' is static but used in inline function 'core_trie_load' which is not static 519 | DATA_LOAD_FUNCTION = load_function; | ^~~~~~~~~~~~~~~~~~ ./core_tries.c:518:3: warning: 'CURRENT_DEPTH' is static but used in inline function 'core_trie_load' which is not static 518 | CURRENT_DEPTH = 0; | ^~~~~~~~~~~~~ ./core_tries.c:517:3: warning: 'CURRENT_INDEX' is static but used in inline function 'core_trie_load' which is not static 517 | CURRENT_INDEX = -1; | ^~~~~~~~~~~~~ ./core_tries.c:516:3: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_load' which is not static 516 | CURRENT_TRIE_ENGINE = engine; | ^~~~~~~~~~~~~~~~~~~ ./core_tries.c:508:5: warning: 'CURRENT_LOAD_VERSION' is static but used in inline function 'core_trie_load' which is not static 508 | CURRENT_LOAD_VERSION = 1; | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.c:495:5: warning: 'CURRENT_LOAD_VERSION' is static but used in inline function 'core_trie_load' which is not static 495 | CURRENT_LOAD_VERSION = 2; | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.c:464:5: warning: 'traverse_and_save' is static but used in inline function 'core_trie_save' which is not static 464 | traverse_and_save(TrNode_child(node), file, 0); | ^~~~~~~~~~~~~~~~~ ./core_tries.c:461:3: warning: 'DATA_SAVE_FUNCTION' is static but used in inline function 'core_trie_save' which is not static 461 | DATA_SAVE_FUNCTION = save_function; | ^~~~~~~~~~~~~~~~~~ ./core_tries.c:460:3: warning: 'CURRENT_INDEX' is static but used in inline function 'core_trie_save' which is not static 460 | CURRENT_INDEX = -1; | ^~~~~~~~~~~~~ ./core_tries.c:453:15: warning: 'traverse_and_count_common_entries' is static but used in inline function 'core_trie_count_intersect' which is not static 453 | count = traverse_and_count_common_entries(node1, node2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:442:14: warning: 'traverse_and_count_entries' is static but used in inline function 'core_trie_count_join' which is not static 442 | count += traverse_and_count_entries(TrNode_child(node2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:439:16: warning: 'traverse_and_count_common_entries' is static but used in inline function 'core_trie_count_join' which is not static 439 | count -= traverse_and_count_common_entries(node1, node2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:438:16: warning: 'traverse_and_count_entries' is static but used in inline function 'core_trie_count_join' which is not static 438 | count += traverse_and_count_entries(TrNode_child(node2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:436:14: warning: 'traverse_and_count_entries' is static but used in inline function 'core_trie_count_join' which is not static 436 | count += traverse_and_count_entries(TrNode_child(node1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:423:7: warning: 'remove_child_nodes' is static but used in inline function 'core_trie_intersect' which is not static 423 | remove_child_nodes(TrNode_child(node_dest)); | ^~~~~~~~~~~~~~~~~~ ./core_tries.c:421:7: warning: 'traverse_and_intersect' is static but used in inline function 'core_trie_intersect' which is not static 421 | traverse_and_intersect(node_dest, node_source); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:418:3: warning: 'DATA_DESTRUCT_FUNCTION' is static but used in inline function 'core_trie_intersect' which is not static 418 | DATA_DESTRUCT_FUNCTION = destruct_function; | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:417:3: warning: 'DATA_ADD_FUNCTION' is static but used in inline function 'core_trie_intersect' which is not static 417 | DATA_ADD_FUNCTION = add_function; | ^~~~~~~~~~~~~~~~~ ./core_tries.c:416:3: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_intersect' which is not static 416 | CURRENT_TRIE_ENGINE = engine; | ^~~~~~~~~~~~~~~~~~~ ./core_tries.c:409:31: warning: 'copy_child_nodes' is static but used in inline function 'core_trie_join' which is not static 409 | TrNode_child(node_dest) = copy_child_nodes(node_dest, TrNode_child(node_source)); | ^~~~~~~~~~~~~~~~ ./core_tries.c:407:7: warning: 'traverse_and_join' is static but used in inline function 'core_trie_join' which is not static 407 | traverse_and_join(node_dest, node_source); | ^~~~~~~~~~~~~~~~~ ./core_tries.c:404:3: warning: 'DATA_COPY_FUNCTION' is static but used in inline function 'core_trie_join' which is not static 404 | DATA_COPY_FUNCTION = copy_function; | ^~~~~~~~~~~~~~~~~~ ./core_tries.c:403:3: warning: 'DATA_ADD_FUNCTION' is static but used in inline function 'core_trie_join' which is not static 403 | DATA_ADD_FUNCTION = add_function; | ^~~~~~~~~~~~~~~~~ ./core_tries.c:402:3: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_join' which is not static 402 | CURRENT_TRIE_ENGINE = engine; | ^~~~~~~~~~~~~~~~~~~ ./core_tries.c:395:5: warning: 'traverse_and_add' is static but used in inline function 'core_trie_add' which is not static 395 | traverse_and_add(node_dest, node_source); | ^~~~~~~~~~~~~~~~ ./core_tries.c:393:3: warning: 'DATA_ADD_FUNCTION' is static but used in inline function 'core_trie_add' which is not static 393 | DATA_ADD_FUNCTION = add_function; | ^~~~~~~~~~~~~~~~~ ./core_tries.c:386:3: warning: 'remove_entry' is static but used in inline function 'core_trie_remove_subtree' which is not static 386 | remove_entry(parent); | ^~~~~~~~~~~~ ./core_tries.c:385:3: warning: 'remove_child_nodes' is static but used in inline function 'core_trie_remove_subtree' which is not static 385 | remove_child_nodes(TrNode_child(parent)); | ^~~~~~~~~~~~~~~~~~ ./core_tries.c:383:3: warning: 'DATA_DESTRUCT_FUNCTION' is static but used in inline function 'core_trie_remove_subtree' which is not static 383 | DATA_DESTRUCT_FUNCTION = destruct_function; | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:382:3: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_remove_subtree' which is not static 382 | CURRENT_TRIE_ENGINE = engine; | ^~~~~~~~~~~~~~~~~~~ ./core_tries.c:373:3: warning: 'remove_entry' is static but used in inline function 'core_trie_remove_entry' which is not static 373 | remove_entry(node); | ^~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_tries.c:372:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_remove_entry' which is not static 372 | DECREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_tries.c:372:3: note: in expansion of macro 'DECREMENT_ENTRIES' 372 | DECREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_tries.c:371:7: warning: 'DATA_DESTRUCT_FUNCTION' is static but used in inline function 'core_trie_remove_entry' which is not static 371 | (*DATA_DESTRUCT_FUNCTION)(node); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:370:7: warning: 'DATA_DESTRUCT_FUNCTION' is static but used in inline function 'core_trie_remove_entry' which is not static 370 | if (DATA_DESTRUCT_FUNCTION) | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:369:3: warning: 'DATA_DESTRUCT_FUNCTION' is static but used in inline function 'core_trie_remove_entry' which is not static 369 | DATA_DESTRUCT_FUNCTION = destruct_function; | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:368:3: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_remove_entry' which is not static 368 | CURRENT_TRIE_ENGINE = engine; | ^~~~~~~~~~~~~~~~~~~ ./core_tries.c:362:26: warning: 'stack_args' is static but used in inline function 'core_trie_get_entry' which is not static 362 | return get_entry(node, stack_args, &node); | ^~~~~~~~~~ ./core_tries.c:362:10: warning: 'get_entry' is static but used in inline function 'core_trie_get_entry' which is not static 362 | return get_entry(node, stack_args, &node); | ^~~~~~~~~ ./core_tries.c:361:57: warning: 'CURRENT_AUXILIARY_TERM_STACK_SIZE' is static but used in inline function 'core_trie_get_entry' which is not static 361 | stack_args_base = stack_args = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:361:34: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_trie_get_entry' which is not static 361 | stack_args_base = stack_args = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.c:361:21: warning: 'stack_args' is static but used in inline function 'core_trie_get_entry' which is not static 361 | stack_args_base = stack_args = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~ ./core_tries.c:361:3: warning: 'stack_args_base' is static but used in inline function 'core_trie_get_entry' which is not static 361 | stack_args_base = stack_args = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~ ./core_tries.c:360:34: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_trie_get_entry' which is not static 360 | stack_vars_base = stack_vars = AUXILIARY_TERM_STACK; | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.c:360:21: warning: 'stack_vars' is static but used in inline function 'core_trie_get_entry' which is not static 360 | stack_vars_base = stack_vars = AUXILIARY_TERM_STACK; | ^~~~~~~~~~ ./core_tries.c:360:3: warning: 'stack_vars_base' is static but used in inline function 'core_trie_get_entry' which is not static 360 | stack_vars_base = stack_vars = AUXILIARY_TERM_STACK; | ^~~~~~~~~~~~~~~ ./core_tries.c:359:3: warning: 'CURRENT_INDEX' is static but used in inline function 'core_trie_get_entry' which is not static 359 | CURRENT_INDEX = -1; | ^~~~~~~~~~~~~ ./core_tries.c:351:35: warning: 'stack_vars' is static but used in inline function 'core_trie_check_entry' which is not static 351 | *((YAP_Term *)*stack_vars) = *stack_vars; | ^~~~~~~~~~ ./core_tries.c:351:20: warning: 'stack_vars' is static but used in inline function 'core_trie_check_entry' which is not static 351 | *((YAP_Term *)*stack_vars) = *stack_vars; | ^~~~~~~~~~ In file included from ./core_tries.c:18: ./core_tries.c:350:21: warning: 'stack_vars' is static but used in inline function 'core_trie_check_entry' which is not static 350 | (void) POP_DOWN(stack_vars); | ^~~~~~~~~~ ./core_tries.h:155:47: note: in definition of macro 'POP_DOWN' 155 | #define POP_DOWN(STACK) *++STACK | ^~~~~ ./core_tries.c:349:40: warning: 'stack_vars_base' is static but used in inline function 'core_trie_check_entry' which is not static 349 | while (STACK_NOT_EMPTY(stack_vars++, stack_vars_base)) { | ^~~~~~~~~~~~~~~ ./core_tries.h:153:53: note: in definition of macro 'STACK_NOT_EMPTY' 153 | #define STACK_NOT_EMPTY(STACK, STACK_BASE) STACK != STACK_BASE | ^~~~~~~~~~ ./core_tries.c:349:26: warning: 'stack_vars' is static but used in inline function 'core_trie_check_entry' which is not static 349 | while (STACK_NOT_EMPTY(stack_vars++, stack_vars_base)) { | ^~~~~~~~~~ ./core_tries.h:153:44: note: in definition of macro 'STACK_NOT_EMPTY' 153 | #define STACK_NOT_EMPTY(STACK, STACK_BASE) STACK != STACK_BASE | ^~~~~ ./core_tries.c:347:10: warning: 'check_entry' is static but used in inline function 'core_trie_check_entry' which is not static 347 | node = check_entry(node, entry); | ^~~~~~~~~~~ ./core_tries.c:346:57: warning: 'CURRENT_AUXILIARY_TERM_STACK_SIZE' is static but used in inline function 'core_trie_check_entry' which is not static 346 | stack_vars_base = stack_vars = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:346:34: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_trie_check_entry' which is not static 346 | stack_vars_base = stack_vars = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.c:346:21: warning: 'stack_vars' is static but used in inline function 'core_trie_check_entry' which is not static 346 | stack_vars_base = stack_vars = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~ ./core_tries.c:346:3: warning: 'stack_vars_base' is static but used in inline function 'core_trie_check_entry' which is not static 346 | stack_vars_base = stack_vars = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~ ./core_tries.c:345:34: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_trie_check_entry' which is not static 345 | stack_args_base = stack_args = AUXILIARY_TERM_STACK; | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.c:345:21: warning: 'stack_args' is static but used in inline function 'core_trie_check_entry' which is not static 345 | stack_args_base = stack_args = AUXILIARY_TERM_STACK; | ^~~~~~~~~~ ./core_tries.c:345:3: warning: 'stack_args_base' is static but used in inline function 'core_trie_check_entry' which is not static 345 | stack_args_base = stack_args = AUXILIARY_TERM_STACK; | ^~~~~~~~~~~~~~~ ./core_tries.c:336:14: warning: 'CURRENT_DEPTH' is static but used in inline function 'core_trie_put_entry' which is not static 336 | *depth = CURRENT_DEPTH; | ^~~~~~~~~~~~~ ./core_tries.c:333:35: warning: 'stack_vars' is static but used in inline function 'core_trie_put_entry' which is not static 333 | *((YAP_Term *)*stack_vars) = *stack_vars; | ^~~~~~~~~~ ./core_tries.c:333:20: warning: 'stack_vars' is static but used in inline function 'core_trie_put_entry' which is not static 333 | *((YAP_Term *)*stack_vars) = *stack_vars; | ^~~~~~~~~~ In file included from ./core_tries.c:18: ./core_tries.c:332:21: warning: 'stack_vars' is static but used in inline function 'core_trie_put_entry' which is not static 332 | (void) POP_DOWN(stack_vars); | ^~~~~~~~~~ ./core_tries.h:155:47: note: in definition of macro 'POP_DOWN' 155 | #define POP_DOWN(STACK) *++STACK | ^~~~~ ./core_tries.c:331:40: warning: 'stack_vars_base' is static but used in inline function 'core_trie_put_entry' which is not static 331 | while (STACK_NOT_EMPTY(stack_vars++, stack_vars_base)) { | ^~~~~~~~~~~~~~~ ./core_tries.h:153:53: note: in definition of macro 'STACK_NOT_EMPTY' 153 | #define STACK_NOT_EMPTY(STACK, STACK_BASE) STACK != STACK_BASE | ^~~~~~~~~~ ./core_tries.c:331:26: warning: 'stack_vars' is static but used in inline function 'core_trie_put_entry' which is not static 331 | while (STACK_NOT_EMPTY(stack_vars++, stack_vars_base)) { | ^~~~~~~~~~ ./core_tries.h:153:44: note: in definition of macro 'STACK_NOT_EMPTY' 153 | #define STACK_NOT_EMPTY(STACK, STACK_BASE) STACK != STACK_BASE | ^~~~~ In file included from ./core_tries.c:18: ./core_tries.c:328:23: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_put_entry' which is not static 328 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_tries.c:328:5: note: in expansion of macro 'INCREMENT_ENTRIES' 328 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_tries.c:328:23: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_put_entry' which is not static 328 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max' 83 | #define TrEngine_entries_max(X) ((X)->entries_max_used) | ^ ./core_tries.c:328:5: note: in expansion of macro 'INCREMENT_ENTRIES' 328 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_tries.c:328:23: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_put_entry' which is not static 328 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max' 83 | #define TrEngine_entries_max(X) ((X)->entries_max_used) | ^ ./core_tries.c:328:5: note: in expansion of macro 'INCREMENT_ENTRIES' 328 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_tries.c:328:23: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_put_entry' which is not static 328 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_tries.c:328:5: note: in expansion of macro 'INCREMENT_ENTRIES' 328 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_tries.c:328:23: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_put_entry' which is not static 328 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries' 79 | #define TrEngine_entries(X) ((X)->entries_in_use) | ^ ./core_tries.c:328:5: note: in expansion of macro 'INCREMENT_ENTRIES' 328 | INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~ ./core_tries.c:325:10: warning: 'put_entry' is static but used in inline function 'core_trie_put_entry' which is not static 325 | node = put_entry(node, entry); | ^~~~~~~~~ ./core_tries.c:324:57: warning: 'CURRENT_AUXILIARY_TERM_STACK_SIZE' is static but used in inline function 'core_trie_put_entry' which is not static 324 | stack_vars_base = stack_vars = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:324:34: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_trie_put_entry' which is not static 324 | stack_vars_base = stack_vars = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.c:324:21: warning: 'stack_vars' is static but used in inline function 'core_trie_put_entry' which is not static 324 | stack_vars_base = stack_vars = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~ ./core_tries.c:324:3: warning: 'stack_vars_base' is static but used in inline function 'core_trie_put_entry' which is not static 324 | stack_vars_base = stack_vars = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; | ^~~~~~~~~~~~~~~ ./core_tries.c:323:34: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_trie_put_entry' which is not static 323 | stack_args_base = stack_args = AUXILIARY_TERM_STACK; | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.c:323:21: warning: 'stack_args' is static but used in inline function 'core_trie_put_entry' which is not static 323 | stack_args_base = stack_args = AUXILIARY_TERM_STACK; | ^~~~~~~~~~ ./core_tries.c:323:3: warning: 'stack_args_base' is static but used in inline function 'core_trie_put_entry' which is not static 323 | stack_args_base = stack_args = AUXILIARY_TERM_STACK; | ^~~~~~~~~~~~~~~ ./core_tries.c:322:3: warning: 'CURRENT_DEPTH' is static but used in inline function 'core_trie_put_entry' which is not static 322 | CURRENT_DEPTH = 0; | ^~~~~~~~~~~~~ ./core_tries.c:321:3: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_put_entry' which is not static 321 | CURRENT_TRIE_ENGINE = engine; | ^~~~~~~~~~~~~~~~~~~ ./core_tries.c:315:10: warning: 'CURRENT_TRIE_MODE' is static but used in inline function 'core_trie_get_mode' which is not static 315 | return CURRENT_TRIE_MODE; | ^~~~~~~~~~~~~~~~~ ./core_tries.c:308:3: warning: 'CURRENT_TRIE_MODE' is static but used in inline function 'core_trie_set_mode' which is not static 308 | CURRENT_TRIE_MODE = mode; | ^~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_tries.c:293:19: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_close' which is not static 293 | DECREMENT_TRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:78:35: note: in definition of macro 'TrEngine_tries' 78 | #define TrEngine_tries(X) ((X)->tries_in_use) | ^ ./core_tries.c:293:3: note: in expansion of macro 'DECREMENT_TRIES' 293 | DECREMENT_TRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~ ./core_tries.h:237:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_close' which is not static 237 | DECREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:237:11: note: in expansion of macro 'DECREMENT_MEMORY' 237 | DECREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_tries.c:292:3: note: in expansion of macro 'free_trie_node' 292 | free_trie_node(node); | ^~~~~~~~~~~~~~ ./core_tries.h:236:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_close' which is not static 236 | DECREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:236:11: note: in expansion of macro 'DECREMENT_NODES' 236 | DECREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_tries.c:292:3: note: in expansion of macro 'free_trie_node' 292 | free_trie_node(node); | ^~~~~~~~~~~~~~ ./core_tries.c:286:5: warning: 'remove_child_nodes' is static but used in inline function 'core_trie_close' which is not static 286 | remove_child_nodes(TrNode_child(node)); | ^~~~~~~~~~~~~~~~~~ ./core_tries.c:284:3: warning: 'DATA_DESTRUCT_FUNCTION' is static but used in inline function 'core_trie_close' which is not static 284 | DATA_DESTRUCT_FUNCTION = destruct_function; | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.c:283:3: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_close' which is not static 283 | CURRENT_TRIE_ENGINE = engine; | ^~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_tries.c:276:19: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 276 | INCREMENT_TRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:78:35: note: in definition of macro 'TrEngine_tries' 78 | #define TrEngine_tries(X) ((X)->tries_in_use) | ^ ./core_tries.c:276:3: note: in expansion of macro 'INCREMENT_TRIES' 276 | INCREMENT_TRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~ ./core_tries.c:276:19: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 276 | INCREMENT_TRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:82:35: note: in definition of macro 'TrEngine_tries_max' 82 | #define TrEngine_tries_max(X) ((X)->tries_max_used) | ^ ./core_tries.c:276:3: note: in expansion of macro 'INCREMENT_TRIES' 276 | INCREMENT_TRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~ ./core_tries.c:276:19: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 276 | INCREMENT_TRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:82:35: note: in definition of macro 'TrEngine_tries_max' 82 | #define TrEngine_tries_max(X) ((X)->tries_max_used) | ^ ./core_tries.c:276:3: note: in expansion of macro 'INCREMENT_TRIES' 276 | INCREMENT_TRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~ ./core_tries.c:276:19: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 276 | INCREMENT_TRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:78:35: note: in definition of macro 'TrEngine_tries' 78 | #define TrEngine_tries(X) ((X)->tries_in_use) | ^ ./core_tries.c:276:3: note: in expansion of macro 'INCREMENT_TRIES' 276 | INCREMENT_TRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~ ./core_tries.c:276:19: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 276 | INCREMENT_TRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:78:35: note: in definition of macro 'TrEngine_tries' 78 | #define TrEngine_tries(X) ((X)->tries_in_use) | ^ ./core_tries.c:276:3: note: in expansion of macro 'INCREMENT_TRIES' 276 | INCREMENT_TRIES(CURRENT_TRIE_ENGINE); | ^~~~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_tries.c:272:3: note: in expansion of macro 'new_trie_node' 272 | new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_tries.c:272:3: note: in expansion of macro 'new_trie_node' 272 | new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_tries.c:272:3: note: in expansion of macro 'new_trie_node' 272 | new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_tries.c:272:3: note: in expansion of macro 'new_trie_node' 272 | new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); | ^~~~~~~~~~~~~ ./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY' 199 | INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ | ^~~~~~~~~~~~~~~~ ./core_tries.c:272:3: note: in expansion of macro 'new_trie_node' 272 | new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_tries.c:272:3: note: in expansion of macro 'new_trie_node' 272 | new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max' 84 | #define TrEngine_nodes_max(X) ((X)->nodes_max_used) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_tries.c:272:3: note: in expansion of macro 'new_trie_node' 272 | new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max' 84 | #define TrEngine_nodes_max(X) ((X)->nodes_max_used) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_tries.c:272:3: note: in expansion of macro 'new_trie_node' 272 | new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_tries.c:272:3: note: in expansion of macro 'new_trie_node' 272 | new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); | ^~~~~~~~~~~~~ ./core_tries.h:198:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes' 80 | #define TrEngine_nodes(X) ((X)->nodes_in_use) | ^ ./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES' 198 | INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ | ^~~~~~~~~~~~~~~ ./core_tries.c:272:3: note: in expansion of macro 'new_trie_node' 272 | new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); | ^~~~~~~~~~~~~ ./core_tries.c:271:3: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static 271 | CURRENT_TRIE_ENGINE = engine; | ^~~~~~~~~~~~~~~~~~~ ./core_tries.c:259:5: warning: 'FunctorComma' is static but used in inline function 'core_trie_init_module' which is not static 259 | FunctorComma = YAP_MkFunctor(YAP_LookupAtom(","), 2); | ^~~~~~~~~~~~ ./core_tries.c:258:5: warning: 'CURRENT_TRIE_MODE' is static but used in inline function 'core_trie_init_module' which is not static 258 | CURRENT_TRIE_MODE = TRIE_MODE_STANDARD; | ^~~~~~~~~~~~~~~~~ ./core_tries.c:257:5: warning: 'CURRENT_AUXILIARY_TERM_STACK_SIZE' is static but used in inline function 'core_trie_init_module' which is not static 257 | CURRENT_AUXILIARY_TERM_STACK_SIZE = BASE_AUXILIARY_TERM_STACK_SIZE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_tries.c:256:16: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_trie_init_module' which is not static 256 | new_struct(AUXILIARY_TERM_STACK, YAP_Term, BASE_AUXILIARY_TERM_STACK_SIZE * sizeof(YAP_Term)); | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.h:178:9: note: in definition of macro 'new_struct' 178 | STR = (STR_TYPE *) YAP_AllocSpaceFromYap(STR_SIZE) | ^~~ ./core_tries.c:252:14: warning: 'init_once' is static but declared in inline function 'core_trie_init_module' which is not static 252 | static int init_once = 1; | ^~~~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include ./base_tries.c -o base_tries.o In file included from ./base_tries.c:408: ./base_dbtries.c:412:18: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_order_correction' which is not static 412 | TrEntry trie = CURRENT_TRIE; | ^~~~~~~~~~~~ ./base_dbtries.c:383:18: warning: 'CURRENT_TRIE' is static but used in inline function 'move_after' which is not static 383 | TrEntry trie = CURRENT_TRIE; | ^~~~~~~~~~~~ ./base_dbtries.c:364:18: warning: 'CURRENT_TRIE' is static but used in inline function 'move_last_data_after' which is not static 364 | TrEntry trie = CURRENT_TRIE; | ^~~~~~~~~~~~ ./base_dbtries.c:299:3: warning: 'CURRENT_DEPTH_BREADTH_DATA' is static but used in inline function 'set_depth_breadth_reduction_current_data' which is not static 299 | CURRENT_DEPTH_BREADTH_DATA = data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./base_dbtries.c:268:10: warning: 'CURRENT_DEPTH_BREADTH_DATA' is static but used in inline function 'trie_get_depth_breadth_reduction_current_data' which is not static 268 | return CURRENT_DEPTH_BREADTH_DATA; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./base_dbtries.c:248:48: warning: 'get_data_from_trie_node' is static but used in inline function 'trie_depth_breadth' which is not static 248 | set_depth_breadth_reduction_current_data(get_data_from_trie_node(nested_trie)); | ^~~~~~~~~~~~~~~~~~~~~~~ ./base_dbtries.c:246:19: warning: 'breadth_reduction' is static but used in inline function 'trie_depth_breadth' which is not static 246 | nested_trie = breadth_reduction(trie, breadth_node, opt_level); | ^~~~~~~~~~~~~~~~~ In file included from ./base_tries.c:408: ./base_dbtries.c:241:48: warning: 'get_data_from_trie_node' is static but used in inline function 'trie_depth_breadth' which is not static 241 | set_depth_breadth_reduction_current_data(get_data_from_trie_node(nested_trie)); | ^~~~~~~~~~~~~~~~~~~~~~~ ./base_dbtries.c:239:19: warning: 'depth_reduction' is static but used in inline function 'trie_depth_breadth' which is not static 239 | nested_trie = depth_reduction(trie, depth_node, opt_level); | ^~~~~~~~~~~~~~~ ./base_dbtries.c:234:3: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_depth_breadth' which is not static 234 | CURRENT_TRIE = db_trie; | ^~~~~~~~~~~~ ./base_tries.c:365:9: warning: 'CURRENT_TRAVERSE_MODE' is static but used in inline function 'trie_traverse_next' which is not static 365 | if (CURRENT_TRAVERSE_MODE == TRAVERSE_MODE_FORWARD) | ^~~~~~~~~~~~~~~~~~~~~ ./base_tries.c:353:7: warning: 'CURRENT_TRAVERSE_MODE' is static but used in inline function 'trie_traverse_first' which is not static 353 | if (CURRENT_TRAVERSE_MODE == TRAVERSE_MODE_FORWARD) | ^~~~~~~~~~~~~~~~~~~~~ ./base_tries.c:346:10: warning: 'CURRENT_TRAVERSE_MODE' is static but used in inline function 'trie_get_traverse_mode' which is not static 346 | return CURRENT_TRAVERSE_MODE; | ^~~~~~~~~~~~~~~~~~~~~ ./base_tries.c:339:3: warning: 'CURRENT_TRAVERSE_MODE' is static but used in inline function 'trie_set_traverse_mode' which is not static 339 | CURRENT_TRAVERSE_MODE = mode; | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./base_tries.c:17: ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_construct' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:331:3: note: in expansion of macro 'new_trie_data' 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_construct' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:331:3: note: in expansion of macro 'new_trie_data' 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_construct' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:331:3: note: in expansion of macro 'new_trie_data' 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_construct' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:331:3: note: in expansion of macro 'new_trie_data' 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_construct' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:331:3: note: in expansion of macro 'new_trie_data' 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~ ./base_tries.h:33:37: note: in definition of macro 'TrEntry_last_data' 33 | #define TrEntry_last_data(X) ((X)->last_trie_data) | ^ ./base_tries.c:331:3: note: in expansion of macro 'new_trie_data' 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ ./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~ ./base_tries.h:32:37: note: in definition of macro 'TrEntry_first_data' 32 | #define TrEntry_first_data(X) ((X)->first_trie_data) | ^ ./base_tries.c:331:3: note: in expansion of macro 'new_trie_data' 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~ ./base_tries.h:56:61: note: in definition of macro 'AS_TR_DATA_NEXT' 56 | #define AS_TR_DATA_NEXT(ADDR) (TrData)((unsigned long int)(ADDR) - sizeof(struct trie_entry *) - sizeof(struct trie_node *)) | ^~~~ ./base_tries.h:85:57: note: in expansion of macro 'TrEntry_first_data' 85 | TrData_previous(TR_DATA) = AS_TR_DATA_NEXT(&TrEntry_first_data(TR_ENTRY)); \ | ^~~~~~~~~~~~~~~~~~ ./base_tries.c:331:3: note: in expansion of macro 'new_trie_data' 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~ ./base_tries.h:33:37: note: in definition of macro 'TrEntry_last_data' 33 | #define TrEntry_last_data(X) ((X)->last_trie_data) | ^ ./base_tries.c:331:3: note: in expansion of macro 'new_trie_data' 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~ ./base_tries.h:77:34: note: in definition of macro 'new_trie_data' 77 | TrData_trie(TR_DATA) = TR_ENTRY; \ | ^~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~ ./base_tries.h:32:37: note: in definition of macro 'TrEntry_first_data' 32 | #define TrEntry_first_data(X) ((X)->first_trie_data) | ^ ./base_tries.c:331:3: note: in expansion of macro 'new_trie_data' 331 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ ./base_tries.c:308:23: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_max_stats' which is not static 308 | core_trie_max_stats(TRIE_ENGINE, memory, tries, entries, nodes); | ^~~~~~~~~~~ ./base_tries.c:301:19: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_stats' which is not static 301 | core_trie_stats(TRIE_ENGINE, memory, tries, entries, nodes); | ^~~~~~~~~~~ ./base_tries.c:294:3: warning: 'FIRST_TRIE' is static but used in inline function 'trie_load' which is not static 294 | FIRST_TRIE = trie; | ^~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:293:22: warning: 'FIRST_TRIE' is static but used in inline function 'trie_load' which is not static 293 | TrEntry_previous(FIRST_TRIE) = trie; | ^~~~~~~~~~ ./base_tries.h:36:37: note: in definition of macro 'TrEntry_previous' 36 | #define TrEntry_previous(X) ((X)->previous) | ^ ./base_tries.c:292:7: warning: 'FIRST_TRIE' is static but used in inline function 'trie_load' which is not static 292 | if (FIRST_TRIE) | ^~~~~~~~~~ In file included from ./base_tries.c:17: ./base_tries.h:96:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_load' which is not static 96 | DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:96:11: note: in expansion of macro 'DECREMENT_MEMORY' 96 | DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:288:5: note: in expansion of macro 'free_trie_entry' 288 | free_trie_entry(trie); | ^~~~~~~~~~~~~~~ ./base_tries.c:287:31: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_load' which is not static 287 | if (!(node = core_trie_load(TRIE_ENGINE, file, &trie_data_load))) { | ^~~~~~~~~~~ ./base_tries.c:286:3: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_load' which is not static 286 | CURRENT_TRIE = trie; | ^~~~~~~~~~~~ In file included from ./base_tries.c:17: ./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_load' which is not static 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY' 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry' 285 | new_trie_entry(trie, NULL); | ^~~~~~~~~~~~~~ ./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_load' which is not static 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY' 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry' 285 | new_trie_entry(trie, NULL); | ^~~~~~~~~~~~~~ ./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_load' which is not static 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY' 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry' 285 | new_trie_entry(trie, NULL); | ^~~~~~~~~~~~~~ ./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_load' which is not static 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY' 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry' 285 | new_trie_entry(trie, NULL); | ^~~~~~~~~~~~~~ ./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_load' which is not static 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY' 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry' 285 | new_trie_entry(trie, NULL); | ^~~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.h:71:58: warning: 'FIRST_TRIE' is static but used in inline function 'trie_load' which is not static 71 | TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_TRIE); \ | ^~~~~~~~~~ ./base_tries.h:55:62: note: in definition of macro 'AS_TR_ENTRY_NEXT' 55 | #define AS_TR_ENTRY_NEXT(ADDR) (TrEntry)((unsigned long int)(ADDR) - sizeof(struct trie_node *) - 3 * sizeof(struct trie_data *)) | ^~~~ ./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry' 285 | new_trie_entry(trie, NULL); | ^~~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.h:70:36: warning: 'FIRST_TRIE' is static but used in inline function 'trie_load' which is not static 70 | TrEntry_next(TR_ENTRY) = FIRST_TRIE; \ | ^~~~~~~~~~ ./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry' 285 | new_trie_entry(trie, NULL); | ^~~~~~~~~~~~~~ ./base_tries.c:256:23: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_intersect' which is not static 256 | core_trie_intersect(TRIE_ENGINE, TrEntry_trie(trie_dest), TrEntry_trie(trie_source), NULL, &trie_data_destruct); | ^~~~~~~~~~~ ./base_tries.c:249:18: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_join' which is not static 249 | core_trie_join(TRIE_ENGINE, TrEntry_trie(trie_dest), TrEntry_trie(trie_source), NULL, &trie_data_copy); | ^~~~~~~~~~~ ./base_tries.c:248:3: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_join' which is not static 248 | CURRENT_TRIE = trie_dest; | ^~~~~~~~~~~~ ./base_tries.c:241:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_remove_subtree' which is not static 241 | core_trie_remove_subtree(TRIE_ENGINE, TrData_leaf(data), &trie_data_destruct); | ^~~~~~~~~~~ ./base_tries.c:234:26: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_remove_entry' which is not static 234 | core_trie_remove_entry(TRIE_ENGINE, TrData_leaf(data), &trie_data_destruct); | ^~~~~~~~~~~ ./base_tries.c:219:9: warning: 'CURRENT_TRAVERSE_MODE' is static but used in inline function 'trie_traverse_cont' which is not static 219 | if (CURRENT_TRAVERSE_MODE == TRAVERSE_MODE_FORWARD) | ^~~~~~~~~~~~~~~~~~~~~ ./base_tries.c:203:9: warning: 'CURRENT_TRAVERSE_MODE' is static but used in inline function 'trie_traverse_init' which is not static 203 | if (CURRENT_TRAVERSE_MODE == TRAVERSE_MODE_FORWARD) | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./base_tries.c:17: ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_put_entry' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:153:5: note: in expansion of macro 'new_trie_data' 153 | new_trie_data(data, trie, node); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_put_entry' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:153:5: note: in expansion of macro 'new_trie_data' 153 | new_trie_data(data, trie, node); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_put_entry' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:153:5: note: in expansion of macro 'new_trie_data' 153 | new_trie_data(data, trie, node); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_put_entry' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:153:5: note: in expansion of macro 'new_trie_data' 153 | new_trie_data(data, trie, node); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_put_entry' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:153:5: note: in expansion of macro 'new_trie_data' 153 | new_trie_data(data, trie, node); | ^~~~~~~~~~~~~ ./base_tries.c:151:30: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_put_entry' which is not static 151 | node = core_trie_put_entry(TRIE_ENGINE, TrEntry_trie(trie), entry, NULL); | ^~~~~~~~~~~ ./base_tries.c:127:5: warning: 'FIRST_TRIE' is static but used in inline function 'trie_close_all' which is not static 127 | FIRST_TRIE = trie; | ^~~~~~~~~~ In file included from ./base_tries.c:17: ./base_tries.h:96:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_close_all' which is not static 96 | DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:96:11: note: in expansion of macro 'DECREMENT_MEMORY' 96 | DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:126:5: note: in expansion of macro 'free_trie_entry' 126 | free_trie_entry(FIRST_TRIE); | ^~~~~~~~~~~~~~~ In file included from ./base_tries.c:17: ./base_tries.c:126:21: warning: 'FIRST_TRIE' is static but used in inline function 'trie_close_all' which is not static 126 | free_trie_entry(FIRST_TRIE); | ^~~~~~~~~~ ./core_tries.h:233:40: note: in definition of macro 'free_struct' 233 | YAP_FreeSpaceFromYap((char *) (STR)) | ^~~ ./base_tries.c:126:5: note: in expansion of macro 'free_trie_entry' 126 | free_trie_entry(FIRST_TRIE); | ^~~~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:125:25: warning: 'FIRST_TRIE' is static but used in inline function 'trie_close_all' which is not static 125 | trie = TrEntry_next(FIRST_TRIE); | ^~~~~~~~~~ ./base_tries.h:35:37: note: in definition of macro 'TrEntry_next' 35 | #define TrEntry_next(X) ((X)->next) | ^ ./base_tries.c:124:10: warning: 'FIRST_TRIE' is static but used in inline function 'trie_close_all' which is not static 124 | while (FIRST_TRIE) { | ^~~~~~~~~~ ./base_tries.c:123:23: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_close_all' which is not static 123 | core_trie_close_all(TRIE_ENGINE, &trie_data_destruct); | ^~~~~~~~~~~ In file included from ./base_tries.c:17: ./base_tries.h:96:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_close' which is not static 96 | DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:96:11: note: in expansion of macro 'DECREMENT_MEMORY' 96 | DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:114:3: note: in expansion of macro 'free_trie_entry' 114 | free_trie_entry(trie); | ^~~~~~~~~~~~~~~ ./base_tries.c:108:19: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_close' which is not static 108 | core_trie_close(TRIE_ENGINE, TrEntry_trie(trie), &trie_data_destruct); | ^~~~~~~~~~~ ./base_tries.c:101:3: warning: 'FIRST_TRIE' is static but used in inline function 'trie_open' which is not static 101 | FIRST_TRIE = trie; | ^~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:100:22: warning: 'FIRST_TRIE' is static but used in inline function 'trie_open' which is not static 100 | TrEntry_previous(FIRST_TRIE) = trie; | ^~~~~~~~~~ ./base_tries.h:36:37: note: in definition of macro 'TrEntry_previous' 36 | #define TrEntry_previous(X) ((X)->previous) | ^ ./base_tries.c:99:7: warning: 'FIRST_TRIE' is static but used in inline function 'trie_open' which is not static 99 | if (FIRST_TRIE) | ^~~~~~~~~~ In file included from ./base_tries.c:17: ./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_open' which is not static 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY' 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry' 98 | new_trie_entry(trie, node); | ^~~~~~~~~~~~~~ ./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_open' which is not static 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY' 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry' 98 | new_trie_entry(trie, node); | ^~~~~~~~~~~~~~ ./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_open' which is not static 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY' 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry' 98 | new_trie_entry(trie, node); | ^~~~~~~~~~~~~~ ./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_open' which is not static 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY' 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry' 98 | new_trie_entry(trie, node); | ^~~~~~~~~~~~~~ ./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_open' which is not static 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY' 72 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry' 98 | new_trie_entry(trie, node); | ^~~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.h:71:58: warning: 'FIRST_TRIE' is static but used in inline function 'trie_open' which is not static 71 | TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_TRIE); \ | ^~~~~~~~~~ ./base_tries.h:55:62: note: in definition of macro 'AS_TR_ENTRY_NEXT' 55 | #define AS_TR_ENTRY_NEXT(ADDR) (TrEntry)((unsigned long int)(ADDR) - sizeof(struct trie_node *) - 3 * sizeof(struct trie_data *)) | ^~~~ ./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry' 98 | new_trie_entry(trie, node); | ^~~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.h:70:36: warning: 'FIRST_TRIE' is static but used in inline function 'trie_open' which is not static 70 | TrEntry_next(TR_ENTRY) = FIRST_TRIE; \ | ^~~~~~~~~~ ./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry' 98 | new_trie_entry(trie, node); | ^~~~~~~~~~~~~~ ./base_tries.c:97:25: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_open' which is not static 97 | node = core_trie_open(TRIE_ENGINE); | ^~~~~~~~~~~ In file included from ./base_tries.c:17: ./base_tries.h:100:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_destruct' which is not static 100 | DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:100:11: note: in expansion of macro 'DECREMENT_MEMORY' 100 | DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:87:3: note: in expansion of macro 'free_trie_data' 87 | free_trie_data(data); | ^~~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_copy' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:65:3: note: in expansion of macro 'new_trie_data' 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_copy' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:65:3: note: in expansion of macro 'new_trie_data' 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_copy' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:65:3: note: in expansion of macro 'new_trie_data' 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_copy' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:65:3: note: in expansion of macro 'new_trie_data' 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_copy' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:65:3: note: in expansion of macro 'new_trie_data' 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~ ./base_tries.h:33:37: note: in definition of macro 'TrEntry_last_data' 33 | #define TrEntry_last_data(X) ((X)->last_trie_data) | ^ ./base_tries.c:65:3: note: in expansion of macro 'new_trie_data' 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~~ ./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~ ./base_tries.h:32:37: note: in definition of macro 'TrEntry_first_data' 32 | #define TrEntry_first_data(X) ((X)->first_trie_data) | ^ ./base_tries.c:65:3: note: in expansion of macro 'new_trie_data' 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~ ./base_tries.h:56:61: note: in definition of macro 'AS_TR_DATA_NEXT' 56 | #define AS_TR_DATA_NEXT(ADDR) (TrData)((unsigned long int)(ADDR) - sizeof(struct trie_entry *) - sizeof(struct trie_node *)) | ^~~~ ./base_tries.h:85:57: note: in expansion of macro 'TrEntry_first_data' 85 | TrData_previous(TR_DATA) = AS_TR_DATA_NEXT(&TrEntry_first_data(TR_ENTRY)); \ | ^~~~~~~~~~~~~~~~~~ ./base_tries.c:65:3: note: in expansion of macro 'new_trie_data' 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~ ./base_tries.h:33:37: note: in definition of macro 'TrEntry_last_data' 33 | #define TrEntry_last_data(X) ((X)->last_trie_data) | ^ ./base_tries.c:65:3: note: in expansion of macro 'new_trie_data' 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~ ./base_tries.h:77:34: note: in definition of macro 'new_trie_data' 77 | TrData_trie(TR_DATA) = TR_ENTRY; \ | ^~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~ ./base_tries.h:32:37: note: in definition of macro 'TrEntry_first_data' 32 | #define TrEntry_first_data(X) ((X)->first_trie_data) | ^ ./base_tries.c:65:3: note: in expansion of macro 'new_trie_data' 65 | new_trie_data(data_dest, CURRENT_TRIE, node_dest); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:17: ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_load' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:55:3: note: in expansion of macro 'new_trie_data' 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_load' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:55:3: note: in expansion of macro 'new_trie_data' 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_load' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:55:3: note: in expansion of macro 'new_trie_data' 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_load' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:55:3: note: in expansion of macro 'new_trie_data' 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_load' which is not static 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY' 89 | INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_tries.c:55:3: note: in expansion of macro 'new_trie_data' 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:55:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_load' which is not static 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~ ./base_tries.h:33:37: note: in definition of macro 'TrEntry_last_data' 33 | #define TrEntry_last_data(X) ((X)->last_trie_data) | ^ ./base_tries.c:55:3: note: in expansion of macro 'new_trie_data' 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ ./base_tries.c:55:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_load' which is not static 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~ ./base_tries.h:32:37: note: in definition of macro 'TrEntry_first_data' 32 | #define TrEntry_first_data(X) ((X)->first_trie_data) | ^ ./base_tries.c:55:3: note: in expansion of macro 'new_trie_data' 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:55:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_load' which is not static 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~ ./base_tries.h:56:61: note: in definition of macro 'AS_TR_DATA_NEXT' 56 | #define AS_TR_DATA_NEXT(ADDR) (TrData)((unsigned long int)(ADDR) - sizeof(struct trie_entry *) - sizeof(struct trie_node *)) | ^~~~ ./base_tries.h:85:57: note: in expansion of macro 'TrEntry_first_data' 85 | TrData_previous(TR_DATA) = AS_TR_DATA_NEXT(&TrEntry_first_data(TR_ENTRY)); \ | ^~~~~~~~~~~~~~~~~~ ./base_tries.c:55:3: note: in expansion of macro 'new_trie_data' 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:55:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_load' which is not static 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~ ./base_tries.h:33:37: note: in definition of macro 'TrEntry_last_data' 33 | #define TrEntry_last_data(X) ((X)->last_trie_data) | ^ ./base_tries.c:55:3: note: in expansion of macro 'new_trie_data' 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:55:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_load' which is not static 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~ ./base_tries.h:77:34: note: in definition of macro 'new_trie_data' 77 | TrData_trie(TR_DATA) = TR_ENTRY; \ | ^~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:55:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_load' which is not static 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~ ./base_tries.h:32:37: note: in definition of macro 'TrEntry_first_data' 32 | #define TrEntry_first_data(X) ((X)->first_trie_data) | ^ ./base_tries.c:55:3: note: in expansion of macro 'new_trie_data' 55 | new_trie_data(data, CURRENT_TRIE, node); | ^~~~~~~~~~~~~ ./base_tries.c:46:3: warning: 'CURRENT_TRAVERSE_MODE' is static but used in inline function 'trie_init_module' which is not static 46 | CURRENT_TRAVERSE_MODE = TRAVERSE_MODE_FORWARD; | ^~~~~~~~~~~~~~~~~~~~~ ./base_tries.c:45:3: warning: 'FIRST_TRIE' is static but used in inline function 'trie_init_module' which is not static 45 | FIRST_TRIE = NULL; | ^~~~~~~~~~ ./base_tries.c:44:3: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_init_module' which is not static 44 | TRIE_ENGINE = core_trie_init_module(); | ^~~~~~~~~~~ In file included from ./core_tries.h:318, from ./base_tries.c:17: ./core_dbtries.h:229:18: warning: inline function 'core_set_trie_db_opt_min_prefix' declared but never defined 229 | inline void core_set_trie_db_opt_min_prefix(YAP_Int min_prefix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:228:18: warning: inline function 'core_get_trie_db_opt_min_prefix' declared but never defined 228 | inline YAP_Int core_get_trie_db_opt_min_prefix(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:227:18: warning: inline function 'core_depth_breadth_trie_replace_nested_trie' declared but never defined 227 | inline void core_depth_breadth_trie_replace_nested_trie(TrNode node, YAP_Int nested_trie_id, YAP_Term new_term); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:226:18: warning: inline function 'core_db_trie_get_optimization_level_count' declared but never defined 226 | inline YAP_Int core_db_trie_get_optimization_level_count(YAP_Int opt_level); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:225:18: warning: inline function 'core_set_trie_db_return_term' declared but never defined 225 | inline void core_set_trie_db_return_term(YAP_Term return_value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:224:18: warning: inline function 'core_get_trie_db_return_term' declared but never defined 224 | inline YAP_Term core_get_trie_db_return_term(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.h:318, from ./base_tries.c:17: ./core_dbtries.h:223:18: warning: inline function 'core_breadth_reduction' declared but never defined 223 | inline TrNode core_breadth_reduction(TrEngine engine, TrNode node, TrNode breadth_node, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.h:318, from ./base_tries.c:17: ./core_dbtries.h:222:18: warning: inline function 'core_depth_reduction' declared but never defined 222 | inline TrNode core_depth_reduction(TrEngine engine, TrNode node, TrNode depth_node, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); | ^~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:221:18: warning: inline function 'core_finalize_depth_breadth_trie' declared but never defined 221 | inline void core_finalize_depth_breadth_trie(TrNode depth_node, TrNode breadth_node); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:220:18: warning: inline function 'core_initialize_depth_breadth_trie' declared but never defined 220 | inline void core_initialize_depth_breadth_trie(TrNode node, TrNode *depth_node, TrNode *breadth_node); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:219:18: warning: inline function 'core_get_label_counter' declared but never defined 219 | inline YAP_Int core_get_label_counter(void); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:218:18: warning: inline function 'core_set_label_counter' declared but never defined 218 | inline void core_set_label_counter(YAP_Int value); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./base_tries.c:17: ./core_tries.h:316:18: warning: inline function 'core_trie_to_list' declared but never defined 316 | inline YAP_Term core_trie_to_list(TrNode node); | ^~~~~~~~~~~~~~~~~ ./core_tries.h:314:17: warning: inline function 'core_enable_hash_table' declared but never defined 314 | inline void core_enable_hash_table(void); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:313:17: warning: inline function 'core_disable_hash_table' declared but never defined 313 | inline void core_disable_hash_table(void); | ^~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:311:17: warning: inline function 'core_trie_print' declared but never defined 311 | inline void core_trie_print(TrNode node, void (*print_function)(TrNode)); | ^~~~~~~~~~~~~~~ ./core_tries.h:310:17: warning: inline function 'core_trie_usage' declared but never defined 310 | inline void core_trie_usage(TrNode node, YAP_Int *entries, YAP_Int *nodes, YAP_Int *virtual_nodes); | ^~~~~~~~~~~~~~~ ./core_tries.h:309:17: warning: inline function 'core_trie_max_stats' declared but never defined 309 | inline void core_trie_max_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:308:17: warning: inline function 'core_trie_stats' declared but never defined 308 | inline void core_trie_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); | ^~~~~~~~~~~~~~~ ./core_tries.h:307:17: warning: inline function 'core_trie_load' declared but never defined 307 | inline TrNode core_trie_load(TrEngine engine, FILE *file, void (*load_function)(TrNode, YAP_Int, FILE *)); | ^~~~~~~~~~~~~~ ./core_tries.h:306:17: warning: inline function 'core_trie_save' declared but never defined 306 | inline void core_trie_save(TrNode node, FILE *file, void (*save_function)(TrNode, FILE *)); | ^~~~~~~~~~~~~~ ./core_tries.h:305:17: warning: inline function 'core_trie_count_intersect' declared but never defined 305 | inline YAP_Int core_trie_count_intersect(TrNode node1, TrNode node2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:304:17: warning: inline function 'core_trie_count_join' declared but never defined 304 | inline YAP_Int core_trie_count_join(TrNode node1, TrNode node2); | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.h:303:17: warning: inline function 'core_trie_intersect' declared but never defined 303 | inline void core_trie_intersect(TrEngine engine, TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode), void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:302:17: warning: inline function 'core_trie_join' declared but never defined 302 | inline void core_trie_join(TrEngine engine, TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode), void (*copy_function)(TrNode, TrNode)); | ^~~~~~~~~~~~~~ ./core_tries.h:301:17: warning: inline function 'core_trie_add' declared but never defined 301 | inline void core_trie_add(TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode)); | ^~~~~~~~~~~~~ ./core_tries.h:300:17: warning: inline function 'core_trie_remove_subtree' declared but never defined 300 | inline void core_trie_remove_subtree(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:299:17: warning: inline function 'core_trie_remove_entry' declared but never defined 299 | inline void core_trie_remove_entry(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:298:17: warning: inline function 'core_trie_get_entry' declared but never defined 298 | inline YAP_Term core_trie_get_entry(TrNode node); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:297:17: warning: inline function 'core_trie_check_entry' declared but never defined 297 | inline TrNode core_trie_check_entry(TrNode node, YAP_Term entry); | ^~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:296:17: warning: inline function 'core_trie_put_entry' declared but never defined 296 | inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:295:17: warning: inline function 'core_trie_get_mode' declared but never defined 295 | inline YAP_Int core_trie_get_mode(void); | ^~~~~~~~~~~~~~~~~~ ./core_tries.h:294:17: warning: inline function 'core_trie_set_mode' declared but never defined 294 | inline void core_trie_set_mode(YAP_Int mode); | ^~~~~~~~~~~~~~~~~~ ./core_tries.h:293:17: warning: inline function 'core_trie_close_all' declared but never defined 293 | inline void core_trie_close_all(TrEngine engine, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:292:17: warning: inline function 'core_trie_close' declared but never defined 292 | inline void core_trie_close(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~ ./core_tries.h:291:17: warning: inline function 'core_trie_open' declared but never defined 291 | inline TrNode core_trie_open(TrEngine engine); | ^~~~~~~~~~~~~~ ./core_tries.h:290:17: warning: inline function 'core_trie_init_module' declared but never defined 290 | inline TrEngine core_trie_init_module(void); | ^~~~~~~~~~~~~~~~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include ./tries.c -o tries.o ./tries.c: In function 'p_trie_get_db_opt_level_count_cont': ./tries.c:906:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 906 | if (YAP_Unify(arg_opt_level, opt_level->value)); | ^~ ./tries.c:907:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 907 | return YAP_Unify(arg_count, YAP_MkIntTerm(trie_get_db_opt_level_count(YAP_IntOfTerm(arg_opt_level)))); | ^~~~~~ In file included from ./base_tries.h:148, from ./tries.c:18: ./tries.c: At top level: ./base_dbtries.h:216:17: warning: inline function 'trie_set_db_opt_min_prefix' declared but never defined 216 | inline void trie_set_db_opt_min_prefix(YAP_Int min_prefix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./base_dbtries.h:215:17: warning: inline function 'trie_get_db_opt_min_prefix' declared but never defined 215 | inline YAP_Int trie_get_db_opt_min_prefix(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./base_dbtries.h:214:17: warning: inline function 'trie_replace_nested_trie' declared but never defined 214 | inline void trie_replace_nested_trie(TrEntry trie, YAP_Int nested_trie_id, YAP_Term new_term); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./base_dbtries.h:213:17: warning: inline function 'trie_get_db_opt_level_count' declared but never defined 213 | inline YAP_Int trie_get_db_opt_level_count(YAP_Int opt_level); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base_dbtries.h:212:17: warning: inline function 'trie_get_depth_breadth_reduction_current_data' declared but never defined 212 | inline TrData trie_get_depth_breadth_reduction_current_data(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base_dbtries.h:211:17: warning: inline function 'trie_data_order_correction' declared but never defined 211 | inline void trie_data_order_correction(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./base_tries.h:148, from ./tries.c:18: ./base_dbtries.h:210:17: warning: inline function 'trie_depth_breadth' declared but never defined 210 | inline YAP_Term trie_depth_breadth(TrEntry trie, TrEntry db_trie, YAP_Int opt_level, YAP_Int start_counter, YAP_Int *end_counter); | ^~~~~~~~~~~~~~~~~~ In file included from ./tries.c:18: ./base_tries.h:146:17: warning: inline function 'trie_to_list' declared but never defined 146 | inline YAP_Term trie_to_list(TrEntry trie); | ^~~~~~~~~~~~ ./base_tries.h:144:17: warning: inline function 'trie_enable_hash_table' declared but never defined 144 | inline void trie_enable_hash_table(void); | ^~~~~~~~~~~~~~~~~~~~~~ ./base_tries.h:143:17: warning: inline function 'trie_disable_hash_table' declared but never defined 143 | inline void trie_disable_hash_table(void); | ^~~~~~~~~~~~~~~~~~~~~~~ ./base_tries.h:142:17: warning: inline function 'trie_traverse_next' declared but never defined 142 | inline TrData trie_traverse_next(TrData data); | ^~~~~~~~~~~~~~~~~~ ./base_tries.h:141:17: warning: inline function 'trie_traverse_first' declared but never defined 141 | inline TrData trie_traverse_first(TrEntry trie); | ^~~~~~~~~~~~~~~~~~~ ./base_tries.h:140:17: warning: inline function 'trie_get_traverse_mode' declared but never defined 140 | inline YAP_Int trie_get_traverse_mode(void); | ^~~~~~~~~~~~~~~~~~~~~~ ./base_tries.h:139:17: warning: inline function 'trie_set_traverse_mode' declared but never defined 139 | inline void trie_set_traverse_mode(YAP_Int mode); | ^~~~~~~~~~~~~~~~~~~~~~ ./base_tries.h:138:17: warning: inline function 'trie_data_construct' declared but never defined 138 | inline void trie_data_construct(TrNode node); | ^~~~~~~~~~~~~~~~~~~ ./base_tries.h:136:17: warning: inline function 'trie_print' declared but never defined 136 | inline void trie_print(TrEntry trie); | ^~~~~~~~~~ ./base_tries.h:135:17: warning: inline function 'trie_usage' declared but never defined 135 | inline void trie_usage(TrEntry trie, YAP_Int *entries, YAP_Int *nodes, YAP_Int *virtual_nodes); | ^~~~~~~~~~ ./base_tries.h:134:17: warning: inline function 'trie_max_stats' declared but never defined 134 | inline void trie_max_stats(YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); | ^~~~~~~~~~~~~~ ./base_tries.h:133:17: warning: inline function 'trie_stats' declared but never defined 133 | inline void trie_stats(YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); | ^~~~~~~~~~ ./base_tries.h:132:17: warning: inline function 'trie_load' declared but never defined 132 | inline TrEntry trie_load(FILE *file); | ^~~~~~~~~ ./base_tries.h:131:17: warning: inline function 'trie_save' declared but never defined 131 | inline void trie_save(TrEntry trie, FILE *file); | ^~~~~~~~~ ./base_tries.h:130:17: warning: inline function 'trie_count_intersect' declared but never defined 130 | inline YAP_Int trie_count_intersect(TrEntry trie1, TrEntry trie2); | ^~~~~~~~~~~~~~~~~~~~ ./base_tries.h:129:17: warning: inline function 'trie_count_join' declared but never defined 129 | inline YAP_Int trie_count_join(TrEntry trie1, TrEntry trie2); | ^~~~~~~~~~~~~~~ ./base_tries.h:128:17: warning: inline function 'trie_intersect' declared but never defined 128 | inline void trie_intersect(TrEntry trie_dest, TrEntry trie_source); | ^~~~~~~~~~~~~~ ./base_tries.h:127:17: warning: inline function 'trie_join' declared but never defined 127 | inline void trie_join(TrEntry trie_dest, TrEntry trie_source); | ^~~~~~~~~ ./base_tries.h:126:17: warning: inline function 'trie_remove_subtree' declared but never defined 126 | inline void trie_remove_subtree(TrData data); | ^~~~~~~~~~~~~~~~~~~ ./base_tries.h:125:17: warning: inline function 'trie_remove_entry' declared but never defined 125 | inline void trie_remove_entry(TrData data); | ^~~~~~~~~~~~~~~~~ ./base_tries.h:124:17: warning: inline function 'trie_traverse_cont' declared but never defined 124 | inline TrData trie_traverse_cont(TrEntry trie); | ^~~~~~~~~~~~~~~~~~ ./base_tries.h:123:17: warning: inline function 'trie_traverse_init' declared but never defined 123 | inline TrData trie_traverse_init(TrEntry trie, TrData init_data); | ^~~~~~~~~~~~~~~~~~ ./base_tries.h:122:17: warning: inline function 'trie_get_last_entry' declared but never defined 122 | inline TrData trie_get_last_entry(TrEntry trie); | ^~~~~~~~~~~~~~~~~~~ ./base_tries.h:121:17: warning: inline function 'trie_get_first_entry' declared but never defined 121 | inline TrData trie_get_first_entry(TrEntry trie); | ^~~~~~~~~~~~~~~~~~~~ ./base_tries.h:120:17: warning: inline function 'trie_get_entry' declared but never defined 120 | inline YAP_Term trie_get_entry(TrData data); | ^~~~~~~~~~~~~~ ./base_tries.h:119:17: warning: inline function 'trie_check_entry' declared but never defined 119 | inline TrData trie_check_entry(TrEntry trie, YAP_Term entry); | ^~~~~~~~~~~~~~~~ ./base_tries.h:118:17: warning: inline function 'trie_put_entry' declared but never defined 118 | inline TrData trie_put_entry(TrEntry trie, YAP_Term entry); | ^~~~~~~~~~~~~~ ./base_tries.h:117:17: warning: inline function 'trie_get_mode' declared but never defined 117 | inline YAP_Int trie_get_mode(void); | ^~~~~~~~~~~~~ ./base_tries.h:116:17: warning: inline function 'trie_set_mode' declared but never defined 116 | inline void trie_set_mode(YAP_Int mode); | ^~~~~~~~~~~~~ ./base_tries.h:115:17: warning: inline function 'trie_close_all' declared but never defined 115 | inline void trie_close_all(void); | ^~~~~~~~~~~~~~ ./base_tries.h:114:17: warning: inline function 'trie_close' declared but never defined 114 | inline void trie_close(TrEntry trie); | ^~~~~~~~~~ ./base_tries.h:113:17: warning: inline function 'trie_open' declared but never defined 113 | inline TrEntry trie_open(void); | ^~~~~~~~~ ./base_tries.h:112:17: warning: inline function 'trie_data_destruct' declared but never defined 112 | inline void trie_data_destruct(TrNode node); | ^~~~~~~~~~~~~~~~~~ ./base_tries.h:111:17: warning: inline function 'trie_data_copy' declared but never defined 111 | inline void trie_data_copy(TrNode node_dest, TrNode node_source); | ^~~~~~~~~~~~~~ ./base_tries.h:110:17: warning: inline function 'trie_data_load' declared but never defined 110 | inline void trie_data_load(TrNode node, YAP_Int depth, FILE *file); | ^~~~~~~~~~~~~~ ./base_tries.h:109:17: warning: inline function 'trie_init_module' declared but never defined 109 | inline void trie_init_module(void); | ^~~~~~~~~~~~~~~~ In file included from ./core_tries.h:318, from ./tries.c:17: ./core_dbtries.h:229:18: warning: inline function 'core_set_trie_db_opt_min_prefix' declared but never defined 229 | inline void core_set_trie_db_opt_min_prefix(YAP_Int min_prefix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:228:18: warning: inline function 'core_get_trie_db_opt_min_prefix' declared but never defined 228 | inline YAP_Int core_get_trie_db_opt_min_prefix(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:227:18: warning: inline function 'core_depth_breadth_trie_replace_nested_trie' declared but never defined 227 | inline void core_depth_breadth_trie_replace_nested_trie(TrNode node, YAP_Int nested_trie_id, YAP_Term new_term); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:226:18: warning: inline function 'core_db_trie_get_optimization_level_count' declared but never defined 226 | inline YAP_Int core_db_trie_get_optimization_level_count(YAP_Int opt_level); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:225:18: warning: inline function 'core_set_trie_db_return_term' declared but never defined 225 | inline void core_set_trie_db_return_term(YAP_Term return_value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:224:18: warning: inline function 'core_get_trie_db_return_term' declared but never defined 224 | inline YAP_Term core_get_trie_db_return_term(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.h:318, from ./tries.c:17: ./core_dbtries.h:223:18: warning: inline function 'core_breadth_reduction' declared but never defined 223 | inline TrNode core_breadth_reduction(TrEngine engine, TrNode node, TrNode breadth_node, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.h:318, from ./tries.c:17: ./core_dbtries.h:222:18: warning: inline function 'core_depth_reduction' declared but never defined 222 | inline TrNode core_depth_reduction(TrEngine engine, TrNode node, TrNode depth_node, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); | ^~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:221:18: warning: inline function 'core_finalize_depth_breadth_trie' declared but never defined 221 | inline void core_finalize_depth_breadth_trie(TrNode depth_node, TrNode breadth_node); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:220:18: warning: inline function 'core_initialize_depth_breadth_trie' declared but never defined 220 | inline void core_initialize_depth_breadth_trie(TrNode node, TrNode *depth_node, TrNode *breadth_node); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:219:18: warning: inline function 'core_get_label_counter' declared but never defined 219 | inline YAP_Int core_get_label_counter(void); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:218:18: warning: inline function 'core_set_label_counter' declared but never defined 218 | inline void core_set_label_counter(YAP_Int value); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./tries.c:17: ./core_tries.h:316:18: warning: inline function 'core_trie_to_list' declared but never defined 316 | inline YAP_Term core_trie_to_list(TrNode node); | ^~~~~~~~~~~~~~~~~ ./core_tries.h:314:17: warning: inline function 'core_enable_hash_table' declared but never defined 314 | inline void core_enable_hash_table(void); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:313:17: warning: inline function 'core_disable_hash_table' declared but never defined 313 | inline void core_disable_hash_table(void); | ^~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:311:17: warning: inline function 'core_trie_print' declared but never defined 311 | inline void core_trie_print(TrNode node, void (*print_function)(TrNode)); | ^~~~~~~~~~~~~~~ ./core_tries.h:310:17: warning: inline function 'core_trie_usage' declared but never defined 310 | inline void core_trie_usage(TrNode node, YAP_Int *entries, YAP_Int *nodes, YAP_Int *virtual_nodes); | ^~~~~~~~~~~~~~~ ./core_tries.h:309:17: warning: inline function 'core_trie_max_stats' declared but never defined 309 | inline void core_trie_max_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:308:17: warning: inline function 'core_trie_stats' declared but never defined 308 | inline void core_trie_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); | ^~~~~~~~~~~~~~~ ./core_tries.h:307:17: warning: inline function 'core_trie_load' declared but never defined 307 | inline TrNode core_trie_load(TrEngine engine, FILE *file, void (*load_function)(TrNode, YAP_Int, FILE *)); | ^~~~~~~~~~~~~~ ./core_tries.h:306:17: warning: inline function 'core_trie_save' declared but never defined 306 | inline void core_trie_save(TrNode node, FILE *file, void (*save_function)(TrNode, FILE *)); | ^~~~~~~~~~~~~~ ./core_tries.h:305:17: warning: inline function 'core_trie_count_intersect' declared but never defined 305 | inline YAP_Int core_trie_count_intersect(TrNode node1, TrNode node2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:304:17: warning: inline function 'core_trie_count_join' declared but never defined 304 | inline YAP_Int core_trie_count_join(TrNode node1, TrNode node2); | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.h:303:17: warning: inline function 'core_trie_intersect' declared but never defined 303 | inline void core_trie_intersect(TrEngine engine, TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode), void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:302:17: warning: inline function 'core_trie_join' declared but never defined 302 | inline void core_trie_join(TrEngine engine, TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode), void (*copy_function)(TrNode, TrNode)); | ^~~~~~~~~~~~~~ ./core_tries.h:301:17: warning: inline function 'core_trie_add' declared but never defined 301 | inline void core_trie_add(TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode)); | ^~~~~~~~~~~~~ ./core_tries.h:300:17: warning: inline function 'core_trie_remove_subtree' declared but never defined 300 | inline void core_trie_remove_subtree(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:299:17: warning: inline function 'core_trie_remove_entry' declared but never defined 299 | inline void core_trie_remove_entry(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:298:17: warning: inline function 'core_trie_get_entry' declared but never defined 298 | inline YAP_Term core_trie_get_entry(TrNode node); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:297:17: warning: inline function 'core_trie_check_entry' declared but never defined 297 | inline TrNode core_trie_check_entry(TrNode node, YAP_Term entry); | ^~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:296:17: warning: inline function 'core_trie_put_entry' declared but never defined 296 | inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:295:17: warning: inline function 'core_trie_get_mode' declared but never defined 295 | inline YAP_Int core_trie_get_mode(void); | ^~~~~~~~~~~~~~~~~~ ./core_tries.h:294:17: warning: inline function 'core_trie_set_mode' declared but never defined 294 | inline void core_trie_set_mode(YAP_Int mode); | ^~~~~~~~~~~~~~~~~~ ./core_tries.h:293:17: warning: inline function 'core_trie_close_all' declared but never defined 293 | inline void core_trie_close_all(TrEngine engine, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:292:17: warning: inline function 'core_trie_close' declared but never defined 292 | inline void core_trie_close(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~ ./core_tries.h:291:17: warning: inline function 'core_trie_open' declared but never defined 291 | inline TrNode core_trie_open(TrEngine engine); | ^~~~~~~~~~~~~~ ./core_tries.h:290:17: warning: inline function 'core_trie_init_module' declared but never defined 290 | inline TrEngine core_trie_init_module(void); | ^~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o tries.so core_tries.o base_tries.o tries.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include ./base_itries.c -o base_itries.o ./base_itries.c:394:23: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_max_stats' which is not static 394 | core_trie_max_stats(ITRIE_ENGINE, memory, tries, entries, nodes); | ^~~~~~~~~~~~ ./base_itries.c:387:19: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_stats' which is not static 387 | core_trie_stats(ITRIE_ENGINE, memory, tries, entries, nodes); | ^~~~~~~~~~~~ ./base_itries.c:380:3: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_load' which is not static 380 | FIRST_ITRIE = itrie; | ^~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.c:379:22: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_load' which is not static 379 | TrEntry_previous(FIRST_ITRIE) = itrie; | ^~~~~~~~~~~ ./base_itries.h:44:38: note: in definition of macro 'TrEntry_previous' 44 | #define TrEntry_previous(X) ((X)->previous) | ^ ./base_itries.c:378:7: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_load' which is not static 378 | if (FIRST_ITRIE) | ^~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:154:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 154 | DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:154:11: note: in expansion of macro 'DECREMENT_MEMORY' 154 | DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:374:5: note: in expansion of macro 'free_itrie_entry' 374 | free_itrie_entry(itrie); | ^~~~~~~~~~~~~~~~ ./base_itries.h:158:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 158 | DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:158:11: note: in expansion of macro 'DECREMENT_MEMORY' 158 | DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:152:11: note: in expansion of macro 'free_itrie_buckets' 152 | { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR)); \ | ^~~~~~~~~~~~~~~~~~ ./base_itries.c:374:5: note: in expansion of macro 'free_itrie_entry' 374 | free_itrie_entry(itrie); | ^~~~~~~~~~~~~~~~ ./base_itries.c:373:31: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 373 | if (!(node = core_trie_load(ITRIE_ENGINE, file, &itrie_data_load))) { | ^~~~~~~~~~~~ ./base_itries.c:372:3: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_load' which is not static 372 | CURRENT_ITRIE = itrie; | ^~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY' 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry' 371 | new_itrie_entry(itrie, NULL); | ^~~~~~~~~~~~~~~ ./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY' 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry' 371 | new_itrie_entry(itrie, NULL); | ^~~~~~~~~~~~~~~ ./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY' 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry' 371 | new_itrie_entry(itrie, NULL); | ^~~~~~~~~~~~~~~ ./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY' 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry' 371 | new_itrie_entry(itrie, NULL); | ^~~~~~~~~~~~~~~ ./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY' 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry' 371 | new_itrie_entry(itrie, NULL); | ^~~~~~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.h:93:58: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_load' which is not static 93 | TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_ITRIE); \ | ^~~~~~~~~~~ ./base_itries.h:76:62: note: in definition of macro 'AS_TR_ENTRY_NEXT' 76 | #define AS_TR_ENTRY_NEXT(ADDR) (TrEntry)((unsigned long int)(ADDR) - sizeof(struct trie_node *) - sizeof(struct itrie_data **) - sizeof(struct itrie_data *)) | ^~~~ ./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry' 371 | new_itrie_entry(itrie, NULL); | ^~~~~~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.h:92:36: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_load' which is not static 92 | TrEntry_next(TR_ENTRY) = FIRST_ITRIE; \ | ^~~~~~~~~~~ ./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry' 371 | new_itrie_entry(itrie, NULL); | ^~~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets' 90 | new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry' 371 | new_itrie_entry(itrie, NULL); | ^~~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets' 90 | new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry' 371 | new_itrie_entry(itrie, NULL); | ^~~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets' 90 | new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry' 371 | new_itrie_entry(itrie, NULL); | ^~~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets' 90 | new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry' 371 | new_itrie_entry(itrie, NULL); | ^~~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets' 90 | new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry' 371 | new_itrie_entry(itrie, NULL); | ^~~~~~~~~~~~~~~ ./base_itries.c:335:23: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_intersect' which is not static 335 | core_trie_intersect(ITRIE_ENGINE, TrEntry_trie(itrie_dest), TrEntry_trie(itrie_source), &itrie_data_add, &itrie_data_destruct); | ^~~~~~~~~~~~ ./base_itries.c:328:18: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_join' which is not static 328 | core_trie_join(ITRIE_ENGINE, TrEntry_trie(itrie_dest), TrEntry_trie(itrie_source), &itrie_data_add, &itrie_data_copy); | ^~~~~~~~~~~~ ./base_itries.c:327:3: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_join' which is not static 327 | CURRENT_ITRIE = itrie_dest; | ^~~~~~~~~~~~~ ./base_itries.c:306:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_remove_subtree' which is not static 306 | core_trie_remove_subtree(ITRIE_ENGINE, TrData_leaf(data), &itrie_data_destruct); | ^~~~~~~~~~~~ ./base_itries.c:299:26: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_remove_entry' which is not static 299 | core_trie_remove_entry(ITRIE_ENGINE, TrData_leaf(data), &itrie_data_destruct); | ^~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data' 208 | new_itrie_data(data, itrie, node, 0, 0, -1, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data' 208 | new_itrie_data(data, itrie, node, 0, 0, -1, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data' 208 | new_itrie_data(data, itrie, node, 0, 0, -1, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data' 208 | new_itrie_data(data, itrie, node, 0, 0, -1, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data' 208 | new_itrie_data(data, itrie, node, 0, 0, -1, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:158:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static 158 | DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:158:11: note: in expansion of macro 'DECREMENT_MEMORY' 158 | DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:119:13: note: in expansion of macro 'free_itrie_buckets' 119 | free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY)); \ | ^~~~~~~~~~~~~~~~~~ ./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data' 208 | new_itrie_data(data, itrie, node, 0, 0, -1, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data' 208 | new_itrie_data(data, itrie, node, 0, 0, -1, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data' 208 | new_itrie_data(data, itrie, node, 0, 0, -1, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data' 208 | new_itrie_data(data, itrie, node, 0, 0, -1, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data' 208 | new_itrie_data(data, itrie, node, 0, 0, -1, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data' 208 | new_itrie_data(data, itrie, node, 0, 0, -1, depth); | ^~~~~~~~~~~~~~ ./base_itries.c:206:30: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static 206 | node = core_trie_put_entry(ITRIE_ENGINE, TrEntry_trie(itrie), entry, &depth); | ^~~~~~~~~~~~ ./base_itries.c:168:5: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_close_all' which is not static 168 | FIRST_ITRIE = itrie; | ^~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:154:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_close_all' which is not static 154 | DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:154:11: note: in expansion of macro 'DECREMENT_MEMORY' 154 | DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:167:5: note: in expansion of macro 'free_itrie_entry' 167 | free_itrie_entry(FIRST_ITRIE); | ^~~~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.c:167:22: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_close_all' which is not static 167 | free_itrie_entry(FIRST_ITRIE); | ^~~~~~~~~~~ ./core_tries.h:233:40: note: in definition of macro 'free_struct' 233 | YAP_FreeSpaceFromYap((char *) (STR)) | ^~~ ./base_itries.c:167:5: note: in expansion of macro 'free_itrie_entry' 167 | free_itrie_entry(FIRST_ITRIE); | ^~~~~~~~~~~~~~~~ ./base_itries.c:167:22: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_close_all' which is not static 167 | free_itrie_entry(FIRST_ITRIE); | ^~~~~~~~~~~ ./core_tries.h:271:39: note: in definition of macro 'DECREMENT_MEMORY' 271 | TrEngine_memory(TR_ENGINE) -= SIZE | ^~~~ ./base_itries.h:152:11: note: in expansion of macro 'free_itrie_buckets' 152 | { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR)); \ | ^~~~~~~~~~~~~~~~~~ ./base_itries.h:152:52: note: in expansion of macro 'TrEntry_num_buckets' 152 | { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR)); \ | ^~~~~~~~~~~~~~~~~~~ ./base_itries.c:167:5: note: in expansion of macro 'free_itrie_entry' 167 | free_itrie_entry(FIRST_ITRIE); | ^~~~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:158:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_close_all' which is not static 158 | DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:158:11: note: in expansion of macro 'DECREMENT_MEMORY' 158 | DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:152:11: note: in expansion of macro 'free_itrie_buckets' 152 | { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR)); \ | ^~~~~~~~~~~~~~~~~~ ./base_itries.c:167:5: note: in expansion of macro 'free_itrie_entry' 167 | free_itrie_entry(FIRST_ITRIE); | ^~~~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.c:167:22: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_close_all' which is not static 167 | free_itrie_entry(FIRST_ITRIE); | ^~~~~~~~~~~ ./core_tries.h:233:40: note: in definition of macro 'free_struct' 233 | YAP_FreeSpaceFromYap((char *) (STR)) | ^~~ ./base_itries.h:152:11: note: in expansion of macro 'free_itrie_buckets' 152 | { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR)); \ | ^~~~~~~~~~~~~~~~~~ ./base_itries.h:152:30: note: in expansion of macro 'TrEntry_buckets' 152 | { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR)); \ | ^~~~~~~~~~~~~~~ ./base_itries.c:167:5: note: in expansion of macro 'free_itrie_entry' 167 | free_itrie_entry(FIRST_ITRIE); | ^~~~~~~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.c:166:26: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_close_all' which is not static 166 | itrie = TrEntry_next(FIRST_ITRIE); | ^~~~~~~~~~~ ./base_itries.h:43:38: note: in definition of macro 'TrEntry_next' 43 | #define TrEntry_next(X) ((X)->next) | ^ ./base_itries.c:165:10: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_close_all' which is not static 165 | while (FIRST_ITRIE) { | ^~~~~~~~~~~ ./base_itries.c:164:23: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_close_all' which is not static 164 | core_trie_close_all(ITRIE_ENGINE, &itrie_data_destruct); | ^~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:154:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_close' which is not static 154 | DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:154:11: note: in expansion of macro 'DECREMENT_MEMORY' 154 | DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:155:3: note: in expansion of macro 'free_itrie_entry' 155 | free_itrie_entry(itrie); | ^~~~~~~~~~~~~~~~ ./base_itries.h:158:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_close' which is not static 158 | DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:158:11: note: in expansion of macro 'DECREMENT_MEMORY' 158 | DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:152:11: note: in expansion of macro 'free_itrie_buckets' 152 | { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR)); \ | ^~~~~~~~~~~~~~~~~~ ./base_itries.c:155:3: note: in expansion of macro 'free_itrie_entry' 155 | free_itrie_entry(itrie); | ^~~~~~~~~~~~~~~~ ./base_itries.c:149:19: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_close' which is not static 149 | core_trie_close(ITRIE_ENGINE, TrEntry_trie(itrie), &itrie_data_destruct); | ^~~~~~~~~~~~ ./base_itries.c:142:3: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_open' which is not static 142 | FIRST_ITRIE = itrie; | ^~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.c:141:22: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_open' which is not static 141 | TrEntry_previous(FIRST_ITRIE) = itrie; | ^~~~~~~~~~~ ./base_itries.h:44:38: note: in definition of macro 'TrEntry_previous' 44 | #define TrEntry_previous(X) ((X)->previous) | ^ ./base_itries.c:140:7: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_open' which is not static 140 | if (FIRST_ITRIE) | ^~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY' 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry' 139 | new_itrie_entry(itrie, node); | ^~~~~~~~~~~~~~~ ./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY' 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry' 139 | new_itrie_entry(itrie, node); | ^~~~~~~~~~~~~~~ ./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY' 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry' 139 | new_itrie_entry(itrie, node); | ^~~~~~~~~~~~~~~ ./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY' 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry' 139 | new_itrie_entry(itrie, node); | ^~~~~~~~~~~~~~~ ./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY' 94 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry' 139 | new_itrie_entry(itrie, node); | ^~~~~~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.h:93:58: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_open' which is not static 93 | TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_ITRIE); \ | ^~~~~~~~~~~ ./base_itries.h:76:62: note: in definition of macro 'AS_TR_ENTRY_NEXT' 76 | #define AS_TR_ENTRY_NEXT(ADDR) (TrEntry)((unsigned long int)(ADDR) - sizeof(struct trie_node *) - sizeof(struct itrie_data **) - sizeof(struct itrie_data *)) | ^~~~ ./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry' 139 | new_itrie_entry(itrie, node); | ^~~~~~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.h:92:36: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_open' which is not static 92 | TrEntry_next(TR_ENTRY) = FIRST_ITRIE; \ | ^~~~~~~~~~~ ./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry' 139 | new_itrie_entry(itrie, node); | ^~~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets' 90 | new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry' 139 | new_itrie_entry(itrie, node); | ^~~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets' 90 | new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry' 139 | new_itrie_entry(itrie, node); | ^~~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets' 90 | new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry' 139 | new_itrie_entry(itrie, node); | ^~~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets' 90 | new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry' 139 | new_itrie_entry(itrie, node); | ^~~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets' 90 | new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry' 139 | new_itrie_entry(itrie, node); | ^~~~~~~~~~~~~~~ ./base_itries.c:138:25: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static 138 | node = core_trie_open(ITRIE_ENGINE); | ^~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:162:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_destruct' which is not static 162 | DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:162:11: note: in expansion of macro 'DECREMENT_MEMORY' 162 | DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:100:3: note: in expansion of macro 'free_itrie_data' 100 | free_itrie_data(data); | ^~~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:41:38: note: in definition of macro 'TrEntry_bucket' 41 | #define TrEntry_bucket(X,N) ((X)->trie_data_buckets + N) | ^ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:47:38: note: in definition of macro 'TrEntry_num_buckets' 47 | #define TrEntry_num_buckets(X) ((X)->number_of_buckets) | ^ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:47:38: note: in definition of macro 'TrEntry_num_buckets' 47 | #define TrEntry_num_buckets(X) ((X)->number_of_buckets) | ^ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:40:38: note: in definition of macro 'TrEntry_buckets' 40 | #define TrEntry_buckets(X) ((X)->trie_data_buckets) | ^ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./core_tries.h:271:39: note: in definition of macro 'DECREMENT_MEMORY' 271 | TrEngine_memory(TR_ENGINE) -= SIZE | ^~~~ ./base_itries.h:119:13: note: in expansion of macro 'free_itrie_buckets' 119 | free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY)); \ | ^~~~~~~~~~~~~~~~~~ ./base_itries.h:119:40: note: in expansion of macro 'TrEntry_num_buckets' 119 | free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY)); \ | ^~~~~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:158:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static 158 | DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:158:11: note: in expansion of macro 'DECREMENT_MEMORY' 158 | DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:119:13: note: in expansion of macro 'free_itrie_buckets' 119 | free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY)); \ | ^~~~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from ./base_itries.c:16: ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:118:20: note: in expansion of macro 'TrEntry_num_buckets' 118 | TrEntry_num_buckets(TR_ENTRY) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:117:20: note: in expansion of macro 'TrEntry_buckets' 117 | memcpy(TrEntry_buckets(TR_ENTRY), bucket, \ | ^~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ In file included from /usr/include/ssp/stdio.h:34, from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./../../include/YapInterface.h:41, from ./base_itries.c:14: ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:117:20: note: in expansion of macro 'TrEntry_buckets' 117 | memcpy(TrEntry_buckets(TR_ENTRY), bucket, \ | ^~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from ./base_itries.c:16: ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:118:20: note: in expansion of macro 'TrEntry_num_buckets' 118 | TrEntry_num_buckets(TR_ENTRY) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:117:20: note: in expansion of macro 'TrEntry_buckets' 117 | memcpy(TrEntry_buckets(TR_ENTRY), bucket, \ | ^~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ In file included from /usr/include/ssp/stdio.h:34, from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./../../include/YapInterface.h:41, from ./base_itries.c:14: ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:117:20: note: in expansion of macro 'TrEntry_buckets' 117 | memcpy(TrEntry_buckets(TR_ENTRY), bucket, \ | ^~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:40:38: note: in definition of macro 'TrEntry_buckets' 40 | #define TrEntry_buckets(X) ((X)->trie_data_buckets) | ^ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:40:38: note: in definition of macro 'TrEntry_buckets' 40 | #define TrEntry_buckets(X) ((X)->trie_data_buckets) | ^ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:47:38: note: in definition of macro 'TrEntry_num_buckets' 47 | #define TrEntry_num_buckets(X) ((X)->number_of_buckets) | ^ ./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data' 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 80 | new_itrie_data(data_dest, CURRENT_ITRIE, node_dest, TrData_pos(data_source), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); | ^~~~~~~~~~~~~ ./base_itries.h:111:35: note: in definition of macro 'new_itrie_data' 111 | TrData_itrie(TR_DATA) = TR_ENTRY; \ | ^~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY' 134 | INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ | ^~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:41:38: note: in definition of macro 'TrEntry_bucket' 41 | #define TrEntry_bucket(X,N) ((X)->trie_data_buckets + N) | ^ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:47:38: note: in definition of macro 'TrEntry_num_buckets' 47 | #define TrEntry_num_buckets(X) ((X)->number_of_buckets) | ^ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:47:38: note: in definition of macro 'TrEntry_num_buckets' 47 | #define TrEntry_num_buckets(X) ((X)->number_of_buckets) | ^ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:40:38: note: in definition of macro 'TrEntry_buckets' 40 | #define TrEntry_buckets(X) ((X)->trie_data_buckets) | ^ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./core_tries.h:271:39: note: in definition of macro 'DECREMENT_MEMORY' 271 | TrEngine_memory(TR_ENGINE) -= SIZE | ^~~~ ./base_itries.h:119:13: note: in expansion of macro 'free_itrie_buckets' 119 | free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY)); \ | ^~~~~~~~~~~~~~~~~~ ./base_itries.h:119:40: note: in expansion of macro 'TrEntry_num_buckets' 119 | free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY)); \ | ^~~~~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:158:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static 158 | DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:158:11: note: in expansion of macro 'DECREMENT_MEMORY' 158 | DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:119:13: note: in expansion of macro 'free_itrie_buckets' 119 | free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY)); \ | ^~~~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from ./base_itries.c:16: ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:118:20: note: in expansion of macro 'TrEntry_num_buckets' 118 | TrEntry_num_buckets(TR_ENTRY) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:117:20: note: in expansion of macro 'TrEntry_buckets' 117 | memcpy(TrEntry_buckets(TR_ENTRY), bucket, \ | ^~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ In file included from /usr/include/ssp/stdio.h:34, from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./../../include/YapInterface.h:41, from ./base_itries.c:14: ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:117:20: note: in expansion of macro 'TrEntry_buckets' 117 | memcpy(TrEntry_buckets(TR_ENTRY), bucket, \ | ^~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:127, from ./base_itries.c:16: ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:118:20: note: in expansion of macro 'TrEntry_num_buckets' 118 | TrEntry_num_buckets(TR_ENTRY) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:117:20: note: in expansion of macro 'TrEntry_buckets' 117 | memcpy(TrEntry_buckets(TR_ENTRY), bucket, \ | ^~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ In file included from /usr/include/ssp/stdio.h:34, from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from ./../../include/YapInterface.h:41, from ./base_itries.c:14: ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:117:20: note: in expansion of macro 'TrEntry_buckets' 117 | memcpy(TrEntry_buckets(TR_ENTRY), bucket, \ | ^~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max' 81 | #define TrEngine_memory_max(X) ((X)->memory_max_used) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory' 77 | #define TrEngine_memory(X) ((X)->memory_in_use) | ^ ./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY' 102 | INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ | ^~~~~~~~~~~~~~~~ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:40:38: note: in definition of macro 'TrEntry_buckets' 40 | #define TrEntry_buckets(X) ((X)->trie_data_buckets) | ^ ./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets' 116 | new_itrie_buckets(TR_ENTRY, new_num_buckets); \ | ^~~~~~~~~~~~~~~~~ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:40:38: note: in definition of macro 'TrEntry_buckets' 40 | #define TrEntry_buckets(X) ((X)->trie_data_buckets) | ^ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:47:38: note: in definition of macro 'TrEntry_num_buckets' 47 | #define TrEntry_num_buckets(X) ((X)->number_of_buckets) | ^ ./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data' 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~~ In file included from ./base_itries.c:18: ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 59 | new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); | ^~~~~~~~~~~~~ ./base_itries.h:111:35: note: in definition of macro 'new_itrie_data' 111 | TrData_itrie(TR_DATA) = TR_ENTRY; \ | ^~~~~~~~ ./base_itries.c:38:3: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_init_module' which is not static 38 | FIRST_ITRIE = NULL; | ^~~~~~~~~~~ ./base_itries.c:37:3: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_init_module' which is not static 37 | ITRIE_ENGINE = core_trie_init_module(); | ^~~~~~~~~~~~ In file included from ./core_tries.h:318, from ./base_itries.c:17: ./core_dbtries.h:229:18: warning: inline function 'core_set_trie_db_opt_min_prefix' declared but never defined 229 | inline void core_set_trie_db_opt_min_prefix(YAP_Int min_prefix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:228:18: warning: inline function 'core_get_trie_db_opt_min_prefix' declared but never defined 228 | inline YAP_Int core_get_trie_db_opt_min_prefix(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:227:18: warning: inline function 'core_depth_breadth_trie_replace_nested_trie' declared but never defined 227 | inline void core_depth_breadth_trie_replace_nested_trie(TrNode node, YAP_Int nested_trie_id, YAP_Term new_term); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:226:18: warning: inline function 'core_db_trie_get_optimization_level_count' declared but never defined 226 | inline YAP_Int core_db_trie_get_optimization_level_count(YAP_Int opt_level); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:225:18: warning: inline function 'core_set_trie_db_return_term' declared but never defined 225 | inline void core_set_trie_db_return_term(YAP_Term return_value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:224:18: warning: inline function 'core_get_trie_db_return_term' declared but never defined 224 | inline YAP_Term core_get_trie_db_return_term(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.h:318, from ./base_itries.c:17: ./core_dbtries.h:223:18: warning: inline function 'core_breadth_reduction' declared but never defined 223 | inline TrNode core_breadth_reduction(TrEngine engine, TrNode node, TrNode breadth_node, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.h:318, from ./base_itries.c:17: ./core_dbtries.h:222:18: warning: inline function 'core_depth_reduction' declared but never defined 222 | inline TrNode core_depth_reduction(TrEngine engine, TrNode node, TrNode depth_node, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); | ^~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:221:18: warning: inline function 'core_finalize_depth_breadth_trie' declared but never defined 221 | inline void core_finalize_depth_breadth_trie(TrNode depth_node, TrNode breadth_node); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:220:18: warning: inline function 'core_initialize_depth_breadth_trie' declared but never defined 220 | inline void core_initialize_depth_breadth_trie(TrNode node, TrNode *depth_node, TrNode *breadth_node); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:219:18: warning: inline function 'core_get_label_counter' declared but never defined 219 | inline YAP_Int core_get_label_counter(void); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:218:18: warning: inline function 'core_set_label_counter' declared but never defined 218 | inline void core_set_label_counter(YAP_Int value); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./core_tries.h:316:18: warning: inline function 'core_trie_to_list' declared but never defined 316 | inline YAP_Term core_trie_to_list(TrNode node); | ^~~~~~~~~~~~~~~~~ ./core_tries.h:314:17: warning: inline function 'core_enable_hash_table' declared but never defined 314 | inline void core_enable_hash_table(void); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:313:17: warning: inline function 'core_disable_hash_table' declared but never defined 313 | inline void core_disable_hash_table(void); | ^~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:311:17: warning: inline function 'core_trie_print' declared but never defined 311 | inline void core_trie_print(TrNode node, void (*print_function)(TrNode)); | ^~~~~~~~~~~~~~~ ./core_tries.h:310:17: warning: inline function 'core_trie_usage' declared but never defined 310 | inline void core_trie_usage(TrNode node, YAP_Int *entries, YAP_Int *nodes, YAP_Int *virtual_nodes); | ^~~~~~~~~~~~~~~ ./core_tries.h:309:17: warning: inline function 'core_trie_max_stats' declared but never defined 309 | inline void core_trie_max_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:308:17: warning: inline function 'core_trie_stats' declared but never defined 308 | inline void core_trie_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); | ^~~~~~~~~~~~~~~ ./core_tries.h:307:17: warning: inline function 'core_trie_load' declared but never defined 307 | inline TrNode core_trie_load(TrEngine engine, FILE *file, void (*load_function)(TrNode, YAP_Int, FILE *)); | ^~~~~~~~~~~~~~ ./core_tries.h:306:17: warning: inline function 'core_trie_save' declared but never defined 306 | inline void core_trie_save(TrNode node, FILE *file, void (*save_function)(TrNode, FILE *)); | ^~~~~~~~~~~~~~ ./core_tries.h:305:17: warning: inline function 'core_trie_count_intersect' declared but never defined 305 | inline YAP_Int core_trie_count_intersect(TrNode node1, TrNode node2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:304:17: warning: inline function 'core_trie_count_join' declared but never defined 304 | inline YAP_Int core_trie_count_join(TrNode node1, TrNode node2); | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.h:303:17: warning: inline function 'core_trie_intersect' declared but never defined 303 | inline void core_trie_intersect(TrEngine engine, TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode), void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:302:17: warning: inline function 'core_trie_join' declared but never defined 302 | inline void core_trie_join(TrEngine engine, TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode), void (*copy_function)(TrNode, TrNode)); | ^~~~~~~~~~~~~~ ./core_tries.h:301:17: warning: inline function 'core_trie_add' declared but never defined 301 | inline void core_trie_add(TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode)); | ^~~~~~~~~~~~~ ./core_tries.h:300:17: warning: inline function 'core_trie_remove_subtree' declared but never defined 300 | inline void core_trie_remove_subtree(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:299:17: warning: inline function 'core_trie_remove_entry' declared but never defined 299 | inline void core_trie_remove_entry(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:298:17: warning: inline function 'core_trie_get_entry' declared but never defined 298 | inline YAP_Term core_trie_get_entry(TrNode node); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:297:17: warning: inline function 'core_trie_check_entry' declared but never defined 297 | inline TrNode core_trie_check_entry(TrNode node, YAP_Term entry); | ^~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:296:17: warning: inline function 'core_trie_put_entry' declared but never defined 296 | inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:295:17: warning: inline function 'core_trie_get_mode' declared but never defined 295 | inline YAP_Int core_trie_get_mode(void); | ^~~~~~~~~~~~~~~~~~ ./core_tries.h:294:17: warning: inline function 'core_trie_set_mode' declared but never defined 294 | inline void core_trie_set_mode(YAP_Int mode); | ^~~~~~~~~~~~~~~~~~ ./core_tries.h:293:17: warning: inline function 'core_trie_close_all' declared but never defined 293 | inline void core_trie_close_all(TrEngine engine, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:292:17: warning: inline function 'core_trie_close' declared but never defined 292 | inline void core_trie_close(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~ ./core_tries.h:291:17: warning: inline function 'core_trie_open' declared but never defined 291 | inline TrNode core_trie_open(TrEngine engine); | ^~~~~~~~~~~~~~ ./core_tries.h:290:17: warning: inline function 'core_trie_init_module' declared but never defined 290 | inline TrEngine core_trie_init_module(void); | ^~~~~~~~~~~~~~~~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include ./itries.c -o itries.o In file included from ./itries.c:18: ./base_itries.h:207:17: warning: inline function 'itrie_print' declared but never defined 207 | inline void itrie_print(TrEntry itrie); | ^~~~~~~~~~~ ./base_itries.h:206:17: warning: inline function 'itrie_usage' declared but never defined 206 | inline void itrie_usage(TrEntry itrie, YAP_Int *entries, YAP_Int *nodes, YAP_Int *virtual_nodes); | ^~~~~~~~~~~ ./base_itries.h:205:17: warning: inline function 'itrie_max_stats' declared but never defined 205 | inline void itrie_max_stats(YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); | ^~~~~~~~~~~~~~~ ./base_itries.h:204:17: warning: inline function 'itrie_stats' declared but never defined 204 | inline void itrie_stats(YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); | ^~~~~~~~~~~ ./base_itries.h:203:17: warning: inline function 'itrie_load' declared but never defined 203 | inline TrEntry itrie_load(FILE *file); | ^~~~~~~~~~ ./base_itries.h:202:17: warning: inline function 'itrie_save_as_trie' declared but never defined 202 | inline void itrie_save_as_trie(TrEntry itrie, FILE *file); | ^~~~~~~~~~~~~~~~~~ ./base_itries.h:201:17: warning: inline function 'itrie_save' declared but never defined 201 | inline void itrie_save(TrEntry itrie, FILE *file); | ^~~~~~~~~~ ./base_itries.h:200:17: warning: inline function 'itrie_count_intersect' declared but never defined 200 | inline YAP_Int itrie_count_intersect(TrEntry itrie1, TrEntry itrie2); | ^~~~~~~~~~~~~~~~~~~~~ ./base_itries.h:199:17: warning: inline function 'itrie_count_join' declared but never defined 199 | inline YAP_Int itrie_count_join(TrEntry itrie1, TrEntry itrie2); | ^~~~~~~~~~~~~~~~ ./base_itries.h:198:17: warning: inline function 'itrie_intersect' declared but never defined 198 | inline void itrie_intersect(TrEntry itrie_dest, TrEntry itrie_source); | ^~~~~~~~~~~~~~~ ./base_itries.h:197:17: warning: inline function 'itrie_join' declared but never defined 197 | inline void itrie_join(TrEntry itrie_dest, TrEntry itrie_source); | ^~~~~~~~~~ ./base_itries.h:196:17: warning: inline function 'itrie_subtract' declared but never defined 196 | inline void itrie_subtract(TrEntry itrie_dest, TrEntry itrie_source); | ^~~~~~~~~~~~~~ ./base_itries.h:195:17: warning: inline function 'itrie_add' declared but never defined 195 | inline void itrie_add(TrEntry itrie_dest, TrEntry itrie_source); | ^~~~~~~~~ ./base_itries.h:194:17: warning: inline function 'itrie_remove_subtree' declared but never defined 194 | inline void itrie_remove_subtree(TrData data); | ^~~~~~~~~~~~~~~~~~~~ ./base_itries.h:193:17: warning: inline function 'itrie_remove_entry' declared but never defined 193 | inline void itrie_remove_entry(TrData data); | ^~~~~~~~~~~~~~~~~~ ./base_itries.h:192:17: warning: inline function 'itrie_traverse_cont' declared but never defined 192 | inline TrData itrie_traverse_cont(TrEntry itrie); | ^~~~~~~~~~~~~~~~~~~ ./base_itries.h:191:17: warning: inline function 'itrie_traverse_init' declared but never defined 191 | inline TrData itrie_traverse_init(TrEntry itrie); | ^~~~~~~~~~~~~~~~~~~ ./base_itries.h:190:17: warning: inline function 'itrie_get_data' declared but never defined 190 | inline void itrie_get_data(TrData data, YAP_Int *pos, YAP_Int *neg, YAP_Int *timestamp); | ^~~~~~~~~~~~~~ ./base_itries.h:189:17: warning: inline function 'itrie_get_entry' declared but never defined 189 | inline YAP_Term itrie_get_entry(TrData data); | ^~~~~~~~~~~~~~~ ./base_itries.h:188:17: warning: inline function 'itrie_check_entry' declared but never defined 188 | inline TrData itrie_check_entry(TrEntry itrie, YAP_Term entry); | ^~~~~~~~~~~~~~~~~ ./base_itries.h:187:17: warning: inline function 'itrie_update_entry' declared but never defined 187 | inline void itrie_update_entry(TrEntry itrie, YAP_Term entry); | ^~~~~~~~~~~~~~~~~~ ./base_itries.h:186:17: warning: inline function 'itrie_put_entry' declared but never defined 186 | inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); | ^~~~~~~~~~~~~~~ ./base_itries.h:185:17: warning: inline function 'itrie_get_timestamp' declared but never defined 185 | inline YAP_Int itrie_get_timestamp(TrEntry itrie); | ^~~~~~~~~~~~~~~~~~~ ./base_itries.h:184:17: warning: inline function 'itrie_set_timestamp' declared but never defined 184 | inline void itrie_set_timestamp(TrEntry itrie, YAP_Int timestamp); | ^~~~~~~~~~~~~~~~~~~ ./base_itries.h:183:17: warning: inline function 'itrie_get_mode' declared but never defined 183 | inline YAP_Int itrie_get_mode(TrEntry itrie); | ^~~~~~~~~~~~~~ ./base_itries.h:182:17: warning: inline function 'itrie_set_mode' declared but never defined 182 | inline void itrie_set_mode(TrEntry itrie, YAP_Int mode); | ^~~~~~~~~~~~~~ ./base_itries.h:181:17: warning: inline function 'itrie_close_all' declared but never defined 181 | inline void itrie_close_all(void); | ^~~~~~~~~~~~~~~ ./base_itries.h:180:17: warning: inline function 'itrie_close' declared but never defined 180 | inline void itrie_close(TrEntry itrie); | ^~~~~~~~~~~ ./base_itries.h:179:17: warning: inline function 'itrie_open' declared but never defined 179 | inline TrEntry itrie_open(void); | ^~~~~~~~~~ ./base_itries.h:178:17: warning: inline function 'itrie_data_subtract' declared but never defined 178 | inline void itrie_data_subtract(TrNode node_dest, TrNode node_source); | ^~~~~~~~~~~~~~~~~~~ ./base_itries.h:177:17: warning: inline function 'itrie_data_add' declared but never defined 177 | inline void itrie_data_add(TrNode node_dest, TrNode node_source); | ^~~~~~~~~~~~~~ ./base_itries.h:176:17: warning: inline function 'itrie_data_destruct' declared but never defined 176 | inline void itrie_data_destruct(TrNode node); | ^~~~~~~~~~~~~~~~~~~ ./base_itries.h:175:17: warning: inline function 'itrie_data_copy' declared but never defined 175 | inline void itrie_data_copy(TrNode node_dest, TrNode node_source); | ^~~~~~~~~~~~~~~ ./base_itries.h:174:17: warning: inline function 'itrie_data_print' declared but never defined 174 | inline void itrie_data_print(TrNode node); | ^~~~~~~~~~~~~~~~ ./base_itries.h:173:17: warning: inline function 'itrie_data_load' declared but never defined 173 | inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); | ^~~~~~~~~~~~~~~ ./base_itries.h:172:17: warning: inline function 'itrie_data_save' declared but never defined 172 | inline void itrie_data_save(TrNode node, FILE *file); | ^~~~~~~~~~~~~~~ ./base_itries.h:171:17: warning: inline function 'itrie_init_module' declared but never defined 171 | inline void itrie_init_module(void); | ^~~~~~~~~~~~~~~~~ In file included from ./core_tries.h:318, from ./itries.c:17: ./core_dbtries.h:229:18: warning: inline function 'core_set_trie_db_opt_min_prefix' declared but never defined 229 | inline void core_set_trie_db_opt_min_prefix(YAP_Int min_prefix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:228:18: warning: inline function 'core_get_trie_db_opt_min_prefix' declared but never defined 228 | inline YAP_Int core_get_trie_db_opt_min_prefix(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:227:18: warning: inline function 'core_depth_breadth_trie_replace_nested_trie' declared but never defined 227 | inline void core_depth_breadth_trie_replace_nested_trie(TrNode node, YAP_Int nested_trie_id, YAP_Term new_term); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:226:18: warning: inline function 'core_db_trie_get_optimization_level_count' declared but never defined 226 | inline YAP_Int core_db_trie_get_optimization_level_count(YAP_Int opt_level); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:225:18: warning: inline function 'core_set_trie_db_return_term' declared but never defined 225 | inline void core_set_trie_db_return_term(YAP_Term return_value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:224:18: warning: inline function 'core_get_trie_db_return_term' declared but never defined 224 | inline YAP_Term core_get_trie_db_return_term(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.h:318, from ./itries.c:17: ./core_dbtries.h:223:18: warning: inline function 'core_breadth_reduction' declared but never defined 223 | inline TrNode core_breadth_reduction(TrEngine engine, TrNode node, TrNode breadth_node, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.h:318, from ./itries.c:17: ./core_dbtries.h:222:18: warning: inline function 'core_depth_reduction' declared but never defined 222 | inline TrNode core_depth_reduction(TrEngine engine, TrNode node, TrNode depth_node, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); | ^~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:221:18: warning: inline function 'core_finalize_depth_breadth_trie' declared but never defined 221 | inline void core_finalize_depth_breadth_trie(TrNode depth_node, TrNode breadth_node); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:220:18: warning: inline function 'core_initialize_depth_breadth_trie' declared but never defined 220 | inline void core_initialize_depth_breadth_trie(TrNode node, TrNode *depth_node, TrNode *breadth_node); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:219:18: warning: inline function 'core_get_label_counter' declared but never defined 219 | inline YAP_Int core_get_label_counter(void); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:218:18: warning: inline function 'core_set_label_counter' declared but never defined 218 | inline void core_set_label_counter(YAP_Int value); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./itries.c:17: ./core_tries.h:316:18: warning: inline function 'core_trie_to_list' declared but never defined 316 | inline YAP_Term core_trie_to_list(TrNode node); | ^~~~~~~~~~~~~~~~~ ./core_tries.h:314:17: warning: inline function 'core_enable_hash_table' declared but never defined 314 | inline void core_enable_hash_table(void); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:313:17: warning: inline function 'core_disable_hash_table' declared but never defined 313 | inline void core_disable_hash_table(void); | ^~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:311:17: warning: inline function 'core_trie_print' declared but never defined 311 | inline void core_trie_print(TrNode node, void (*print_function)(TrNode)); | ^~~~~~~~~~~~~~~ ./core_tries.h:310:17: warning: inline function 'core_trie_usage' declared but never defined 310 | inline void core_trie_usage(TrNode node, YAP_Int *entries, YAP_Int *nodes, YAP_Int *virtual_nodes); | ^~~~~~~~~~~~~~~ ./core_tries.h:309:17: warning: inline function 'core_trie_max_stats' declared but never defined 309 | inline void core_trie_max_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:308:17: warning: inline function 'core_trie_stats' declared but never defined 308 | inline void core_trie_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); | ^~~~~~~~~~~~~~~ ./core_tries.h:307:17: warning: inline function 'core_trie_load' declared but never defined 307 | inline TrNode core_trie_load(TrEngine engine, FILE *file, void (*load_function)(TrNode, YAP_Int, FILE *)); | ^~~~~~~~~~~~~~ ./core_tries.h:306:17: warning: inline function 'core_trie_save' declared but never defined 306 | inline void core_trie_save(TrNode node, FILE *file, void (*save_function)(TrNode, FILE *)); | ^~~~~~~~~~~~~~ ./core_tries.h:305:17: warning: inline function 'core_trie_count_intersect' declared but never defined 305 | inline YAP_Int core_trie_count_intersect(TrNode node1, TrNode node2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:304:17: warning: inline function 'core_trie_count_join' declared but never defined 304 | inline YAP_Int core_trie_count_join(TrNode node1, TrNode node2); | ^~~~~~~~~~~~~~~~~~~~ ./core_tries.h:303:17: warning: inline function 'core_trie_intersect' declared but never defined 303 | inline void core_trie_intersect(TrEngine engine, TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode), void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:302:17: warning: inline function 'core_trie_join' declared but never defined 302 | inline void core_trie_join(TrEngine engine, TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode), void (*copy_function)(TrNode, TrNode)); | ^~~~~~~~~~~~~~ ./core_tries.h:301:17: warning: inline function 'core_trie_add' declared but never defined 301 | inline void core_trie_add(TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode)); | ^~~~~~~~~~~~~ ./core_tries.h:300:17: warning: inline function 'core_trie_remove_subtree' declared but never defined 300 | inline void core_trie_remove_subtree(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:299:17: warning: inline function 'core_trie_remove_entry' declared but never defined 299 | inline void core_trie_remove_entry(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:298:17: warning: inline function 'core_trie_get_entry' declared but never defined 298 | inline YAP_Term core_trie_get_entry(TrNode node); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:297:17: warning: inline function 'core_trie_check_entry' declared but never defined 297 | inline TrNode core_trie_check_entry(TrNode node, YAP_Term entry); | ^~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:296:17: warning: inline function 'core_trie_put_entry' declared but never defined 296 | inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:295:17: warning: inline function 'core_trie_get_mode' declared but never defined 295 | inline YAP_Int core_trie_get_mode(void); | ^~~~~~~~~~~~~~~~~~ ./core_tries.h:294:17: warning: inline function 'core_trie_set_mode' declared but never defined 294 | inline void core_trie_set_mode(YAP_Int mode); | ^~~~~~~~~~~~~~~~~~ ./core_tries.h:293:17: warning: inline function 'core_trie_close_all' declared but never defined 293 | inline void core_trie_close_all(TrEngine engine, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:292:17: warning: inline function 'core_trie_close' declared but never defined 292 | inline void core_trie_close(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); | ^~~~~~~~~~~~~~~ ./core_tries.h:291:17: warning: inline function 'core_trie_open' declared but never defined 291 | inline TrNode core_trie_open(TrEngine engine); | ^~~~~~~~~~~~~~ ./core_tries.h:290:17: warning: inline function 'core_trie_init_module' declared but never defined 290 | inline TrEngine core_trie_init_module(void); | ^~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o itries.so core_tries.o base_itries.o itries.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/library/tries' (cd packages/clib; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib' gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/uid.c -o uid.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/uid.c:233:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 233 | install_uid() | ^~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o uid.so uid.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/error.c -o error.o gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/unix.c -o unix.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/unix.c:346:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 346 | pl_detach_IO() | ^~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/unix.c:376:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 376 | install_unix() | ^~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o unix.so error.o unix.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/socket.c -o socket.o In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/socket.c:48: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.h:77: warning: "socklen_t" redefined 77 | #define socklen_t size_t | In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.h:65, from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/socket.c:48: /usr/include/sys/socket.h:84: note: this is the location of the previous definition 84 | #define socklen_t __socklen_t | /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/socket.c:84:1: warning: no previous prototype for 'tcp_get_socket' [-Wmissing-prototypes] 84 | tcp_get_socket(term_t Socket, int *id) | ^~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/socket.c:702:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 702 | uninstall_socket() | ^~~~~~~~~~~~~~~~ gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.c -o nonblockio.o In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.c:132: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.h:77: warning: "socklen_t" redefined 77 | #define socklen_t size_t | In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.h:65, from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.c:132: /usr/include/sys/socket.h:84: note: this is the location of the previous definition 84 | #define socklen_t __socklen_t | /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.c:323:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 323 | tcp_debug() | ^~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.c: In function 'nbio_error': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.c:1550:16: warning: variable 'map' set but not used [-Wunused-but-set-variable] 1550 | error_codes *map; | ^~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o socket.so error.o socket.o nonblockio.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/form.c -o form.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/form.c:238:1: warning: no previous prototype for 'next_line' [-Wmissing-prototypes] 238 | next_line(const char *in) | ^~~~~~~~~ In file included from /usr/include/stdio.h:595, from /usr/include/wchar.h:67, from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include/YapInterface.h:41, from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include/SWI-Prolog.h:36, from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/form.c:29: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/form.c: In function 'get_raw_form_data': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/form.c:344:15: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 344 | sprintf(msg, "> %ld", *lenp); | ^~~~~~~ ~~~~~ | | | size_t {aka unsigned int} /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/form.c:344:20: note: format string is defined here 344 | sprintf(msg, "> %ld", *lenp); | ~~^ | | | long int | %d gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/cgi.c -o cgi.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/cgi.c:187:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 187 | install_cgi() | ^~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o cgi.so error.o form.o cgi.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/memfile.c -o memfile.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/memfile.c:516:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 516 | install_memfile() | ^~~~~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o memfile.so error.o memfile.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread -lgmp -lreadline -lresolv -lcrypt -lstdc++ -lm gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/files.c -o files.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/files.c:295:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 295 | install_files() | ^~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/files.c:125:1: warning: 'get_time_option' defined but not used [-Wunused-function] 125 | get_time_option(term_t list, functor_t f, time_t def, time_t *tme) | ^~~~~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o files.so error.o files.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread -lgmp -lreadline -lresolv -lcrypt -lstdc++ -lm gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/mime.c -o mime.o In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/mime.c:36: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045/rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045/rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045/rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045/rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045/rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/mime.c:485:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 485 | install_mime() | ^~~~~~~~~~~~ (cd maildrop/rfc2045 && /usr/pkg/bin/gmake) gmake[2]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045' gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045.c -o rfc2045.o In file included from rfc2045.c:19: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ rfc2045.c:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 31 | extern void rfc2045_enomem(); | ^~~~~~ rfc2045.c:40:17: warning: function declaration isn't a prototype [-Wstrict-prototypes] 40 | struct rfc2045 *rfc2045_alloc() | ^~~~~~~~~~~~~ rfc2045.c:181:6: warning: no previous prototype for 'rfc2045_add_buf' [-Wmissing-prototypes] 181 | void rfc2045_add_buf( | ^~~~~~~~~~~~~~~ rfc2045.c:209:6: warning: no previous prototype for 'rfc2045_add_workbuf' [-Wmissing-prototypes] 209 | void rfc2045_add_workbuf(struct rfc2045 *h, const char *p, size_t len) | ^~~~~~~~~~~~~~~~~~~ rfc2045.c:216:6: warning: no previous prototype for 'rfc2045_add_workbufch' [-Wmissing-prototypes] 216 | void rfc2045_add_workbufch(struct rfc2045 *h, int c) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ctype.h:100, from rfc2045.c:18: rfc2045.c: In function 'lower_paste_tokens': rfc2045.c:732:14: warning: array subscript has type 'char' [-Wchar-subscripts] 732 | *q=tolower(*q); | ^ rfc2045.c: In function 'lower_paste_token': rfc2045.c:748:14: warning: array subscript has type 'char' [-Wchar-subscripts] 748 | *q=tolower(*q); | ^ rfc2045.c: At top level: rfc2045.c:1146:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1146 | const char *rfc2045_getdefaultcharset() | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045acchk.c -o rfc2045acchk.o In file included from rfc2045acchk.c:9: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ rfc2045acchk.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 25 | extern void rfc2045_enomem(); | ^~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045acprep.c -o rfc2045acprep.o In file included from rfc2045acprep.c:6: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ rfc2045acprep.c:14:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 14 | static void end_rwprep(); | ^~~~~~ rfc2045acprep.c:37:17: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | struct rfc2045 *rfc2045_alloc_ac() | ^~~~~~~~~~~~~~~~ rfc2045acprep.c:105:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 105 | static void end_rwprep() | ^~~~~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045appendurl.c -o rfc2045appendurl.o In file included from rfc2045appendurl.c:19: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ rfc2045appendurl.c:21:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 21 | extern void rfc2045_enomem(); | ^~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045cdecode.c -o rfc2045cdecode.o In file included from rfc2045cdecode.c:6: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ rfc2045cdecode.c: In function 'do_decode_base64': rfc2045cdecode.c:68:5: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 68 | int rc; | ^~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045decode.c -o rfc2045decode.o In file included from rfc2045decode.c:9: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045enomem.c -o rfc2045enomem.o In file included from rfc2045enomem.c:4: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ rfc2045enomem.c:6:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 6 | void rfc2045_enomem() | ^~~~~~~~~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045_base64encode.c -o rfc2045_base64encode.o In file included from rfc2045_base64encode.c:9: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ rfc2045_base64encode.c:47:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 47 | void rfc2045_base64encode_end() | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045_fromfd.c -o rfc2045_fromfd.o In file included from rfc2045_fromfd.c:15: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045find.c -o rfc2045find.o In file included from rfc2045find.c:9: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045mkboundary.c -o rfc2045mkboundary.o In file included from rfc2045mkboundary.c:9: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ rfc2045mkboundary.c:33:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 33 | extern void rfc2045_enomem(); | ^~~~~~ In file included from /usr/include/stdio.h:595, from rfc2045.h:14, from rfc2045mkboundary.c:9: rfc2045mkboundary.c: In function 'rfc2045_mk_boundary': rfc2045mkboundary.c:60:19: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 60 | sprintf(timebuf, "%ld", mytime); | ^~~~~ ~~~~~~ | | | time_t {aka long long int} rfc2045mkboundary.c:60:22: note: format string is defined here 60 | sprintf(timebuf, "%ld", mytime); | ~~^ | | | long int | %lld gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045rewrite.c -o rfc2045rewrite.o In file included from rfc2045rewrite.c:9: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ rfc2045rewrite.c:48:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 48 | static void qpe_start(); | ^~~~~~ rfc2045rewrite.c:50:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 50 | static void qpe_end(); | ^~~~~~ rfc2045rewrite.c:53:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] 53 | static int fdout_flush() | ^~~~~~~~~~~ rfc2045rewrite.c:424:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 424 | static void qpe_start() | ^~~~~~~~~ rfc2045rewrite.c:471:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 471 | static void qpe_end() | ^~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045tryboundary.c -o rfc2045tryboundary.o In file included from rfc2045tryboundary.c:9: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2045xdump.c -o rfc2045xdump.o In file included from rfc2045xdump.c:10: rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 97 | struct rfc2045 *rfc2045_alloc(); | ^~~~~~~ rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 144 | void rfc2045_base64encode_end(); | ^~~~ rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | const char *rfc2045_getdefaultcharset(); | ^~~~~ rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] 157 | void (*end_section)(); | ^~~~ rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | struct rfc2045 *rfc2045_alloc_ac(); | ^~~~~~~ rm -f librfc2045.a ar r librfc2045.a rfc2045.o rfc2045acchk.o rfc2045acprep.o rfc2045appendurl.o rfc2045cdecode.o rfc2045decode.o rfc2045enomem.o rfc2045_base64encode.o rfc2045_fromfd.o rfc2045find.o rfc2045mkboundary.o rfc2045rewrite.o rfc2045tryboundary.o rfc2045xdump.o ar: creating librfc2045.a ranlib librfc2045.a gmake[2]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045' (cd maildrop/rfc822 && /usr/pkg/bin/gmake) gmake[2]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822' gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc822.c -o rfc822.o gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc822_getaddr.c -o rfc822_getaddr.o gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc822_getaddrs.c -o rfc822_getaddrs.o gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc822_mkdate.c -o rfc822_mkdate.o gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc822_parsedt.c -o rfc822_parsedt.o In file included from /usr/include/ctype.h:100, from rfc822_parsedt.c:11: rfc822_parsedt.c: In function 'parsekey': rfc822_parsedt.c:81:22: warning: array subscript has type 'char' [-Wchar-subscripts] 81 | if (tolower(ary[m][j]) != tolower((*mon)[j])) | ^ rfc822_parsedt.c:81:44: warning: array subscript has type 'char' [-Wchar-subscripts] 81 | if (tolower(ary[m][j]) != tolower((*mon)[j])) | ^ rfc822_parsedt.c: At top level: rfc822_parsedt.c:113:8: warning: no previous prototype for 'rfc822_parsedt' [-Wmissing-prototypes] 113 | time_t rfc822_parsedt(const char *rfcdt) | ^~~~~~~~~~~~~~ rfc822_parsedt.c:225:13: warning: no previous prototype for 'rfc822_mkdt' [-Wmissing-prototypes] 225 | const char *rfc822_mkdt(time_t t) | ^~~~~~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2047u.c -o rfc2047u.o rfc2047u.c:16:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 16 | static const char rcsid[]="$Id$"; | ^~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2047.c -o rfc2047.o rfc2047.c:15:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 15 | static const char rcsid[]="$Id$"; | ^~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H imapsubj.c -o imapsubj.o imapsubj.c: In function 'stripsubj': imapsubj.c:27:21: warning: implicit declaration of function 'strnicmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 27 | #define strncasecmp strnicmp | ^~~~~~~~ imapsubj.c:73:20: note: in expansion of macro 'strncasecmp' 73 | if (p-s >= 5 && strncasecmp(p-5, "(FWD)", 5) == 0) | ^~~~~~~~~~~ gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H imaprefs.c -o imaprefs.o rm -f librfc822.a ar r librfc822.a rfc822.o rfc822_getaddr.o rfc822_getaddrs.o rfc822_mkdate.o rfc822_parsedt.o rfc2047u.o rfc2047.o imapsubj.o imaprefs.o ar: creating librfc822.a ranlib librfc822.a gmake[2]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822' gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o mime.so error.o mime.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread maildrop/rfc2045/librfc2045.a maildrop/rfc822/librfc822.a gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/time.c -o time.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/time.c:225:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 225 | allocEvent() | ^~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/time.c:350:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 350 | cleanupHandler() | ^~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/time.c:359:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 359 | installHandler() | ^~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/time.c:678:1: warning: no previous prototype for 'alarm_error' [-Wmissing-prototypes] 678 | alarm_error(term_t alarm, int err) | ^~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/time.c:994:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 994 | install_time() | ^~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/time.c:1029:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1029 | uninstall_time() | ^~~~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o time.so error.o time.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread -lgmp -lreadline -lresolv -lcrypt -lstdc++ -lm gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/readutil.c -o readutil.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/readutil.c:163:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 163 | install_readutil() | ^~~~~~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o readutil.so readutil.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/streaminfo.c -o streaminfo.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/streaminfo.c:107:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 107 | install_streaminfo() | ^~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o streaminfo.so error.o streaminfo.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/process.c -o process.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/process.c: In function 'process_kill': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/process.c:1531:8: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration] 1531 | if ( kill(p, sig) == 0 ) | ^~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/process.c: At top level: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/process.c:1553:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1553 | install_process() | ^~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/process.c: In function 'process_wait': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/process.c:1212:14: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] 1212 | { if ( (p2=waitpid(pid, &status, 0)) == pid ) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/process.c:1467:9: note: 'p' was declared here 1467 | { pid_t p; | ^ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/process.c: In function 'process_kill': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/process.c:1531:8: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] 1531 | if ( kill(p, sig) == 0 ) | ^~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o process.so error.o process.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/sha4pl.c -o sha4pl.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/sha4pl.c:275:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 275 | install_sha4pl() | ^~~~~~~~~~~~~~ gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H -DUSE_SHA1 -o sha1/sha1.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/sha1/sha1.c gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H -DUSE_SHA1 -o sha1/sha2.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/sha1/sha2.c gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H -DUSE_SHA1 -o sha1/hmac_sha1.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/sha1/hmac.c gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H -DUSE_SHA256 -o sha1/hmac_sha256.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/sha1/hmac.c gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o sha4pl.so error.o sha4pl.o sha1/sha1.o sha1/sha2.o sha1/hmac_sha1.o sha1/hmac_sha256.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/uri.c -o uri.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/uri.c:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 160 | fill_flags() | ^~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/uri.c:1571:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1571 | install_uri() | ^~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib/uri.c:1605:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1605 | uninstall_uri() | ^~~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o uri.so uri.o -lgmp -lreadline -lresolv -lcrypt -lstdc++ -lm -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/clib' (cd packages/http; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http' gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/http_stream.c -o http_stream.o In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/http_stream.c:25: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/http_error.c:128:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 128 | instantiation_error() | ^~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/http_error.c:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 161 | init_errors() | ^~~~~~~~~~~ In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/http_stream.c:26: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/http_chunked.c:288:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 288 | install_http_chunked() | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/http_stream.c:27: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/cgi_stream.c:767:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 767 | install_cgi_stream() | ^~~~~~~~~~~~~~~~~~ In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/http_stream.c:28: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/stream_range.c:217:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 217 | install_stream_range() | ^~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/http_stream.c:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 31 | install_http_stream() | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/http_stream.c:27: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/cgi_stream.c: In function 'cgi_property': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/cgi_stream.c:320:67: warning: 'ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] 320 | rc = PL_unify_chars(arg, PL_CODE_LIST, ctx->data_offset, ctx->data); | ~~~^~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/cgi_stream.c:340:3: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] 340 | PL_release_stream(s); | ^~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/cgi_stream.c: In function 'cgi_discard': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/cgi_stream.c:431:30: warning: 'ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] 431 | ctx->cgi_stream->bufp = ctx->cgi_stream->buffer; | ~~~^~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/cgi_stream.c:432:3: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] 432 | PL_release_stream(s); | ^~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/cgi_stream.c: In function 'cgi_set': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/cgi_stream.c:405:32: warning: 'ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] 405 | { ctx->transfer_encoding = enc; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/cgi_stream.c:416:3: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] 416 | PL_release_stream(s); | ^~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/share/Yap/http -o http_stream.so http_stream.o -lgmp -lreadline -lresolv -lcrypt -lstdc++ -lm -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/json.c -o json.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http/json.c:149:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 149 | install_json() | ^~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/share/Yap/http -o json.so json.o -lgmp -lreadline -lresolv -lcrypt -lstdc++ -lm -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/http' (cd packages/pldoc; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/pldoc' gmake[1]: Nothing to be done for 'top'. gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/pldoc' (cd packages/plunit; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/plunit' Nothing to do for this package gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/plunit' (cd packages/R; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/R' Nothing to do for this package gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/R' (cd packages/RDF; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/RDF' Nothing to do for this package gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/RDF' (cd packages/semweb; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb' gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c -o rdf_db.o In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:60: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/debug.h:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 31 | int rdf_debuglevel(); | ^~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:625:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 625 | check_index_tables() | ^~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:2136:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2136 | new_db() | ^~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c: In function 'load_db': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:3456:7: warning: variable 'version' set but not used [-Wunused-but-set-variable] 3456 | { int version; | ^~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c: At top level: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:4681:1: warning: no previous prototype for 'put_begin_end' [-Wmissing-prototypes] 4681 | put_begin_end(term_t t, functor_t be, int level) | ^~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c: In function 'next_search_state': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:5155:7: warning: variable 'unify_pred' set but not used [-Wunused-but-set-variable] 5155 | int unify_pred; | ^~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c: At top level: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:6876:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 6876 | rdf_reset_db() | ^~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:6960:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 6960 | install_rdf_db() | ^~~~~~~~~~~~~~ gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/atom.c -o atom.o gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/lock.c -o lock.o In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/lock.c:28: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/debug.h:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 31 | int rdf_debuglevel(); | ^~~ gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/md5.c -o md5.o gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/avl.c -o avl.o gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/atom_map.c -o atom_map.o In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/atom_map.c:35: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/debug.h:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 31 | int rdf_debuglevel(); | ^~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/atom_map.c:143:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 143 | init_functors() | ^~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/atom_map.c:290:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 290 | init_datum_store() | ^~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/atom_map.c:1149:1: warning: no previous prototype for 'rdf_statistics_literal_map' [-Wmissing-prototypes] 1149 | rdf_statistics_literal_map(term_t map, term_t key) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/atom_map.c:1179:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 1179 | install_atom_map() | ^~~~~~~~~~~~~~~~ gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/debug.c -o debug.o In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/debug.c:26: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/debug.h:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 31 | int rdf_debuglevel(); | ^~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/debug.c:33:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 33 | rdf_debuglevel() | ^~~~~~~~~~~~~~ gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/hash.c -o hash.o gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/murmur.c -o murmur.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/murmur.c:69:1: warning: no previous prototype for 'rdf_murmer_hash' [-Wmissing-prototypes] 69 | rdf_murmer_hash(const void *key, int len, unsigned int seed) | ^~~~~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/share/Yap/semweb -o rdf_db.so rdf_db.o atom.o lock.o md5.o avl.o atom_map.o debug.o hash.o murmur.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/turtle.c -o turtle.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/turtle.c:608:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 608 | install_turtle() | ^~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/turtle.c: In function 'string_escape': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb/turtle.c:306:10: warning: 'esc' may be used uninitialized in this function [-Wmaybe-uninitialized] 306 | *value = esc; | ~~~~~~~^~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/share/Yap/semweb -o turtle.so turtle.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/semweb' (cd packages/sgml; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml' gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/parser.c -o parser.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/parser.c:256:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 256 | new_symbol_table() | ^~~~~~~~~~~~~~~~ gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/util.c -o util.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/util.c:807:1: warning: no previous prototype for 'wputs' [-Wmissing-prototypes] 807 | wputs(ichar *s) | ^~~~~ gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/charmap.c -o charmap.o gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/catalog.c -o catalog.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/catalog.c:171:1: warning: no previous prototype for 'register_catalog_file_unlocked' [-Wmissing-prototypes] 171 | register_catalog_file_unlocked(const ichar *file, catalog_location where) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/catalog.c:220:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 220 | init_catalog() | ^~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/catalog.c: In function 'find_in_catalogue': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/catalog.c:471:30: warning: array subscript -1 is outside array bounds of 'ichar[2048]' {aka 'int[2048]'} [-Warray-bounds] 91 | #define isDirSep(c) ((c) == '/') | ~~~ ...... 471 | if (p != base && !isDirSep(p[-1])) /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/catalog.c:91:23: note: in definition of macro 'isDirSep' 91 | #define isDirSep(c) ((c) == '/') | ^ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/catalog.c:447:9: note: while referencing 'base' 447 | ichar base[2 * FILENAME_MAX]; | ^~~~ gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/model.c -o model.o gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/xmlns.c -o xmlns.o gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/utf8.c -o utf8.o gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/xml_unicode.c -o xml_unicode.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/xml_unicode.c:41:1: warning: no previous prototype for 'xml_basechar' [-Wmissing-prototypes] 41 | xml_basechar(int c) | ^~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/xml_unicode.c:798:1: warning: no previous prototype for 'xml_ideographic' [-Wmissing-prototypes] 798 | xml_ideographic(int c) | ^~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/xml_unicode.c:810:1: warning: no previous prototype for 'xml_combining_char' [-Wmissing-prototypes] 810 | xml_combining_char(int c) | ^~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/xml_unicode.c:1162:1: warning: no previous prototype for 'xml_digit' [-Wmissing-prototypes] 1162 | xml_digit(int c) | ^~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/xml_unicode.c:1223:1: warning: no previous prototype for 'xml_extender' [-Wmissing-prototypes] 1223 | xml_extender(int c) | ^~~~~~~~~~~~ gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/error.c -o error.o gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c -o sgml2pl.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c:180:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 180 | initConstants() | ^~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c:780:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 780 | reset_url_cache() | ^~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c:2466:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2466 | { int (*func)(); | ^ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c:2488:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2488 | initprops() | ^~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c:2586:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2586 | install() | ^~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c:2613:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 2613 | uninstall() | ^~~~~~~~~ gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/quote.c -o quote.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/quote.c:472:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 472 | install_xml_quote() | ^~~~~~~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o sgml2pl.so parser.o util.o charmap.o catalog.o model.o xmlns.o utf8.o xml_unicode.o error.o sgml2pl.o quote.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/dtd2pl.c -o dtd2pl.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/dtd2pl.c:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 38 | usage() | ^~~~~ gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/prolog.c -o prolog.o gcc -shared -Wl,-export-dynamic -o dtd2pl parser.o util.o charmap.o catalog.o model.o xmlns.o utf8.o xml_unicode.o dtd2pl.o prolog.o gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml/sgml.c -o sgml.o gcc -shared -Wl,-export-dynamic -o sgml parser.o util.o charmap.o catalog.o model.o xmlns.o utf8.o xml_unicode.o sgml.o gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/sgml' (cd packages/CLPBN/horus; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/CLPBN/horus' c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG BayesBall.cpp -o BayesBall.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG BayesBallGraph.cpp -o BayesBallGraph.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG BeliefProp.cpp -o BeliefProp.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG ConstraintTree.cpp -o ConstraintTree.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG CountingBp.cpp -o CountingBp.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG ElimGraph.cpp -o ElimGraph.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG Factor.cpp -o Factor.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG FactorGraph.cpp -o FactorGraph.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG Histogram.cpp -o Histogram.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG HorusYap.cpp -o HorusYap.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG LiftedBp.cpp -o LiftedBp.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG LiftedKc.cpp -o LiftedKc.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG LiftedOperations.cpp -o LiftedOperations.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG LiftedUtils.cpp -o LiftedUtils.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG LiftedVe.cpp -o LiftedVe.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG LiftedWCNF.cpp -o LiftedWCNF.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG ProbFormula.cpp -o ProbFormula.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG Parfactor.cpp -o Parfactor.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG ParfactorList.cpp -o ParfactorList.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG GroundSolver.cpp -o GroundSolver.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG Util.cpp -o Util.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG Var.cpp -o Var.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG VarElim.cpp -o VarElim.o c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG WeightedBp.cpp -o WeightedBp.o c++ -shared -Wl,-export-dynamic -o horus.so BayesBall.o BayesBallGraph.o BeliefProp.o ConstraintTree.o CountingBp.o ElimGraph.o Factor.o FactorGraph.o Histogram.o HorusYap.o LiftedBp.o LiftedKc.o LiftedOperations.o LiftedUtils.o LiftedVe.o LiftedWCNF.o ProbFormula.o Parfactor.o ParfactorList.o GroundSolver.o Util.o Var.o VarElim.o WeightedBp.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNDEBUG HorusCli.cpp -o HorusCli.o c++ -o ./hcli BayesBall.o BayesBallGraph.o BeliefProp.o CountingBp.o ElimGraph.o Factor.o FactorGraph.o HorusCli.o GroundSolver.o Util.o Var.o VarElim.o WeightedBp.o gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/CLPBN/horus' (cd packages/swi-minisat2/C; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/swi-minisat2/C' c++ -c -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../os -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include ./Solver.C -o Solver.o ./Solver.C: In member function 'lbool Solver::search(int, int)': ./Solver.C:583:10: warning: variable 'first' set but not used [-Wunused-but-set-variable] 583 | bool first = true; | ^~~~~ In file included from ./Solver.h:25, from ./Solver.C:20: ./Vec.h: In instantiation of 'void vec::push() [with T = vec]': ./Solver.C:81:21: required from here ./Vec.h:82:106: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'class vec'; use 'new' and 'delete' instead [-Wclass-memaccess] 82 | void push (void) { if (sz == cap) { cap = imax(2, (cap*3+1)>>1); data = (T*)realloc(data, cap * sizeof(T)); } new (&data[sz]) T(); sz++; } | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./Solver.h:25, from ./Solver.C:20: ./Vec.h:33:7: note: 'class vec' declared here 33 | class vec { | ^~~ c++ -c -fPIC -O3 -fomit-frame-pointer -Wall -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../os -I./../../../include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include ./pl-minisat.C -o pl-minisat.o c++ -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o pl-minisat.so Solver.o pl-minisat.o -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/swi-minisat2/C' (cd packages/archive; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive' gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c -o archive4pl.o /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c: In function 'archive_open_stream': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:461:3: warning: 'archive_read_support_compression_all' is deprecated [-Wdeprecated-declarations] 461 | { archive_read_support_compression_all(ar->archive); | ^ In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29: /usr/include/archive.h:392:15: note: declared here 392 | __LA_DECL int archive_read_support_compression_all(struct archive *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:465:5: warning: 'archive_read_support_compression_bzip2' is deprecated [-Wdeprecated-declarations] 465 | enable_type(ar, COMPRESS_BZIP2, archive_read_support_compression_bzip2); | ^~~~~~~~~~~ In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29: /usr/include/archive.h:394:15: note: declared here 394 | __LA_DECL int archive_read_support_compression_bzip2(struct archive *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:468:5: warning: 'archive_read_support_compression_compress' is deprecated [-Wdeprecated-declarations] 468 | enable_type(ar, COMPRESS_COMPRESS, archive_read_support_compression_compress); | ^~~~~~~~~~~ In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29: /usr/include/archive.h:396:15: note: declared here 396 | __LA_DECL int archive_read_support_compression_compress(struct archive *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:471:5: warning: 'archive_read_support_compression_gzip' is deprecated [-Wdeprecated-declarations] 471 | enable_type(ar, COMPRESS_GZIP, archive_read_support_compression_gzip); | ^~~~~~~~~~~ In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29: /usr/include/archive.h:398:15: note: declared here 398 | __LA_DECL int archive_read_support_compression_gzip(struct archive *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:474:5: warning: 'archive_read_support_compression_lzma' is deprecated [-Wdeprecated-declarations] 474 | enable_type(ar, COMPRESS_LZMA, archive_read_support_compression_lzma); | ^~~~~~~~~~~ In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29: /usr/include/archive.h:402:15: note: declared here 402 | __LA_DECL int archive_read_support_compression_lzma(struct archive *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:477:5: warning: 'archive_read_support_compression_none' is deprecated [-Wdeprecated-declarations] 477 | enable_type(ar, COMPRESS_NONE, archive_read_support_compression_none); | ^~~~~~~~~~~ In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29: /usr/include/archive.h:404:15: note: declared here 404 | __LA_DECL int archive_read_support_compression_none(struct archive *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:480:5: warning: 'archive_read_support_compression_xz' is deprecated [-Wdeprecated-declarations] 480 | enable_type(ar, COMPRESS_XZ, archive_read_support_compression_xz); | ^~~~~~~~~~~ In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29: /usr/include/archive.h:416:15: note: declared here 416 | __LA_DECL int archive_read_support_compression_xz(struct archive *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c: In function 'archive_close': /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:562:3: warning: 'archive_read_finish' is deprecated [-Wdeprecated-declarations] 562 | if ( (rc=archive_read_finish(ar->archive)) == ARCHIVE_OK ) | ^~ In file included from /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29: /usr/include/archive.h:718:17: note: declared here 718 | __LA_DECL int archive_read_finish(struct archive *) __LA_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c: At top level: /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:693:1: warning: no previous prototype for 'install_archive4pl' [-Wmissing-prototypes] 693 | install_archive4pl(void) | ^~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o archive4pl.so archive4pl.o -lgmp -lreadline -lresolv -lcrypt -lstdc++ -lm -larchive -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/archive' (cd packages/odbc; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/odbc' WARNING: Could not find odbc library; skipped gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/odbc' (cd packages/zlib; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/zlib' gcc -c -D_YAP_NOT_INSTALLED_=1 -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/zlib -I../.. -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/zlib/../../include -I/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/zlib/../../os -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H /usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/zlib/zlib4pl.c -o zlib4pl.o gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o zlib4pl.so zlib4pl.o -lgmp -lreadline -lresolv -lcrypt -lstdc++ -lm -lz -L/usr/pkgsrc/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/zlib' (cd packages/prism/src/c; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/prism/src/c' gcc -c -fPIC -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 -D_YAP_NOT_INSTALLED_=1 -D__YAP_PROLOG__=1 -I. -I../../../.. -I./../../../../include -I./../../../../H -I./../../../../library/dialect/bprolog/fli core/glue.c -o core/glue.o core/glue.c: In function 'insert_cpred': core/glue.c:21:3: warning: implicit declaration of function 'YAP_UserCPredicate'; did you mean 'YAP_UserCpredicate'? [-Wimplicit-function-declaration] 21 | YAP_UserCPredicate(s, f, n); | ^~~~~~~~~~~~~~~~~~ | YAP_UserCpredicate core/glue.c: At top level: core/glue.c:38:6: warning: no previous prototype for 'bp4p_init' [-Wmissing-prototypes] 38 | void bp4p_init(int *argc, char **argv[]) | ^~~~~~~~~ core/glue.c:45:6: warning: no previous prototype for 'bp4p_exit' [-Wmissing-prototypes] 45 | void bp4p_exit(int status) | ^~~~~~~~~ core/glue.c:53:6: warning: no previous prototype for 'bp4p_quit' [-Wmissing-prototypes] 53 | void bp4p_quit(int status) | ^~~~~~~~~ core/glue.c:62:6: warning: no previous prototype for 'bp4p_register_preds' [-Wmissing-prototypes] 62 | void bp4p_register_preds(void) | ^~~~~~~~~~~~~~~~~~~ gcc -c -fPIC -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 -D_YAP_NOT_INSTALLED_=1 -D__YAP_PROLOG__=1 -I. -I../../../.. -I./../../../../include -I./../../../../H -I./../../../../library/dialect/bprolog/fli core/bpx.c -o core/bpx.o core/bpx.c:366:5: warning: no previous prototype for 'bpx_mount_query_term' [-Wmissing-prototypes] 366 | int bpx_mount_query_term(TERM t) | ^~~~~~~~~~~~~~~~~~~~ In file included from core/bpx.c:6: ./core/bpx.h:223:14: warning: 'quit' defined but not used [-Wunused-function] 223 | static NORET quit(const char *s) | ^~~~ In file included from ./../../../../H/YapTags.h:362, from ./core/bpx.h:13, from core/bpx.c:6: ./../../../../H/TermExt.h: In function 'MkFloatTerm': ./../../../../H/TermExt.h:220:32: error: inlining failed in call to 'always_inline' 'AlignGlobalForDouble': function body not available 220 | INLINE_ONLY inline EXTERN void AlignGlobalForDouble( USES_REGS1 ); | ^~~~~~~~~~~~~~~~~~~~ ./../../../../H/TermExt.h:254:19: note: called from here 254 | return (Term) ((AlignGlobalForDouble ( PASS_REGS1 ), H[0] = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[1]: *** [Makefile:65: core/bpx.o] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/lang/yap/work/yap-6.3.3/packages/prism/src/c' gmake: *** [Makefile:716: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/lang/yap *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/yap