=> Bootstrap dependency digest>=20010302: found digest-20180917
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for yap-6.3.3nb5
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include  -I. -I./H -I./include  -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/agc.c -o agc.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
./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]
       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]
       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]
       int leader_dep_on_stack;
           ^
In file included from C/absmi.c:497:0:
./H/absmi.h:286:29: warning: statement with no effect [-Wunused-value]
 #define FETCH_Y_FROM_ENV(A) (A)
                             ^
C/absmi.c:13101:2: note: in expansion of macro 'FETCH_Y_FROM_ENV'
  FETCH_Y_FROM_ENV(YREG);
  ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'UInt {aka unsigned int}' [-Wformat=]
     printf("entries=%ld collisions=%ld trys=%ld\n", i->nentries, i->ncollisions, i->ntrys);
            ^
C/exo.c:275:12: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'UInt {aka unsigned int}' [-Wformat=]
C/exo.c:275:12: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'UInt {aka unsigned int}' [-Wformat=]
C/exo.c:275:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'UInt {aka unsigned int}' [-Wformat=]
C/exo.c:275:12: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'UInt {aka unsigned int}' [-Wformat=]
C/exo.c:275:12: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'UInt {aka unsigned int}' [-Wformat=]
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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
./C/qlyr.c: In function 'ReInitProlog':
./C/qlyr.c:1034:3: warning: implicit declaration of function 'YAP_RunGoalOnce' [-Wimplicit-function-declaration]
   YAP_RunGoalOnce(t);
   ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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:0,
                 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]
     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]
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]
     strncpy(LOCAL_FileNameBuf,Yap_FindExecutable (), YAP_FILENAME_MAX) ;
                               ^
/usr/include/ssp/string.h:91:1: note: expected 'const char * restrict' but argument is of type 'int'
 __ssp_bos_icheck3_restrict(strncpy, char *, const char *)
 ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 /tmp/pkgbuild/lang/yap/work/.buildlink/include/readline/readline.h:37:0,
                 from ./C/sysbits.c:89:
/tmp/pkgbuild/lang/yap/work/.buildlink/include/readline/rltypedefs.h:35:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 typedef int Function () __attribute__ ((deprecated));
 ^
/tmp/pkgbuild/lang/yap/work/.buildlink/include/readline/rltypedefs.h:36:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 typedef void VFunction () __attribute__ ((deprecated));
 ^
/tmp/pkgbuild/lang/yap/work/.buildlink/include/readline/rltypedefs.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 typedef char *CPFunction () __attribute__ ((deprecated));
 ^
/tmp/pkgbuild/lang/yap/work/.buildlink/include/readline/rltypedefs.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 typedef char **CPPFunction () __attribute__ ((deprecated));
 ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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:0,
                 from ./C/udi.c:6:
./C/udi.c: In function 'Yap_new_udi_clause':
./H/udi_private.h:33:32: 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]
   HASH_FIND(hh,head,find,sizeof(PredEntry *),out)
                                ^
./H/uthash.h:577:41: note: in definition of macro 'HASH_KEYCMP'
 #define HASH_KEYCMP(a,b,len) memcmp(a,b,len) 
                                         ^
./H/uthash.h:101:8: note: in expansion of macro 'HASH_FIND_IN_BKT'
        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'
   HASH_FIND(hh,head,find,sizeof(PredEntry *),out)
   ^
./C/udi.c:178:2: note: in expansion of macro 'HASH_FIND_UdiInfo'
  HASH_FIND_UdiInfo(UdiControlBlocks,p,info);
  ^
./C/udi.c: In function 'Yap_udi_search':
./H/udi_private.h:33:32: 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]
   HASH_FIND(hh,head,find,sizeof(PredEntry *),out)
                                ^
./H/uthash.h:577:41: note: in definition of macro 'HASH_KEYCMP'
 #define HASH_KEYCMP(a,b,len) memcmp(a,b,len) 
                                         ^
./H/uthash.h:101:8: note: in expansion of macro 'HASH_FIND_IN_BKT'
        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'
   HASH_FIND(hh,head,find,sizeof(PredEntry *),out)
   ^
./C/udi.c:213:2: note: in expansion of macro 'HASH_FIND_UdiInfo'
  HASH_FIND_UdiInfo(UdiControlBlocks,p,info);
  ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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]
 { 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]
 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]
   void (*old_int)();
   ^
./os/pl-os.c:2331:3: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   void (*old_stop)();
   ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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]
 Yap_setCurrentSourceLocation(IOSTREAM **s)
 ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 /tmp/pkgbuild/lang/yap/work/.buildlink/include/readline/readline.h:37:0,
                 from ./os/pl-rl.c:94:
/tmp/pkgbuild/lang/yap/work/.buildlink/include/readline/rltypedefs.h:35:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 typedef int Function () __attribute__ ((deprecated));
 ^
/tmp/pkgbuild/lang/yap/work/.buildlink/include/readline/rltypedefs.h:36:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 typedef void VFunction () __attribute__ ((deprecated));
 ^
/tmp/pkgbuild/lang/yap/work/.buildlink/include/readline/rltypedefs.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 typedef char *CPFunction () __attribute__ ((deprecated));
 ^
/tmp/pkgbuild/lang/yap/work/.buildlink/include/readline/rltypedefs.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 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]
   intptr_t oldclock = clock();
            ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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]
   int wait = TRUE;
       ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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' [-Wimplicit-function-declaration]
        PL_asctime_r(&ftm->tm, buf);
        ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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]
 static int myputc (wchar_t ch)
            ^
gcc -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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:0:
./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]
   int in_pair = 0;
       ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/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=/tmp/pkgbuild/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 0 msecs
  % consulting consult.yap...
  % consult.yap consulted 0 bytes in 13 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/utils.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/utils.yap consulted 0 bytes in 9 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/control.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/control.yap consulted 0 bytes in 6 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/arith.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/arith.yap consulted 0 bytes in 4 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/directives.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/directives.yap consulted 0 bytes in 4 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/flags.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/flags.yap consulted 0 bytes in 14 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/yio.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/yio.yap consulted 0 bytes in 4 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/debug.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/debug.yap consulted 0 bytes in 11 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/checker.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/checker.yap consulted 0 bytes in 5 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/depth_bound.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/depth_bound.yap consulted 0 bytes in 0 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/grammar.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/grammar.yap consulted 0 bytes in 2 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/ground.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/ground.yap consulted 0 bytes in 1 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/listing.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/listing.yap consulted 0 bytes in 2 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/preds.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/preds.yap consulted 0 bytes in 14 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/modules.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/modules.yap consulted 0 bytes in 16 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/eval.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/eval.yap consulted 0 bytes in 3 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/signals.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/signals.yap consulted 0 bytes in 5 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/profile.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/profile.yap consulted 0 bytes in 4 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/callcount.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/callcount.yap consulted 0 bytes in 1 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/load_foreign.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/load_foreign.yap consulted 0 bytes in 2 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/setof.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/setof.yap consulted 0 bytes in 3 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/sort.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/sort.yap consulted 0 bytes in 2 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/statistics.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/statistics.yap consulted 0 bytes in 5 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/strict_iso.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/strict_iso.yap consulted 0 bytes in 6 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/tabling.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/tabling.yap consulted 0 bytes in 8 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/threads.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/threads.yap consulted 0 bytes in 21 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/eam.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/eam.yap consulted 0 bytes in 2 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/chtypes.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/chtypes.yap consulted 0 bytes in 1 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/yapor.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/yapor.yap consulted 0 bytes in 3 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/qly.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/qly.yap consulted 0 bytes in 9 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/udi.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/udi.yap consulted 0 bytes in 1 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/protect.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/protect.yap consulted 0 bytes in 1 msecs
  % consulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/arrays.yap
  % /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/arrays.yap consulted 0 bytes in 1 msecs
  % reconsulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/messages.yap
  % reconsulted /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/messages.yap in module $messages, 16 msec 0 bytes
  % reconsulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/hacks.yap...
  % reconsulted /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/hacks.yap in module $hacks, 6 msec 0 bytes
  % reconsulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/attributes.yap...
  % reconsulted /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/attributes.yap in module $attributes, 6 msec 0 bytes
  % reconsulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/corout.yap...
  % reconsulted /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/corout.yap in module $coroutining, 8 msec 0 bytes
  % reconsulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/dialect.yap...
  % reconsulted /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/dialect.yap in module dialect, 2 msec 0 bytes
  % reconsulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/history.pl...
  % reconsulted /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/history.pl in module $history, -4 msec 0 bytes
  % reconsulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/dbload.yap...
  % reconsulted /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/dbload.yap in module $db_load, 4 msec 0 bytes
  % reconsulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/swi.yap...
  % reconsulted /tmp/pkgbuild/lang/yap/work/yap-6.3.3/pl/swi.yap in module $swi, 2 msec 0 bytes
  % reconsulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/LGPL/predopts.pl...
  % reconsulted /tmp/pkgbuild/lang/yap/work/yap-6.3.3/LGPL/predopts.pl in module $predopts, 3 msec 0 bytes
  % reconsulting /tmp/pkgbuild/lang/yap/work/yap-6.3.3/LGPL/menu.pl...
  % reconsulted /tmp/pkgbuild/lang/yap/work/yap-6.3.3/LGPL/menu.pl in module $win_menu, 2 msec 0 bytes
 % ./pl/init.yap consulted 0 bytes in 297 msecs
yes
yes
yes
(cd library/lammpi; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/lammpi'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/lammpi'
(cd library/matrix; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/matrix'
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I. -I../.. -I./../../include ./matrix.c -o matrix.o
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o matrix.so matrix.o   -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/matrix'
(cd library/random; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/random'
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o yap_random.so yap_random.o  -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/random'
(cd library/regex; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/regex'
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I. -I../.. -I./../../include ./regexp.c -o regexp.o
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o regexp.so regexp.o   -L/tmp/pkgbuild/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 '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/regex'
(cd library/rltree; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/rltree'
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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]
 void init_rl(void){
      ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I. -I../.. -I./../../include ./range_list.c -o range_list.o
./range_list.c:248:13: warning: 'print_nodes' defined but not used [-Wunused-function]
 static void print_nodes(RL_Tree* tree) {
             ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o yap_rl.so yaprl.o range_list.o  -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap
gmake[1]: Leaving directory '/tmp/pkgbuild/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 '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/system'
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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]
 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]
   unsigned long int secs = 0, usecs = 0, out;
                               ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o sys.so sys.o  -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap
sys.o: In function `p_tmpnam':
sys.c:(.text+0x294): warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
sys.o: In function `p_mktemp':
sys.c:(.text+0xf8c): warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/system'
(cd library/tries; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/tries'
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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]
   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]
   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]
           result = trie_to_list_floats_tag_low_32(result, TrNode_child(node), &tf.p, &tf.f);
                                                                               ^
./core_tries.c:1728:10: 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]}'
 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]
       result = trie_to_list_floats_tag_low_32(result, TrNode_child(node), &tf.p, &tf.f);
                                                                           ^
./core_tries.c:1728:10: 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]}'
 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:0:
./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
   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
   CURRENT_TRIE_MODE = BAK_CURRENT_TRIE_MODE;
   ^
In file included from ./core_tries.c:18:0:
./core_dbtries.c:889:25: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static
       INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                         ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:889:7: note: in expansion of macro 'INCREMENT_ENTRIES'
       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
       INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                         ^
./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max'
 #define TrEngine_entries_max(X) ((X)->entries_max_used)
                                   ^
./core_dbtries.c:889:7: note: in expansion of macro 'INCREMENT_ENTRIES'
       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
       INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                         ^
./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max'
 #define TrEngine_entries_max(X) ((X)->entries_max_used)
                                   ^
./core_dbtries.c:889:7: note: in expansion of macro 'INCREMENT_ENTRIES'
       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
       INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                         ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:889:7: note: in expansion of macro 'INCREMENT_ENTRIES'
       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
       INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                         ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:889:7: note: in expansion of macro 'INCREMENT_ENTRIES'
       INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
       ^
In file included from ./core_tries.c:1799:0:
./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
       node = trie_node_check_insert(node, t);
              ^
In file included from ./core_tries.c:18:0:
./core_dbtries.c:884:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'update_depth_breadth_trie' which is not static
         INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                           ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:884:9: note: in expansion of macro 'INCREMENT_ENTRIES'
         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
         INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                           ^
./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max'
 #define TrEngine_entries_max(X) ((X)->entries_max_used)
                                   ^
./core_dbtries.c:884:9: note: in expansion of macro 'INCREMENT_ENTRIES'
         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
         INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                           ^
./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max'
 #define TrEngine_entries_max(X) ((X)->entries_max_used)
                                   ^
./core_dbtries.c:884:9: note: in expansion of macro 'INCREMENT_ENTRIES'
         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
         INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                           ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:884:9: note: in expansion of macro 'INCREMENT_ENTRIES'
         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
         INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                           ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:884:9: note: in expansion of macro 'INCREMENT_ENTRIES'
         INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
         ^
In file included from ./core_tries.c:1799:0:
./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
         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
         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
         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
     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
         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
         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
         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
         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
       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
   } 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
   } 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
           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
           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
         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
           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
           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
           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
           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
           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
           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
         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
         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
             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
             end_node = trie_node_check(c_node, PairEndTag);
                        ^
In file included from ./core_tries.c:18:0:
./core_dbtries.c:791:25: warning: 'stack_args' is static but used in inline function 'update_depth_breadth_trie' which is not static
             tt = POP_UP(stack_args);
                         ^
./core_tries.h:154:47: note: in definition of macro 'POP_UP'
 #define POP_UP(STACK)                      *--STACK
                                               ^
In file included from ./core_tries.c:1799:0:
./core_dbtries.c:789:34: warning: 'stack_args' is static but used in inline function 'update_depth_breadth_trie' which is not static
           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
           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
         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
     node = trie_node_check_insert(node, t);
            ^
In file included from ./core_tries.c:18:0:
./core_dbtries.c:777:16: warning: 'stack_args' is static but used in inline function 'update_depth_breadth_trie' which is not static
     t = POP_UP(stack_args);
                ^
./core_tries.h:154:47: note: in definition of macro 'POP_UP'
 #define POP_UP(STACK)                      *--STACK
                                               ^
In file included from ./core_tries.c:1799:0:
./core_dbtries.c:775:3: warning: 'DATA_COPY_FUNCTION' is static but used in inline function 'update_depth_breadth_trie' which is not static
   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
   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
   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
     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
     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
   YAP_Int BAK_CURRENT_TRIE_MODE = CURRENT_TRIE_MODE;
                                   ^
In file included from ./core_tries.c:18:0:
./core_dbtries.c:702:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static
   INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                     ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:702:3: note: in expansion of macro 'INCREMENT_ENTRIES'
   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
   INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                     ^
./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max'
 #define TrEngine_entries_max(X) ((X)->entries_max_used)
                                   ^
./core_dbtries.c:702:3: note: in expansion of macro 'INCREMENT_ENTRIES'
   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
   INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                     ^
./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max'
 #define TrEngine_entries_max(X) ((X)->entries_max_used)
                                   ^
./core_dbtries.c:702:3: note: in expansion of macro 'INCREMENT_ENTRIES'
   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
   INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                     ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:702:3: note: in expansion of macro 'INCREMENT_ENTRIES'
   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
   INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                     ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:702:3: note: in expansion of macro 'INCREMENT_ENTRIES'
   INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
   ^
In file included from ./core_tries.c:1799:0:
./core_dbtries.c:701:10: warning: 'trie_node_check_insert' is static but used in inline function 'core_breadth_reduction' which is not static
   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
   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
   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
   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
     remove_child_nodes(TrNode_child(node));
     ^
In file included from ./core_tries.c:18:0:
./core_dbtries.c:673:21: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static
           PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top);
                     ^
./core_tries.h:172:11: note: in definition of macro 'PUSH_DOWN'
           STACK++;                                                       \
           ^
./core_dbtries.c:673:21: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static
           PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top);
                     ^
./core_tries.h:171:12: note: in definition of macro 'PUSH_DOWN'
           *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
           PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top);
                     ^
./core_tries.h:166:15: note: in definition of macro 'PUSH_DOWN'
         { 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
       PUSH_DOWN(stack_args, TrNode_entry(child), stack_top);
                 ^
./core_tries.h:172:11: note: in definition of macro 'PUSH_DOWN'
           STACK++;                                                       \
           ^
./core_dbtries.c:668:17: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static
       PUSH_DOWN(stack_args, TrNode_entry(child), stack_top);
                 ^
./core_tries.h:171:12: note: in definition of macro 'PUSH_DOWN'
           *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
       PUSH_DOWN(stack_args, TrNode_entry(child), stack_top);
                 ^
./core_tries.h:166:15: note: in definition of macro 'PUSH_DOWN'
         { if (STACK > STACK_TOP) {             \
               ^
In file included from ./core_tries.c:18:0:
./core_dbtries.c:622:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static
         INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                           ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:622:9: note: in expansion of macro 'INCREMENT_ENTRIES'
         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
         INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                           ^
./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max'
 #define TrEngine_entries_max(X) ((X)->entries_max_used)
                                   ^
./core_dbtries.c:622:9: note: in expansion of macro 'INCREMENT_ENTRIES'
         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
         INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                           ^
./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max'
 #define TrEngine_entries_max(X) ((X)->entries_max_used)
                                   ^
./core_dbtries.c:622:9: note: in expansion of macro 'INCREMENT_ENTRIES'
         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
         INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                           ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:622:9: note: in expansion of macro 'INCREMENT_ENTRIES'
         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
         INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                           ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:622:9: note: in expansion of macro 'INCREMENT_ENTRIES'
         INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
         ^
In file included from ./core_tries.c:1799:0:
./core_dbtries.c:621:16: warning: 'trie_node_check_insert' is static but used in inline function 'core_breadth_reduction' which is not static
         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
         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
         DATA_DESTRUCT_FUNCTION = destruct_function;
         ^
In file included from ./core_tries.c:18:0:
./core_dbtries.c:603:25: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static
               PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top);
                         ^
./core_tries.h:172:11: note: in definition of macro 'PUSH_DOWN'
           STACK++;                                                       \
           ^
./core_dbtries.c:603:25: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static
               PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top);
                         ^
./core_tries.h:171:12: note: in definition of macro 'PUSH_DOWN'
           *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
               PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top);
                         ^
./core_tries.h:166:15: note: in definition of macro 'PUSH_DOWN'
         { 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
           PUSH_DOWN(stack_args, TrNode_entry(child), stack_top);
                     ^
./core_tries.h:172:11: note: in definition of macro 'PUSH_DOWN'
           STACK++;                                                       \
           ^
./core_dbtries.c:598:21: warning: 'stack_args' is static but used in inline function 'core_breadth_reduction' which is not static
           PUSH_DOWN(stack_args, TrNode_entry(child), stack_top);
                     ^
./core_tries.h:171:12: note: in definition of macro 'PUSH_DOWN'
           *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
           PUSH_DOWN(stack_args, TrNode_entry(child), stack_top);
                     ^
./core_tries.h:166:15: note: in definition of macro 'PUSH_DOWN'
         { if (STACK > STACK_TOP) {             \
               ^
In file included from ./core_tries.c:1799:0:
./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
   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
   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
   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
   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
   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
   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
   remove_child_nodes(TrNode_child(temp));
   ^
In file included from ./core_tries.c:18:0:
./core_dbtries.c:525:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_depth_reduction' which is not static
   INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                     ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:525:3: note: in expansion of macro 'INCREMENT_ENTRIES'
   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
   INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                     ^
./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max'
 #define TrEngine_entries_max(X) ((X)->entries_max_used)
                                   ^
./core_dbtries.c:525:3: note: in expansion of macro 'INCREMENT_ENTRIES'
   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
   INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                     ^
./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max'
 #define TrEngine_entries_max(X) ((X)->entries_max_used)
                                   ^
./core_dbtries.c:525:3: note: in expansion of macro 'INCREMENT_ENTRIES'
   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
   INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                     ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:525:3: note: in expansion of macro 'INCREMENT_ENTRIES'
   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
   INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                     ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_dbtries.c:525:3: note: in expansion of macro 'INCREMENT_ENTRIES'
   INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
   ^
In file included from ./core_tries.c:1799:0:
./core_dbtries.c:524:10: warning: 'trie_node_check_insert' is static but used in inline function 'core_depth_reduction' which is not static
   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
   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
   DATA_DESTRUCT_FUNCTION = destruct_function;
   ^
In file included from ./core_tries.c:18:0:
./core_dbtries.c:494:15: warning: 'stack_args' is static but used in inline function 'core_depth_reduction' which is not static
     PUSH_DOWN(stack_args, TrNode_entry(node), stack_top);
               ^
./core_tries.h:172:11: note: in definition of macro 'PUSH_DOWN'
           STACK++;                                                       \
           ^
./core_dbtries.c:494:15: warning: 'stack_args' is static but used in inline function 'core_depth_reduction' which is not static
     PUSH_DOWN(stack_args, TrNode_entry(node), stack_top);
               ^
./core_tries.h:171:12: note: in definition of macro 'PUSH_DOWN'
           *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
     PUSH_DOWN(stack_args, TrNode_entry(node), stack_top);
               ^
./core_tries.h:166:15: note: in definition of macro 'PUSH_DOWN'
         { 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
     PUSH_DOWN(stack_args, TrNode_entry(node), stack_top);
               ^
./core_tries.h:172:11: note: in definition of macro 'PUSH_DOWN'
           STACK++;                                                       \
           ^
./core_dbtries.c:486:15: warning: 'stack_args' is static but used in inline function 'core_depth_reduction' which is not static
     PUSH_DOWN(stack_args, TrNode_entry(node), stack_top);
               ^
./core_tries.h:171:12: note: in definition of macro 'PUSH_DOWN'
           *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
     PUSH_DOWN(stack_args, TrNode_entry(node), stack_top);
               ^
./core_tries.h:166:15: note: in definition of macro 'PUSH_DOWN'
         { if (STACK > STACK_TOP) {             \
               ^
In file included from ./core_tries.c:1799:0:
./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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   *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
   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
   *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
   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
   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
   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
   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
   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
   remove_entry(child);
   ^
In file included from ./core_tries.c:18:0:
./core_tries.h:199:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max'
 #define TrEngine_nodes_max(X)   ((X)->nodes_max_used)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max'
 #define TrEngine_nodes_max(X)   ((X)->nodes_max_used)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:381:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max'
 #define TrEngine_nodes_max(X)   ((X)->nodes_max_used)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max'
 #define TrEngine_nodes_max(X)   ((X)->nodes_max_used)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:376:5: note: in expansion of macro 'new_trie_node'
     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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node'
       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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node'
       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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node'
       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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node'
       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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node'
       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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node'
       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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max'
 #define TrEngine_nodes_max(X)   ((X)->nodes_max_used)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node'
       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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max'
 #define TrEngine_nodes_max(X)   ((X)->nodes_max_used)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node'
       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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node'
       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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_dbtries.c:372:7: note: in expansion of macro 'new_trie_node'
       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:0:
./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
   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
   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
     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
   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
   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
     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
   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
   *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
   *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
   *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
     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
   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
   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
   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
   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
   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
   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
   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
   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
     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
     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
     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
   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
   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
       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
     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
       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
       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
     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
       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
       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
   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
   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
   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
     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
       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
   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
   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
   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
     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
   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
   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
   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
   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
   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
   remove_entry(node);
   ^
In file included from ./core_tries.c:18:0:
./core_tries.c:372:21: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_remove_entry' which is not static
   DECREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                     ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_tries.c:372:3: note: in expansion of macro 'DECREMENT_ENTRIES'
   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
     (*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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
     *((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
     *((YAP_Term *)*stack_vars) = *stack_vars;
                    ^
In file included from ./core_tries.c:18:0:
./core_tries.c:350:21: warning: 'stack_vars' is static but used in inline function 'core_trie_check_entry' which is not static
     (void) POP_DOWN(stack_vars);
                     ^
./core_tries.h:155:47: note: in definition of macro 'POP_DOWN'
 #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
   while (STACK_NOT_EMPTY(stack_vars++, stack_vars_base)) {
                                        ^
./core_tries.h:153:53: note: in definition of macro 'STACK_NOT_EMPTY'
 #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
   while (STACK_NOT_EMPTY(stack_vars++, stack_vars_base)) {
                          ^
./core_tries.h:153:44: note: in definition of macro 'STACK_NOT_EMPTY'
 #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
   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
   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
   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
   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
   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
   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
   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
   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
     *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
     *((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
     *((YAP_Term *)*stack_vars) = *stack_vars;
                    ^
In file included from ./core_tries.c:18:0:
./core_tries.c:332:21: warning: 'stack_vars' is static but used in inline function 'core_trie_put_entry' which is not static
     (void) POP_DOWN(stack_vars);
                     ^
./core_tries.h:155:47: note: in definition of macro 'POP_DOWN'
 #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
   while (STACK_NOT_EMPTY(stack_vars++, stack_vars_base)) {
                                        ^
./core_tries.h:153:53: note: in definition of macro 'STACK_NOT_EMPTY'
 #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
   while (STACK_NOT_EMPTY(stack_vars++, stack_vars_base)) {
                          ^
./core_tries.h:153:44: note: in definition of macro 'STACK_NOT_EMPTY'
 #define STACK_NOT_EMPTY(STACK, STACK_BASE) STACK != STACK_BASE
                                            ^
In file included from ./core_tries.c:18:0:
./core_tries.c:328:23: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_put_entry' which is not static
     INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                       ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_tries.c:328:5: note: in expansion of macro 'INCREMENT_ENTRIES'
     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
     INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                       ^
./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max'
 #define TrEngine_entries_max(X) ((X)->entries_max_used)
                                   ^
./core_tries.c:328:5: note: in expansion of macro 'INCREMENT_ENTRIES'
     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
     INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                       ^
./core_tries.h:83:35: note: in definition of macro 'TrEngine_entries_max'
 #define TrEngine_entries_max(X) ((X)->entries_max_used)
                                   ^
./core_tries.c:328:5: note: in expansion of macro 'INCREMENT_ENTRIES'
     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
     INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                       ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_tries.c:328:5: note: in expansion of macro 'INCREMENT_ENTRIES'
     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
     INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE);
                       ^
./core_tries.h:79:35: note: in definition of macro 'TrEngine_entries'
 #define TrEngine_entries(X)     ((X)->entries_in_use)
                                   ^
./core_tries.c:328:5: note: in expansion of macro 'INCREMENT_ENTRIES'
     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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   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
   CURRENT_TRIE_MODE = mode;
   ^
In file included from ./core_tries.c:18:0:
./core_tries.c:293:19: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_close' which is not static
   DECREMENT_TRIES(CURRENT_TRIE_ENGINE);
                   ^
./core_tries.h:78:35: note: in definition of macro 'TrEngine_tries'
 #define TrEngine_tries(X)       ((X)->tries_in_use)
                                   ^
./core_tries.c:293:3: note: in expansion of macro 'DECREMENT_TRIES'
   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
           DECREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:237:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_tries.c:292:3: note: in expansion of macro 'free_trie_node'
   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
           DECREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:236:11: note: in expansion of macro 'DECREMENT_NODES'
           DECREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_tries.c:292:3: note: in expansion of macro 'free_trie_node'
   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
     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
   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
   CURRENT_TRIE_ENGINE = engine;
   ^
In file included from ./core_tries.c:18:0:
./core_tries.c:276:19: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static
   INCREMENT_TRIES(CURRENT_TRIE_ENGINE);
                   ^
./core_tries.h:78:35: note: in definition of macro 'TrEngine_tries'
 #define TrEngine_tries(X)       ((X)->tries_in_use)
                                   ^
./core_tries.c:276:3: note: in expansion of macro 'INCREMENT_TRIES'
   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
   INCREMENT_TRIES(CURRENT_TRIE_ENGINE);
                   ^
./core_tries.h:82:35: note: in definition of macro 'TrEngine_tries_max'
 #define TrEngine_tries_max(X)   ((X)->tries_max_used)
                                   ^
./core_tries.c:276:3: note: in expansion of macro 'INCREMENT_TRIES'
   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
   INCREMENT_TRIES(CURRENT_TRIE_ENGINE);
                   ^
./core_tries.h:82:35: note: in definition of macro 'TrEngine_tries_max'
 #define TrEngine_tries_max(X)   ((X)->tries_max_used)
                                   ^
./core_tries.c:276:3: note: in expansion of macro 'INCREMENT_TRIES'
   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
   INCREMENT_TRIES(CURRENT_TRIE_ENGINE);
                   ^
./core_tries.h:78:35: note: in definition of macro 'TrEngine_tries'
 #define TrEngine_tries(X)       ((X)->tries_in_use)
                                   ^
./core_tries.c:276:3: note: in expansion of macro 'INCREMENT_TRIES'
   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
   INCREMENT_TRIES(CURRENT_TRIE_ENGINE);
                   ^
./core_tries.h:78:35: note: in definition of macro 'TrEngine_tries'
 #define TrEngine_tries(X)       ((X)->tries_in_use)
                                   ^
./core_tries.c:276:3: note: in expansion of macro 'INCREMENT_TRIES'
   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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_tries.c:272:3: note: in expansion of macro 'new_trie_node'
   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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_tries.c:272:3: note: in expansion of macro 'new_trie_node'
   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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_tries.c:272:3: note: in expansion of macro 'new_trie_node'
   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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_tries.c:272:3: note: in expansion of macro 'new_trie_node'
   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
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./core_tries.h:199:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE);                   \
           ^
./core_tries.c:272:3: note: in expansion of macro 'new_trie_node'
   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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_tries.c:272:3: note: in expansion of macro 'new_trie_node'
   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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max'
 #define TrEngine_nodes_max(X)   ((X)->nodes_max_used)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_tries.c:272:3: note: in expansion of macro 'new_trie_node'
   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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:84:35: note: in definition of macro 'TrEngine_nodes_max'
 #define TrEngine_nodes_max(X)   ((X)->nodes_max_used)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_tries.c:272:3: note: in expansion of macro 'new_trie_node'
   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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_tries.c:272:3: note: in expansion of macro 'new_trie_node'
   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
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
                           ^
./core_tries.h:80:35: note: in definition of macro 'TrEngine_nodes'
 #define TrEngine_nodes(X)       ((X)->nodes_in_use)
                                   ^
./core_tries.h:198:11: note: in expansion of macro 'INCREMENT_NODES'
           INCREMENT_NODES(CURRENT_TRIE_ENGINE);                                    \
           ^
./core_tries.c:272:3: note: in expansion of macro 'new_trie_node'
   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
   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
     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
     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
     CURRENT_AUXILIARY_TERM_STACK_SIZE = BASE_AUXILIARY_TERM_STACK_SIZE;
     ^
In file included from ./core_tries.c:18:0:
./core_tries.c:256:16: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_trie_init_module' which is not static
     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'
         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
   static int init_once = 1;
              ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include ./base_tries.c -o base_tries.o
In file included from ./base_tries.c:408:0:
./base_dbtries.c:412:18: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_order_correction' which is not static
   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
   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
   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
   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
   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
       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
     nested_trie = breadth_reduction(trie, breadth_node, opt_level);
                   ^
In file included from ./base_tries.c:408:0:
./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
       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
     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
   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
     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
   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
   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
   CURRENT_TRAVERSE_MODE = mode;
   ^
In file included from ./base_tries.c:17:0:
./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_construct' which is not static
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:331:3: note: in expansion of macro 'new_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:331:3: note: in expansion of macro 'new_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:331:3: note: in expansion of macro 'new_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:331:3: note: in expansion of macro 'new_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:331:3: note: in expansion of macro 'new_trie_data'
   new_trie_data(data, CURRENT_TRIE, node);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static
   new_trie_data(data, CURRENT_TRIE, node);
                       ^
./base_tries.h:33:37: note: in definition of macro 'TrEntry_last_data'
 #define TrEntry_last_data(X)      ((X)->last_trie_data)
                                     ^
./base_tries.c:331:3: note: in expansion of macro 'new_trie_data'
   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
   new_trie_data(data, CURRENT_TRIE, node);
                       ^
./base_tries.h:32:37: note: in definition of macro 'TrEntry_first_data'
 #define TrEntry_first_data(X)     ((X)->first_trie_data)
                                     ^
./base_tries.c:331:3: note: in expansion of macro 'new_trie_data'
   new_trie_data(data, CURRENT_TRIE, node);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static
   new_trie_data(data, CURRENT_TRIE, node);
                       ^
./base_tries.h:56:61: note: in definition of macro 'AS_TR_DATA_NEXT'
 #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'
             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'
   new_trie_data(data, CURRENT_TRIE, node);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static
   new_trie_data(data, CURRENT_TRIE, node);
                       ^
./base_tries.h:33:37: note: in definition of macro 'TrEntry_last_data'
 #define TrEntry_last_data(X)      ((X)->last_trie_data)
                                     ^
./base_tries.c:331:3: note: in expansion of macro 'new_trie_data'
   new_trie_data(data, CURRENT_TRIE, node);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static
   new_trie_data(data, CURRENT_TRIE, node);
                       ^
./base_tries.h:77:34: note: in definition of macro 'new_trie_data'
           TrData_trie(TR_DATA) = TR_ENTRY;                                               \
                                  ^
In file included from ./base_tries.c:18:0:
./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static
   new_trie_data(data, CURRENT_TRIE, node);
                       ^
./base_tries.h:32:37: note: in definition of macro 'TrEntry_first_data'
 #define TrEntry_first_data(X)     ((X)->first_trie_data)
                                     ^
./base_tries.c:331:3: note: in expansion of macro 'new_trie_data'
   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
   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
   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
   FIRST_TRIE = trie;
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:293:22: warning: 'FIRST_TRIE' is static but used in inline function 'trie_load' which is not static
     TrEntry_previous(FIRST_TRIE) = trie;
                      ^
./base_tries.h:36:37: note: in definition of macro 'TrEntry_previous'
 #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
   if (FIRST_TRIE)
       ^
In file included from ./base_tries.c:17:0:
./base_tries.h:96:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_load' which is not static
           DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                              \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:96:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                              \
           ^
./base_tries.c:288:5: note: in expansion of macro 'free_trie_entry'
     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
   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
   CURRENT_TRIE = trie;
   ^
In file included from ./base_tries.c:17:0:
./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_load' which is not static
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
           ^
./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
           ^
./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
           ^
./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
           ^
./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
           ^
./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry'
   new_trie_entry(trie, NULL);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.h:71:58: warning: 'FIRST_TRIE' is static but used in inline function 'trie_load' which is not static
           TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_TRIE);                    \
                                                          ^
./base_tries.h:55:62: note: in definition of macro 'AS_TR_ENTRY_NEXT'
 #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'
   new_trie_entry(trie, NULL);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.h:70:36: warning: 'FIRST_TRIE' is static but used in inline function 'trie_load' which is not static
           TrEntry_next(TR_ENTRY) = FIRST_TRIE;                                           \
                                    ^
./base_tries.c:285:3: note: in expansion of macro 'new_trie_entry'
   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
   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
   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
   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
   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
   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
     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
     if (CURRENT_TRAVERSE_MODE == TRAVERSE_MODE_FORWARD)
         ^
In file included from ./base_tries.c:17:0:
./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_put_entry' which is not static
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:153:5: note: in expansion of macro 'new_trie_data'
     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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:153:5: note: in expansion of macro 'new_trie_data'
     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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:153:5: note: in expansion of macro 'new_trie_data'
     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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:153:5: note: in expansion of macro 'new_trie_data'
     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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:153:5: note: in expansion of macro 'new_trie_data'
     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
   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
     FIRST_TRIE = trie;
     ^
In file included from ./base_tries.c:17:0:
./base_tries.h:96:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_close_all' which is not static
           DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                              \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:96:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                              \
           ^
./base_tries.c:126:5: note: in expansion of macro 'free_trie_entry'
     free_trie_entry(FIRST_TRIE);
     ^
In file included from ./base_tries.c:17:0:
./base_tries.c:126:21: warning: 'FIRST_TRIE' is static but used in inline function 'trie_close_all' which is not static
     free_trie_entry(FIRST_TRIE);
                     ^
./core_tries.h:233:40: note: in definition of macro 'free_struct'
         YAP_FreeSpaceFromYap((char *) (STR))
                                        ^
./base_tries.c:126:5: note: in expansion of macro 'free_trie_entry'
     free_trie_entry(FIRST_TRIE);
     ^
In file included from ./base_tries.c:18:0:
./base_tries.c:125:25: warning: 'FIRST_TRIE' is static but used in inline function 'trie_close_all' which is not static
     trie = TrEntry_next(FIRST_TRIE);
                         ^
./base_tries.h:35:37: note: in definition of macro 'TrEntry_next'
 #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
   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
   core_trie_close_all(TRIE_ENGINE, &trie_data_destruct);
                       ^
In file included from ./base_tries.c:17:0:
./base_tries.h:96:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_close' which is not static
           DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                              \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:96:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                              \
           ^
./base_tries.c:114:3: note: in expansion of macro 'free_trie_entry'
   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
   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
   FIRST_TRIE = trie;
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:100:22: warning: 'FIRST_TRIE' is static but used in inline function 'trie_open' which is not static
     TrEntry_previous(FIRST_TRIE) = trie;
                      ^
./base_tries.h:36:37: note: in definition of macro 'TrEntry_previous'
 #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
   if (FIRST_TRIE)
       ^
In file included from ./base_tries.c:17:0:
./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_open' which is not static
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
           ^
./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
           ^
./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
           ^
./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
           ^
./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:72:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY);                                \
           ^
./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry'
   new_trie_entry(trie, node);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.h:71:58: warning: 'FIRST_TRIE' is static but used in inline function 'trie_open' which is not static
           TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_TRIE);                    \
                                                          ^
./base_tries.h:55:62: note: in definition of macro 'AS_TR_ENTRY_NEXT'
 #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'
   new_trie_entry(trie, node);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.h:70:36: warning: 'FIRST_TRIE' is static but used in inline function 'trie_open' which is not static
           TrEntry_next(TR_ENTRY) = FIRST_TRIE;                                           \
                                    ^
./base_tries.c:98:3: note: in expansion of macro 'new_trie_entry'
   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
   node = core_trie_open(TRIE_ENGINE);
                         ^
In file included from ./base_tries.c:17:0:
./base_tries.h:100:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_destruct' which is not static
           DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                               \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:100:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                               \
           ^
./base_tries.c:87:3: note: in expansion of macro 'free_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:65:3: note: in expansion of macro 'new_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:65:3: note: in expansion of macro 'new_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:65:3: note: in expansion of macro 'new_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:65:3: note: in expansion of macro 'new_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:65:3: note: in expansion of macro 'new_trie_data'
   new_trie_data(data_dest, CURRENT_TRIE, node_dest);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static
   new_trie_data(data_dest, CURRENT_TRIE, node_dest);
                            ^
./base_tries.h:33:37: note: in definition of macro 'TrEntry_last_data'
 #define TrEntry_last_data(X)      ((X)->last_trie_data)
                                     ^
./base_tries.c:65:3: note: in expansion of macro 'new_trie_data'
   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
   new_trie_data(data_dest, CURRENT_TRIE, node_dest);
                            ^
./base_tries.h:32:37: note: in definition of macro 'TrEntry_first_data'
 #define TrEntry_first_data(X)     ((X)->first_trie_data)
                                     ^
./base_tries.c:65:3: note: in expansion of macro 'new_trie_data'
   new_trie_data(data_dest, CURRENT_TRIE, node_dest);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static
   new_trie_data(data_dest, CURRENT_TRIE, node_dest);
                            ^
./base_tries.h:56:61: note: in definition of macro 'AS_TR_DATA_NEXT'
 #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'
             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'
   new_trie_data(data_dest, CURRENT_TRIE, node_dest);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static
   new_trie_data(data_dest, CURRENT_TRIE, node_dest);
                            ^
./base_tries.h:33:37: note: in definition of macro 'TrEntry_last_data'
 #define TrEntry_last_data(X)      ((X)->last_trie_data)
                                     ^
./base_tries.c:65:3: note: in expansion of macro 'new_trie_data'
   new_trie_data(data_dest, CURRENT_TRIE, node_dest);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static
   new_trie_data(data_dest, CURRENT_TRIE, node_dest);
                            ^
./base_tries.h:77:34: note: in definition of macro 'new_trie_data'
           TrData_trie(TR_DATA) = TR_ENTRY;                                               \
                                  ^
In file included from ./base_tries.c:18:0:
./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static
   new_trie_data(data_dest, CURRENT_TRIE, node_dest);
                            ^
./base_tries.h:32:37: note: in definition of macro 'TrEntry_first_data'
 #define TrEntry_first_data(X)     ((X)->first_trie_data)
                                     ^
./base_tries.c:65:3: note: in expansion of macro 'new_trie_data'
   new_trie_data(data_dest, CURRENT_TRIE, node_dest);
   ^
In file included from ./base_tries.c:17:0:
./base_tries.h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_data_load' which is not static
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:55:3: note: in expansion of macro 'new_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:55:3: note: in expansion of macro 'new_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:55:3: note: in expansion of macro 'new_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:55:3: note: in expansion of macro 'new_trie_data'
   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
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_tries.h:89:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA);                                 \
           ^
./base_tries.c:55:3: note: in expansion of macro 'new_trie_data'
   new_trie_data(data, CURRENT_TRIE, node);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:55:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_load' which is not static
   new_trie_data(data, CURRENT_TRIE, node);
                       ^
./base_tries.h:33:37: note: in definition of macro 'TrEntry_last_data'
 #define TrEntry_last_data(X)      ((X)->last_trie_data)
                                     ^
./base_tries.c:55:3: note: in expansion of macro 'new_trie_data'
   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
   new_trie_data(data, CURRENT_TRIE, node);
                       ^
./base_tries.h:32:37: note: in definition of macro 'TrEntry_first_data'
 #define TrEntry_first_data(X)     ((X)->first_trie_data)
                                     ^
./base_tries.c:55:3: note: in expansion of macro 'new_trie_data'
   new_trie_data(data, CURRENT_TRIE, node);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:55:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_load' which is not static
   new_trie_data(data, CURRENT_TRIE, node);
                       ^
./base_tries.h:56:61: note: in definition of macro 'AS_TR_DATA_NEXT'
 #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'
             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'
   new_trie_data(data, CURRENT_TRIE, node);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:55:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_load' which is not static
   new_trie_data(data, CURRENT_TRIE, node);
                       ^
./base_tries.h:33:37: note: in definition of macro 'TrEntry_last_data'
 #define TrEntry_last_data(X)      ((X)->last_trie_data)
                                     ^
./base_tries.c:55:3: note: in expansion of macro 'new_trie_data'
   new_trie_data(data, CURRENT_TRIE, node);
   ^
In file included from ./base_tries.c:18:0:
./base_tries.c:55:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_load' which is not static
   new_trie_data(data, CURRENT_TRIE, node);
                       ^
./base_tries.h:77:34: note: in definition of macro 'new_trie_data'
           TrData_trie(TR_DATA) = TR_ENTRY;                                               \
                                  ^
In file included from ./base_tries.c:18:0:
./base_tries.c:55:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_load' which is not static
   new_trie_data(data, CURRENT_TRIE, node);
                       ^
./base_tries.h:32:37: note: in definition of macro 'TrEntry_first_data'
 #define TrEntry_first_data(X)     ((X)->first_trie_data)
                                     ^
./base_tries.c:55:3: note: in expansion of macro 'new_trie_data'
   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
   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
   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
   TRIE_ENGINE = core_trie_init_module();
   ^
In file included from ./core_tries.h:318:0,
                 from ./base_tries.c:17:
./core_dbtries.h:229:18: warning: inline function 'core_set_trie_db_opt_min_prefix' declared but never defined
 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
 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
 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
 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
 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
 inline YAP_Term  core_get_trie_db_return_term(void);
                  ^
In file included from ./core_tries.h:318:0,
                 from ./base_tries.c:17:
./core_dbtries.h:223:18: warning: inline function 'core_breadth_reduction' declared but never defined
 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:0,
                 from ./base_tries.c:17:
./core_dbtries.h:222:18: warning: inline function 'core_depth_reduction' declared but never defined
 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
 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
 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
 inline YAP_Int   core_get_label_counter(void);
                  ^
./core_dbtries.h:218:18: warning: inline function 'core_set_label_counter' declared but never defined
 inline void      core_set_label_counter(YAP_Int value);
                  ^
In file included from ./base_tries.c:17:0:
./core_tries.h:316:18: warning: inline function 'core_trie_to_list' declared but never defined
 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
 inline void     core_enable_hash_table(void);
                 ^
./core_tries.h:313:17: warning: inline function 'core_disable_hash_table' declared but never defined
 inline void     core_disable_hash_table(void);
                 ^
./core_tries.h:311:17: warning: inline function 'core_trie_print' declared but never defined
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 inline YAP_Int  core_trie_get_mode(void);
                 ^
./core_tries.h:294:17: warning: inline function 'core_trie_set_mode' declared but never defined
 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
 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
 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
 inline TrNode   core_trie_open(TrEngine engine);
                 ^
./core_tries.h:290:17: warning: inline function 'core_trie_init_module' declared but never defined
 inline TrEngine core_trie_init_module(void);
                 ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include ./tries.c -o tries.o
In file included from ./base_tries.h:148:0,
                 from ./tries.c:18:
./base_dbtries.h:216:17: warning: inline function 'trie_set_db_opt_min_prefix' declared but never defined
 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
 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
 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
 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
 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
 inline void     trie_data_order_correction(void);
                 ^
In file included from ./base_tries.h:148:0,
                 from ./tries.c:18:
./base_dbtries.h:210:17: warning: inline function 'trie_depth_breadth' declared but never defined
 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:0:
./base_tries.h:146:17: warning: inline function 'trie_to_list' declared but never defined
 inline YAP_Term trie_to_list(TrEntry trie);
                 ^
./base_tries.h:144:17: warning: inline function 'trie_enable_hash_table' declared but never defined
 inline void     trie_enable_hash_table(void);
                 ^
./base_tries.h:143:17: warning: inline function 'trie_disable_hash_table' declared but never defined
 inline void     trie_disable_hash_table(void);
                 ^
./base_tries.h:142:17: warning: inline function 'trie_traverse_next' declared but never defined
 inline TrData   trie_traverse_next(TrData data);
                 ^
./base_tries.h:141:17: warning: inline function 'trie_traverse_first' declared but never defined
 inline TrData   trie_traverse_first(TrEntry trie);
                 ^
./base_tries.h:140:17: warning: inline function 'trie_get_traverse_mode' declared but never defined
 inline YAP_Int  trie_get_traverse_mode(void);
                 ^
./base_tries.h:139:17: warning: inline function 'trie_set_traverse_mode' declared but never defined
 inline void     trie_set_traverse_mode(YAP_Int mode);
                 ^
./base_tries.h:138:17: warning: inline function 'trie_data_construct' declared but never defined
 inline void     trie_data_construct(TrNode node);
                 ^
./base_tries.h:136:17: warning: inline function 'trie_print' declared but never defined
 inline void     trie_print(TrEntry trie);
                 ^
./base_tries.h:135:17: warning: inline function 'trie_usage' declared but never defined
 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
 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
 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
 inline TrEntry  trie_load(FILE *file);
                 ^
./base_tries.h:131:17: warning: inline function 'trie_save' declared but never defined
 inline void     trie_save(TrEntry trie, FILE *file);
                 ^
./base_tries.h:130:17: warning: inline function 'trie_count_intersect' declared but never defined
 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
 inline YAP_Int  trie_count_join(TrEntry trie1, TrEntry trie2);
                 ^
./base_tries.h:128:17: warning: inline function 'trie_intersect' declared but never defined
 inline void     trie_intersect(TrEntry trie_dest, TrEntry trie_source);
                 ^
./base_tries.h:127:17: warning: inline function 'trie_join' declared but never defined
 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
 inline void     trie_remove_subtree(TrData data);
                 ^
./base_tries.h:125:17: warning: inline function 'trie_remove_entry' declared but never defined
 inline void     trie_remove_entry(TrData data);
                 ^
./base_tries.h:124:17: warning: inline function 'trie_traverse_cont' declared but never defined
 inline TrData   trie_traverse_cont(TrEntry trie);
                 ^
./base_tries.h:123:17: warning: inline function 'trie_traverse_init' declared but never defined
 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
 inline TrData   trie_get_last_entry(TrEntry trie);
                 ^
./base_tries.h:121:17: warning: inline function 'trie_get_first_entry' declared but never defined
 inline TrData   trie_get_first_entry(TrEntry trie);
                 ^
./base_tries.h:120:17: warning: inline function 'trie_get_entry' declared but never defined
 inline YAP_Term trie_get_entry(TrData data);
                 ^
./base_tries.h:119:17: warning: inline function 'trie_check_entry' declared but never defined
 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
 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
 inline YAP_Int  trie_get_mode(void);
                 ^
./base_tries.h:116:17: warning: inline function 'trie_set_mode' declared but never defined
 inline void     trie_set_mode(YAP_Int mode);
                 ^
./base_tries.h:115:17: warning: inline function 'trie_close_all' declared but never defined
 inline void     trie_close_all(void);
                 ^
./base_tries.h:114:17: warning: inline function 'trie_close' declared but never defined
 inline void     trie_close(TrEntry trie);
                 ^
./base_tries.h:113:17: warning: inline function 'trie_open' declared but never defined
 inline TrEntry  trie_open(void);
                 ^
./base_tries.h:112:17: warning: inline function 'trie_data_destruct' declared but never defined
 inline void     trie_data_destruct(TrNode node);
                 ^
./base_tries.h:111:17: warning: inline function 'trie_data_copy' declared but never defined
 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
 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
 inline void     trie_init_module(void);
                 ^
In file included from ./core_tries.h:318:0,
                 from ./tries.c:17:
./core_dbtries.h:229:18: warning: inline function 'core_set_trie_db_opt_min_prefix' declared but never defined
 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
 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
 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
 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
 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
 inline YAP_Term  core_get_trie_db_return_term(void);
                  ^
In file included from ./core_tries.h:318:0,
                 from ./tries.c:17:
./core_dbtries.h:223:18: warning: inline function 'core_breadth_reduction' declared but never defined
 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:0,
                 from ./tries.c:17:
./core_dbtries.h:222:18: warning: inline function 'core_depth_reduction' declared but never defined
 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
 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
 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
 inline YAP_Int   core_get_label_counter(void);
                  ^
./core_dbtries.h:218:18: warning: inline function 'core_set_label_counter' declared but never defined
 inline void      core_set_label_counter(YAP_Int value);
                  ^
In file included from ./tries.c:17:0:
./core_tries.h:316:18: warning: inline function 'core_trie_to_list' declared but never defined
 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
 inline void     core_enable_hash_table(void);
                 ^
./core_tries.h:313:17: warning: inline function 'core_disable_hash_table' declared but never defined
 inline void     core_disable_hash_table(void);
                 ^
./core_tries.h:311:17: warning: inline function 'core_trie_print' declared but never defined
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 inline YAP_Int  core_trie_get_mode(void);
                 ^
./core_tries.h:294:17: warning: inline function 'core_trie_set_mode' declared but never defined
 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
 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
 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
 inline TrNode   core_trie_open(TrEngine engine);
                 ^
./core_tries.h:290:17: warning: inline function 'core_trie_init_module' declared but never defined
 inline TrEngine core_trie_init_module(void);
                 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o tries.so core_tries.o base_tries.o tries.o  -L/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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
   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
   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
   FIRST_ITRIE = itrie;
   ^
In file included from ./base_itries.c:18:0:
./base_itries.c:379:22: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_load' which is not static
     TrEntry_previous(FIRST_ITRIE) = itrie;
                      ^
./base_itries.h:44:38: note: in definition of macro 'TrEntry_previous'
 #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
   if (FIRST_ITRIE)
       ^
In file included from ./base_itries.c:17:0:
./base_itries.h:154:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static
           DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:154:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:374:5: note: in expansion of macro 'free_itrie_entry'
     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
           DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:158:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:152:11: note: in expansion of macro 'free_itrie_buckets'
         { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR));    \
           ^
./base_itries.c:374:5: note: in expansion of macro 'free_itrie_entry'
     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
   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
   CURRENT_ITRIE = itrie;
   ^
In file included from ./base_itries.c:17:0:
./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry'
   new_itrie_entry(itrie, NULL);
   ^
In file included from ./base_itries.c:18:0:
./base_itries.h:93:58: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_load' which is not static
           TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_ITRIE);           \
                                                          ^
./base_itries.h:76:62: note: in definition of macro 'AS_TR_ENTRY_NEXT'
 #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'
   new_itrie_entry(itrie, NULL);
   ^
In file included from ./base_itries.c:18:0:
./base_itries.h:92:36: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_load' which is not static
           TrEntry_next(TR_ENTRY) = FIRST_ITRIE;                                  \
                                    ^
./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry'
   new_itrie_entry(itrie, NULL);
   ^
In file included from ./base_itries.c:17:0:
./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_load' which is not static
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets'
           new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS);                     \
           ^
./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets'
           new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS);                     \
           ^
./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets'
           new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS);                     \
           ^
./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets'
           new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS);                     \
           ^
./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets'
           new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS);                     \
           ^
./base_itries.c:371:3: note: in expansion of macro 'new_itrie_entry'
   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
   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
   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
   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
   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
   core_trie_remove_entry(ITRIE_ENGINE, TrData_leaf(data), &itrie_data_destruct);
                          ^
In file included from ./base_itries.c:17:0:
./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_put_entry' which is not static
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data'
     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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data'
     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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data'
     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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data'
     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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data'
     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
           DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:158:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:119:13: note: in expansion of macro 'free_itrie_buckets'
             free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY));           \
             ^
./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data'
     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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data'
     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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data'
     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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data'
     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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data'
     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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:208:5: note: in expansion of macro 'new_itrie_data'
     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
   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
     FIRST_ITRIE = itrie;
     ^
In file included from ./base_itries.c:17:0:
./base_itries.h:154:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_close_all' which is not static
           DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:154:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:167:5: note: in expansion of macro 'free_itrie_entry'
     free_itrie_entry(FIRST_ITRIE);
     ^
In file included from ./base_itries.c:17:0:
./base_itries.c:167:22: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_close_all' which is not static
     free_itrie_entry(FIRST_ITRIE);
                      ^
./core_tries.h:233:40: note: in definition of macro 'free_struct'
         YAP_FreeSpaceFromYap((char *) (STR))
                                        ^
./base_itries.c:167:5: note: in expansion of macro 'free_itrie_entry'
     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
     free_itrie_entry(FIRST_ITRIE);
                      ^
./core_tries.h:271:39: note: in definition of macro 'DECREMENT_MEMORY'
         TrEngine_memory(TR_ENGINE) -= SIZE
                                       ^
./base_itries.h:152:11: note: in expansion of macro 'free_itrie_buckets'
         { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR));    \
           ^
./base_itries.h:152:52: note: in expansion of macro 'TrEntry_num_buckets'
         { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR));    \
                                                    ^
./base_itries.c:167:5: note: in expansion of macro 'free_itrie_entry'
     free_itrie_entry(FIRST_ITRIE);
     ^
In file included from ./base_itries.c:17:0:
./base_itries.h:158:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_close_all' which is not static
           DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:158:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:152:11: note: in expansion of macro 'free_itrie_buckets'
         { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR));    \
           ^
./base_itries.c:167:5: note: in expansion of macro 'free_itrie_entry'
     free_itrie_entry(FIRST_ITRIE);
     ^
In file included from ./base_itries.c:17:0:
./base_itries.c:167:22: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_close_all' which is not static
     free_itrie_entry(FIRST_ITRIE);
                      ^
./core_tries.h:233:40: note: in definition of macro 'free_struct'
         YAP_FreeSpaceFromYap((char *) (STR))
                                        ^
./base_itries.h:152:11: note: in expansion of macro 'free_itrie_buckets'
         { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR));    \
           ^
./base_itries.h:152:30: note: in expansion of macro 'TrEntry_buckets'
         { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR));    \
                              ^
./base_itries.c:167:5: note: in expansion of macro 'free_itrie_entry'
     free_itrie_entry(FIRST_ITRIE);
     ^
In file included from ./base_itries.c:18:0:
./base_itries.c:166:26: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_close_all' which is not static
     itrie = TrEntry_next(FIRST_ITRIE);
                          ^
./base_itries.h:43:38: note: in definition of macro 'TrEntry_next'
 #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
   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
   core_trie_close_all(ITRIE_ENGINE, &itrie_data_destruct);
                       ^
In file included from ./base_itries.c:17:0:
./base_itries.h:154:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_close' which is not static
           DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:154:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:155:3: note: in expansion of macro 'free_itrie_entry'
   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
           DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:158:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:152:11: note: in expansion of macro 'free_itrie_buckets'
         { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR));    \
           ^
./base_itries.c:155:3: note: in expansion of macro 'free_itrie_entry'
   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
   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
   FIRST_ITRIE = itrie;
   ^
In file included from ./base_itries.c:18:0:
./base_itries.c:141:22: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_open' which is not static
     TrEntry_previous(FIRST_ITRIE) = itrie;
                      ^
./base_itries.h:44:38: note: in definition of macro 'TrEntry_previous'
 #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
   if (FIRST_ITRIE)
       ^
In file included from ./base_itries.c:17:0:
./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:94:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY);                       \
           ^
./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry'
   new_itrie_entry(itrie, node);
   ^
In file included from ./base_itries.c:18:0:
./base_itries.h:93:58: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_open' which is not static
           TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_ITRIE);           \
                                                          ^
./base_itries.h:76:62: note: in definition of macro 'AS_TR_ENTRY_NEXT'
 #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'
   new_itrie_entry(itrie, node);
   ^
In file included from ./base_itries.c:18:0:
./base_itries.h:92:36: warning: 'FIRST_ITRIE' is static but used in inline function 'itrie_open' which is not static
           TrEntry_next(TR_ENTRY) = FIRST_ITRIE;                                  \
                                    ^
./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry'
   new_itrie_entry(itrie, node);
   ^
In file included from ./base_itries.c:17:0:
./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets'
           new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS);                     \
           ^
./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets'
           new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS);                     \
           ^
./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets'
           new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS);                     \
           ^
./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets'
           new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS);                     \
           ^
./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:90:11: note: in expansion of macro 'new_itrie_buckets'
           new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS);                     \
           ^
./base_itries.c:139:3: note: in expansion of macro 'new_itrie_entry'
   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
   node = core_trie_open(ITRIE_ENGINE);
                         ^
In file included from ./base_itries.c:17:0:
./base_itries.h:162:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_destruct' which is not static
           DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:162:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:100:3: note: in expansion of macro 'free_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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:0:
./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static
   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'
 #define TrEntry_bucket(X,N)        ((X)->trie_data_buckets + N)
                                      ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
   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'
 #define TrEntry_num_buckets(X)     ((X)->number_of_buckets)
                                      ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
   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'
 #define TrEntry_num_buckets(X)     ((X)->number_of_buckets)
                                      ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
   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'
 #define TrEntry_buckets(X)         ((X)->trie_data_buckets)
                                      ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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:0:
./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static
   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'
         TrEngine_memory(TR_ENGINE) -= SIZE
                                       ^
./base_itries.h:119:13: note: in expansion of macro 'free_itrie_buckets'
             free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY));           \
             ^
./base_itries.h:119:40: note: in expansion of macro 'TrEntry_num_buckets'
             free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY));           \
                                        ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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:0:
./base_itries.h:158:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static
           DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:158:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:119:13: note: in expansion of macro 'free_itrie_buckets'
             free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY));           \
             ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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:0,
                 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
   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'
                    TrEntry_num_buckets(TR_ENTRY) * SIZEOF_TR_DATA_BUCKET);       \
                    ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
   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'
             memcpy(TrEntry_buckets(TR_ENTRY), bucket,                            \
                    ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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:0,
                 from /usr/include/stdio.h:597,
                 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
   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'
             memcpy(TrEntry_buckets(TR_ENTRY), bucket,                            \
                    ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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:0,
                 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
   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'
                    TrEntry_num_buckets(TR_ENTRY) * SIZEOF_TR_DATA_BUCKET);       \
                    ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
   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'
             memcpy(TrEntry_buckets(TR_ENTRY), bucket,                            \
                    ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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:0,
                 from /usr/include/stdio.h:597,
                 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
   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'
             memcpy(TrEntry_buckets(TR_ENTRY), bucket,                            \
                    ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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:0:
./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_copy' which is not static
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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:0:
./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static
   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'
 #define TrEntry_buckets(X)         ((X)->trie_data_buckets)
                                      ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
   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'
 #define TrEntry_buckets(X)         ((X)->trie_data_buckets)
                                      ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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
   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'
 #define TrEntry_num_buckets(X)     ((X)->number_of_buckets)
                                      ^
./base_itries.c:80:3: note: in expansion of macro 'new_itrie_data'
   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:0:
./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static
   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'
           TrData_itrie(TR_DATA) = TR_ENTRY;                                      \
                                   ^
In file included from ./base_itries.c:17:0:
./base_itries.h:134:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:134:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA);                        \
           ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
   ^
In file included from ./base_itries.c:18:0:
./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:41:38: note: in definition of macro 'TrEntry_bucket'
 #define TrEntry_bucket(X,N)        ((X)->trie_data_buckets + N)
                                      ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:47:38: note: in definition of macro 'TrEntry_num_buckets'
 #define TrEntry_num_buckets(X)     ((X)->number_of_buckets)
                                      ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:47:38: note: in definition of macro 'TrEntry_num_buckets'
 #define TrEntry_num_buckets(X)     ((X)->number_of_buckets)
                                      ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:40:38: note: in definition of macro 'TrEntry_buckets'
 #define TrEntry_buckets(X)         ((X)->trie_data_buckets)
                                      ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
   ^
In file included from ./base_itries.c:17:0:
./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./core_tries.h:271:39: note: in definition of macro 'DECREMENT_MEMORY'
         TrEngine_memory(TR_ENGINE) -= SIZE
                                       ^
./base_itries.h:119:13: note: in expansion of macro 'free_itrie_buckets'
             free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY));           \
             ^
./base_itries.h:119:40: note: in expansion of macro 'TrEntry_num_buckets'
             free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY));           \
                                        ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
   ^
In file included from ./base_itries.c:17:0:
./base_itries.h:158:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static
           DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:158:11: note: in expansion of macro 'DECREMENT_MEMORY'
           DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:119:13: note: in expansion of macro 'free_itrie_buckets'
             free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY));           \
             ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
   ^
In file included from /usr/include/string.h:127:0,
                 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
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:118:20: note: in expansion of macro 'TrEntry_num_buckets'
                    TrEntry_num_buckets(TR_ENTRY) * SIZEOF_TR_DATA_BUCKET);       \
                    ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:117:20: note: in expansion of macro 'TrEntry_buckets'
             memcpy(TrEntry_buckets(TR_ENTRY), bucket,                            \
                    ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
   ^
In file included from /usr/include/ssp/stdio.h:34:0,
                 from /usr/include/stdio.h:597,
                 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
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:117:20: note: in expansion of macro 'TrEntry_buckets'
             memcpy(TrEntry_buckets(TR_ENTRY), bucket,                            \
                    ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
   ^
In file included from /usr/include/string.h:127:0,
                 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
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:118:20: note: in expansion of macro 'TrEntry_num_buckets'
                    TrEntry_num_buckets(TR_ENTRY) * SIZEOF_TR_DATA_BUCKET);       \
                    ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:117:20: note: in expansion of macro 'TrEntry_buckets'
             memcpy(TrEntry_buckets(TR_ENTRY), bucket,                            \
                    ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
   ^
In file included from /usr/include/ssp/stdio.h:34:0,
                 from /usr/include/stdio.h:597,
                 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
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:117:20: note: in expansion of macro 'TrEntry_buckets'
             memcpy(TrEntry_buckets(TR_ENTRY), bucket,                            \
                    ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
   ^
In file included from ./base_itries.c:17:0:
./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_data_load' which is not static
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:81:35: note: in definition of macro 'TrEngine_memory_max'
 #define TrEngine_memory_max(X)  ((X)->memory_max_used)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
                            ^
./core_tries.h:77:35: note: in definition of macro 'TrEngine_memory'
 #define TrEngine_memory(X)      ((X)->memory_in_use)
                                   ^
./base_itries.h:102:11: note: in expansion of macro 'INCREMENT_MEMORY'
           INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \
           ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
   ^
In file included from ./base_itries.c:18:0:
./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:40:38: note: in definition of macro 'TrEntry_buckets'
 #define TrEntry_buckets(X)         ((X)->trie_data_buckets)
                                      ^
./base_itries.h:116:13: note: in expansion of macro 'new_itrie_buckets'
             new_itrie_buckets(TR_ENTRY, new_num_buckets);                        \
             ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:40:38: note: in definition of macro 'TrEntry_buckets'
 #define TrEntry_buckets(X)         ((X)->trie_data_buckets)
                                      ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   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
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:47:38: note: in definition of macro 'TrEntry_num_buckets'
 #define TrEntry_num_buckets(X)     ((X)->number_of_buckets)
                                      ^
./base_itries.c:59:3: note: in expansion of macro 'new_itrie_data'
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
   ^
In file included from ./base_itries.c:18:0:
./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static
   new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth);
                        ^
./base_itries.h:111:35: note: in definition of macro 'new_itrie_data'
           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
   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
   ITRIE_ENGINE = core_trie_init_module();
   ^
In file included from ./core_tries.h:318:0,
                 from ./base_itries.c:17:
./core_dbtries.h:229:18: warning: inline function 'core_set_trie_db_opt_min_prefix' declared but never defined
 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
 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
 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
 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
 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
 inline YAP_Term  core_get_trie_db_return_term(void);
                  ^
In file included from ./core_tries.h:318:0,
                 from ./base_itries.c:17:
./core_dbtries.h:223:18: warning: inline function 'core_breadth_reduction' declared but never defined
 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:0,
                 from ./base_itries.c:17:
./core_dbtries.h:222:18: warning: inline function 'core_depth_reduction' declared but never defined
 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
 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
 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
 inline YAP_Int   core_get_label_counter(void);
                  ^
./core_dbtries.h:218:18: warning: inline function 'core_set_label_counter' declared but never defined
 inline void      core_set_label_counter(YAP_Int value);
                  ^
In file included from ./base_itries.c:17:0:
./core_tries.h:316:18: warning: inline function 'core_trie_to_list' declared but never defined
 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
 inline void     core_enable_hash_table(void);
                 ^
./core_tries.h:313:17: warning: inline function 'core_disable_hash_table' declared but never defined
 inline void     core_disable_hash_table(void);
                 ^
./core_tries.h:311:17: warning: inline function 'core_trie_print' declared but never defined
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 inline YAP_Int  core_trie_get_mode(void);
                 ^
./core_tries.h:294:17: warning: inline function 'core_trie_set_mode' declared but never defined
 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
 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
 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
 inline TrNode   core_trie_open(TrEngine engine);
                 ^
./core_tries.h:290:17: warning: inline function 'core_trie_init_module' declared but never defined
 inline TrEngine core_trie_init_module(void);
                 ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include ./itries.c -o itries.o
In file included from ./itries.c:18:0:
./base_itries.h:207:17: warning: inline function 'itrie_print' declared but never defined
 inline void     itrie_print(TrEntry itrie);
                 ^
./base_itries.h:206:17: warning: inline function 'itrie_usage' declared but never defined
 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
 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
 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
 inline TrEntry  itrie_load(FILE *file);
                 ^
./base_itries.h:202:17: warning: inline function 'itrie_save_as_trie' declared but never defined
 inline void     itrie_save_as_trie(TrEntry itrie, FILE *file);
                 ^
./base_itries.h:201:17: warning: inline function 'itrie_save' declared but never defined
 inline void     itrie_save(TrEntry itrie, FILE *file);
                 ^
./base_itries.h:200:17: warning: inline function 'itrie_count_intersect' declared but never defined
 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
 inline YAP_Int  itrie_count_join(TrEntry itrie1, TrEntry itrie2);
                 ^
./base_itries.h:198:17: warning: inline function 'itrie_intersect' declared but never defined
 inline void     itrie_intersect(TrEntry itrie_dest, TrEntry itrie_source);
                 ^
./base_itries.h:197:17: warning: inline function 'itrie_join' declared but never defined
 inline void     itrie_join(TrEntry itrie_dest, TrEntry itrie_source);
                 ^
./base_itries.h:196:17: warning: inline function 'itrie_subtract' declared but never defined
 inline void     itrie_subtract(TrEntry itrie_dest, TrEntry itrie_source);
                 ^
./base_itries.h:195:17: warning: inline function 'itrie_add' declared but never defined
 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
 inline void     itrie_remove_subtree(TrData data);
                 ^
./base_itries.h:193:17: warning: inline function 'itrie_remove_entry' declared but never defined
 inline void     itrie_remove_entry(TrData data);
                 ^
./base_itries.h:192:17: warning: inline function 'itrie_traverse_cont' declared but never defined
 inline TrData   itrie_traverse_cont(TrEntry itrie);
                 ^
./base_itries.h:191:17: warning: inline function 'itrie_traverse_init' declared but never defined
 inline TrData   itrie_traverse_init(TrEntry itrie);
                 ^
./base_itries.h:190:17: warning: inline function 'itrie_get_data' declared but never defined
 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
 inline YAP_Term itrie_get_entry(TrData data);
                 ^
./base_itries.h:188:17: warning: inline function 'itrie_check_entry' declared but never defined
 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
 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
 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
 inline YAP_Int  itrie_get_timestamp(TrEntry itrie);
                 ^
./base_itries.h:184:17: warning: inline function 'itrie_set_timestamp' declared but never defined
 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
 inline YAP_Int  itrie_get_mode(TrEntry itrie);
                 ^
./base_itries.h:182:17: warning: inline function 'itrie_set_mode' declared but never defined
 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
 inline void     itrie_close_all(void);
                 ^
./base_itries.h:180:17: warning: inline function 'itrie_close' declared but never defined
 inline void     itrie_close(TrEntry itrie);
                 ^
./base_itries.h:179:17: warning: inline function 'itrie_open' declared but never defined
 inline TrEntry  itrie_open(void);
                 ^
./base_itries.h:178:17: warning: inline function 'itrie_data_subtract' declared but never defined
 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
 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
 inline void     itrie_data_destruct(TrNode node);
                 ^
./base_itries.h:175:17: warning: inline function 'itrie_data_copy' declared but never defined
 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
 inline void     itrie_data_print(TrNode node);
                 ^
./base_itries.h:173:17: warning: inline function 'itrie_data_load' declared but never defined
 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
 inline void     itrie_data_save(TrNode node, FILE *file);
                 ^
./base_itries.h:171:17: warning: inline function 'itrie_init_module' declared but never defined
 inline void     itrie_init_module(void);
                 ^
In file included from ./core_tries.h:318:0,
                 from ./itries.c:17:
./core_dbtries.h:229:18: warning: inline function 'core_set_trie_db_opt_min_prefix' declared but never defined
 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
 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
 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
 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
 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
 inline YAP_Term  core_get_trie_db_return_term(void);
                  ^
In file included from ./core_tries.h:318:0,
                 from ./itries.c:17:
./core_dbtries.h:223:18: warning: inline function 'core_breadth_reduction' declared but never defined
 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:0,
                 from ./itries.c:17:
./core_dbtries.h:222:18: warning: inline function 'core_depth_reduction' declared but never defined
 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
 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
 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
 inline YAP_Int   core_get_label_counter(void);
                  ^
./core_dbtries.h:218:18: warning: inline function 'core_set_label_counter' declared but never defined
 inline void      core_set_label_counter(YAP_Int value);
                  ^
In file included from ./itries.c:17:0:
./core_tries.h:316:18: warning: inline function 'core_trie_to_list' declared but never defined
 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
 inline void     core_enable_hash_table(void);
                 ^
./core_tries.h:313:17: warning: inline function 'core_disable_hash_table' declared but never defined
 inline void     core_disable_hash_table(void);
                 ^
./core_tries.h:311:17: warning: inline function 'core_trie_print' declared but never defined
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 inline YAP_Int  core_trie_get_mode(void);
                 ^
./core_tries.h:294:17: warning: inline function 'core_trie_set_mode' declared but never defined
 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
 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
 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
 inline TrNode   core_trie_open(TrEngine engine);
                 ^
./core_tries.h:290:17: warning: inline function 'core_trie_init_module' declared but never defined
 inline TrEngine core_trie_init_module(void);
                 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o itries.so core_tries.o base_itries.o itries.o  -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/library/tries'
(cd packages/clib; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib'
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/uid.c -o uid.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/uid.c:233:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_uid()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o uid.so uid.o -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/error.c -o error.o
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/unix.c -o unix.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/unix.c:346:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 pl_detach_IO()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/unix.c:376:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_unix()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o unix.so error.o unix.o -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/socket.c -o socket.o
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/socket.c:48:0:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.h:77:0: warning: "socklen_t" redefined
 #define socklen_t size_t
 ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.h:65:0,
                 from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/socket.c:48:
/usr/include/sys/socket.h:84:0: note: this is the location of the previous definition
 #define socklen_t __socklen_t
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/socket.c:84:1: warning: no previous prototype for 'tcp_get_socket' [-Wmissing-prototypes]
 tcp_get_socket(term_t Socket, int *id)
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/socket.c:702:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 uninstall_socket()
 ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.c -o nonblockio.o
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.c:132:0:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.h:77:0: warning: "socklen_t" redefined
 #define socklen_t size_t
 ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.h:65:0,
                 from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.c:132:
/usr/include/sys/socket.h:84:0: note: this is the location of the previous definition
 #define socklen_t __socklen_t
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.c:323:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 tcp_debug()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.c: In function 'nbio_error':
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/nonblockio.c:1550:16: warning: variable 'map' set but not used [-Wunused-but-set-variable]
   error_codes *map;
                ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o socket.so error.o socket.o nonblockio.o  -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/form.c -o form.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/form.c:238:1: warning: no previous prototype for 'next_line' [-Wmissing-prototypes]
 next_line(const char *in)
 ^
In file included from /usr/include/stdio.h:597:0,
                 from /usr/include/wchar.h:67,
                 from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include/YapInterface.h:41,
                 from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include/SWI-Prolog.h:36,
                 from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/form.c:29:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/form.c: In function 'get_raw_form_data':
/tmp/pkgbuild/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=]
  sprintf(msg, "> %ld", *lenp);
               ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/cgi.c -o cgi.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/cgi.c:187:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_cgi()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o cgi.so error.o form.o cgi.o -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/memfile.c -o memfile.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/memfile.c:516:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_memfile()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o memfile.so error.o memfile.o -L/tmp/pkgbuild/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/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/files.c -o files.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/files.c:295:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_files()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/files.c:125:1: warning: 'get_time_option' defined but not used [-Wunused-function]
 get_time_option(term_t list, functor_t f, time_t def, time_t *tme)
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o files.so error.o files.o -L/tmp/pkgbuild/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/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/mime.c -o mime.o
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/mime.c:36:0:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045/rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045/rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045/rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045/rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045/rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/mime.c:485:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_mime()
 ^
(cd maildrop/rfc2045 && /usr/pkg/bin/gmake)
gmake[2]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045'
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
rfc2045.c:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 extern void rfc2045_enomem();
 ^
rfc2045.c:40:17: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc()
                 ^
rfc2045.c:181:6: warning: no previous prototype for 'rfc2045_add_buf' [-Wmissing-prototypes]
 void rfc2045_add_buf(
      ^
rfc2045.c:209:6: warning: no previous prototype for 'rfc2045_add_workbuf' [-Wmissing-prototypes]
 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]
 void rfc2045_add_workbufch(struct rfc2045 *h, int c)
      ^
rfc2045.c:1146:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset()
             ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
rfc2045acchk.c:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 extern void rfc2045_enomem();
 ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
rfc2045acprep.c:14:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static void end_rwprep();
 ^
rfc2045acprep.c:37:17: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac()
                 ^
rfc2045acprep.c:105:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static void end_rwprep()
             ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
rfc2045appendurl.c:21:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 extern void rfc2045_enomem();
 ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 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]
 int rc;
     ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
rfc2045enomem.c:6:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_enomem()
      ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
rfc2045_base64encode.c:47:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end()
      ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
rfc2045mkboundary.c:33:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 extern void rfc2045_enomem();
 ^
In file included from /usr/include/stdio.h:597:0,
                 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=]
  sprintf(timebuf, "%ld", mytime);
                   ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
rfc2045rewrite.c:48:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static void qpe_start();
 ^
rfc2045rewrite.c:50:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static void qpe_end();
 ^
rfc2045rewrite.c:53:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static int fdout_flush()
            ^
rfc2045rewrite.c:424:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static void qpe_start()
             ^
rfc2045rewrite.c:471:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static void qpe_end()
             ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc_ac();
        ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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:0:
rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 struct rfc2045 *rfc2045_alloc();
        ^
rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void rfc2045_base64encode_end();
 ^
rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 const char *rfc2045_getdefaultcharset();
 ^
rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  void (*end_section)();
  ^
rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 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 '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045'
(cd maildrop/rfc822 && /usr/pkg/bin/gmake)
gmake[2]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822'
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc822_parsedt.c -o rfc822_parsedt.o
rfc822_parsedt.c:113:8: warning: no previous prototype for 'rfc822_parsedt' [-Wmissing-prototypes]
 time_t rfc822_parsedt(const char *rfcdt)
        ^
rfc822_parsedt.c:225:13: warning: no previous prototype for 'rfc822_mkdt' [-Wmissing-prototypes]
 const char *rfc822_mkdt(time_t t)
             ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2047u.c -o rfc2047u.o
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I. -I. -I./.. -I../../../.. -DHAVE_CONFIG_H rfc2047.c -o rfc2047.o
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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' [-Wimplicit-function-declaration]
 #define strncasecmp strnicmp
                     ^
imapsubj.c:73:20: note: in expansion of macro 'strncasecmp'
    if (p-s >= 5 && strncasecmp(p-5, "(FWD)", 5) == 0)
                    ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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 '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822'
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o mime.so error.o mime.o -L/tmp/pkgbuild/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/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/time.c -o time.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/time.c:225:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 allocEvent()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/time.c:350:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 cleanupHandler()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/time.c:359:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 installHandler()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/time.c:678:1: warning: no previous prototype for 'alarm_error' [-Wmissing-prototypes]
 alarm_error(term_t alarm, int err)
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/time.c:994:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_time()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/time.c:1029:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 uninstall_time()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o time.so error.o time.o -L/tmp/pkgbuild/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/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/readutil.c -o readutil.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/readutil.c:163:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_readutil()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o readutil.so readutil.o -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/streaminfo.c -o streaminfo.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/streaminfo.c:107:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_streaminfo()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o streaminfo.so error.o streaminfo.o -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/process.c -o process.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/process.c: In function 'process_kill':
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/process.c:1531:8: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration]
   if ( kill(p, sig) == 0 )
        ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/process.c: At top level:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/process.c:1553:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_process()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o process.so error.o process.o -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/sha4pl.c -o sha4pl.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/sha4pl.c:275:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_sha4pl()
 ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H -DUSE_SHA1 -o sha1/sha1.o /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/sha1/sha1.c
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H -DUSE_SHA1 -o sha1/sha2.o /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/sha1/sha2.c
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H -DUSE_SHA1 -o sha1/hmac_sha1.o /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/sha1/hmac.c
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H -DUSE_SHA256 -o sha1/hmac_sha256.o /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/sha1/hmac.c
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/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/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include   -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc2045 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/maildrop/rfc822 -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/uri.c -o uri.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/uri.c:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 fill_flags()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/uri.c:1571:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_uri()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib/uri.c:1605:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 uninstall_uri()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o uri.so uri.o -lgmp -lreadline -lresolv -lcrypt -lstdc++ -lm  -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/clib'
(cd packages/http; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http'
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/http_stream.c -o http_stream.o
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/http_stream.c:25:0:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/http_error.c:128:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 instantiation_error()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/http_error.c:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 init_errors()
 ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/http_stream.c:26:0:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/http_chunked.c:288:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_http_chunked()
 ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/http_stream.c:27:0:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/cgi_stream.c:767:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_cgi_stream()
 ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/http_stream.c:28:0:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/stream_range.c:217:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_stream_range()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/http_stream.c:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_http_stream()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/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/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/json.c -o json.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http/json.c:149:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_json()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/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/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/http'
(cd packages/pldoc; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/pldoc'
gmake[1]: Nothing to be done for 'top'.
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/pldoc'
(cd packages/plunit; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/plunit'
Nothing to do for this package
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/plunit'
(cd packages/R; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/R'
Nothing to do for this package
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/R'
(cd packages/RDF; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/RDF'
Nothing to do for this package
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/RDF'
(cd packages/semweb; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb'
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c -o rdf_db.o
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:60:0:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/debug.h:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int  rdf_debuglevel();
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:625:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 check_index_tables()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:2136:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 new_db()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c: In function 'load_db':
/tmp/pkgbuild/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]
 { int version;
       ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c: At top level:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:4681:1: warning: no previous prototype for 'put_begin_end' [-Wmissing-prototypes]
 put_begin_end(term_t t, functor_t be, int level)
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c: In function 'next_search_state':
/tmp/pkgbuild/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]
   int unify_pred;
       ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c: At top level:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:6876:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 rdf_reset_db()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/rdf_db.c:6960:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_rdf_db()
 ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/atom.c -o atom.o
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/lock.c -o lock.o
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/lock.c:28:0:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/debug.h:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int  rdf_debuglevel();
 ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/md5.c -o md5.o
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/avl.c -o avl.o
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/atom_map.c -o atom_map.o
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/atom_map.c:35:0:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/debug.h:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int  rdf_debuglevel();
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/atom_map.c:143:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 init_functors()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/atom_map.c:290:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 init_datum_store()
 ^
/tmp/pkgbuild/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]
 rdf_statistics_literal_map(term_t map, term_t key)
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/atom_map.c:1179:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_atom_map()
 ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/debug.c -o debug.o
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/debug.c:26:0:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/debug.h:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int  rdf_debuglevel();
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/debug.c:33:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 rdf_debuglevel()
 ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/hash.c -o hash.o
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/murmur.c -o murmur.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/murmur.c:69:1: warning: no previous prototype for 'rdf_murmer_hash' [-Wmissing-prototypes]
 rdf_murmer_hash(const void *key, int len, unsigned int seed)
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/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/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/turtle.c -o turtle.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb/turtle.c:608:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_turtle()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/share/Yap/semweb -o turtle.so turtle.o  -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/semweb'
(cd packages/sgml; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml'
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/parser.c -o parser.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/parser.c:256:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 new_symbol_table()
 ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/util.c -o util.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/util.c:807:1: warning: no previous prototype for 'wputs' [-Wmissing-prototypes]
 wputs(ichar *s)
 ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/charmap.c -o charmap.o
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/catalog.c -o catalog.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/catalog.c:171:1: warning: no previous prototype for 'register_catalog_file_unlocked' [-Wmissing-prototypes]
 register_catalog_file_unlocked(const ichar *file, catalog_location where)
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/catalog.c:220:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 init_catalog()
 ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/model.c -o model.o
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/xmlns.c -o xmlns.o
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/utf8.c -o utf8.o
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/xml_unicode.c -o xml_unicode.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/xml_unicode.c:41:1: warning: no previous prototype for 'xml_basechar' [-Wmissing-prototypes]
 xml_basechar(int c)
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/xml_unicode.c:798:1: warning: no previous prototype for 'xml_ideographic' [-Wmissing-prototypes]
 xml_ideographic(int c)
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/xml_unicode.c:810:1: warning: no previous prototype for 'xml_combining_char' [-Wmissing-prototypes]
 xml_combining_char(int c)
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/xml_unicode.c:1162:1: warning: no previous prototype for 'xml_digit' [-Wmissing-prototypes]
 xml_digit(int c)
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/xml_unicode.c:1223:1: warning: no previous prototype for 'xml_extender' [-Wmissing-prototypes]
 xml_extender(int c)
 ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/error.c -o error.o
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c -o sgml2pl.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c:180:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 initConstants()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c:780:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 reset_url_cache()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c:2466:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 { int (*func)();
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c:2488:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 initprops()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c:2586:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install()
 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/sgml2pl.c:2613:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 uninstall()
 ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/quote.c -o quote.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/quote.c:472:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 install_xml_quote()
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/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/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/dtd2pl.c -o dtd2pl.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/dtd2pl.c:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 usage()
 ^
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/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/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H -I. /tmp/pkgbuild/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 '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/sgml'
(cd packages/CLPBN/horus; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/CLPBN/horus'
c++ -c -std=c++0x -fPIC -O3 -fomit-frame-pointer -Wall -O2 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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 -D_FORTIFY_SOURCE=2 -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/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -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 '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/CLPBN/horus'
(cd packages/swi-minisat2/C; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/swi-minisat2/C'
c++ -c -fPIC -O3 -fomit-frame-pointer -Wall -O2 -D_FORTIFY_SOURCE=2 -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]
     bool first = true;
          ^
c++ -c -fPIC -O3 -fomit-frame-pointer -Wall -O2 -D_FORTIFY_SOURCE=2 -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 -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib -o pl-minisat.so Solver.o pl-minisat.o  -L/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/swi-minisat2/C'
(cd packages/archive; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive'
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c -o archive4pl.o
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c: In function 'archive_open_stream':
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:461:3: warning: 'archive_read_support_compression_all' is deprecated [-Wdeprecated-declarations]
   { archive_read_support_compression_all(ar->archive);
   ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29:0:
/usr/include/archive.h:389:15: note: declared here
 __LA_DECL int archive_read_support_compression_all(struct archive *)
               ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:465:5: warning: 'archive_read_support_compression_bzip2' is deprecated [-Wdeprecated-declarations]
     enable_type(ar, COMPRESS_BZIP2,    archive_read_support_compression_bzip2);
     ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29:0:
/usr/include/archive.h:391:15: note: declared here
 __LA_DECL int archive_read_support_compression_bzip2(struct archive *)
               ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:468:5: warning: 'archive_read_support_compression_compress' is deprecated [-Wdeprecated-declarations]
     enable_type(ar, COMPRESS_COMPRESS, archive_read_support_compression_compress);
     ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29:0:
/usr/include/archive.h:393:15: note: declared here
 __LA_DECL int archive_read_support_compression_compress(struct archive *)
               ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:471:5: warning: 'archive_read_support_compression_gzip' is deprecated [-Wdeprecated-declarations]
     enable_type(ar, COMPRESS_GZIP,     archive_read_support_compression_gzip);
     ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29:0:
/usr/include/archive.h:395:15: note: declared here
 __LA_DECL int archive_read_support_compression_gzip(struct archive *)
               ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:474:5: warning: 'archive_read_support_compression_lzma' is deprecated [-Wdeprecated-declarations]
     enable_type(ar, COMPRESS_LZMA,     archive_read_support_compression_lzma);
     ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29:0:
/usr/include/archive.h:399:15: note: declared here
 __LA_DECL int archive_read_support_compression_lzma(struct archive *)
               ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:477:5: warning: 'archive_read_support_compression_none' is deprecated [-Wdeprecated-declarations]
     enable_type(ar, COMPRESS_NONE,     archive_read_support_compression_none);
     ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29:0:
/usr/include/archive.h:401:15: note: declared here
 __LA_DECL int archive_read_support_compression_none(struct archive *)
               ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:480:5: warning: 'archive_read_support_compression_xz' is deprecated [-Wdeprecated-declarations]
     enable_type(ar, COMPRESS_XZ,       archive_read_support_compression_xz);
     ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29:0:
/usr/include/archive.h:413:15: note: declared here
 __LA_DECL int archive_read_support_compression_xz(struct archive *)
               ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c: In function 'archive_close':
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:562:3: warning: 'archive_read_finish' is deprecated [-Wdeprecated-declarations]
   if ( (rc=archive_read_finish(ar->archive)) == ARCHIVE_OK )
   ^
In file included from /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:29:0:
/usr/include/archive.h:711:17: note: declared here
 __LA_DECL int   archive_read_finish(struct archive *) __LA_DEPRECATED;
                 ^
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c: At top level:
/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive/archive4pl.c:693:1: warning: no previous prototype for 'install_archive4pl' [-Wmissing-prototypes]
 install_archive4pl(void)
 ^
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/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/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/archive'
(cd packages/odbc; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/odbc'
WARNING: Could not find odbc library; skipped
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/odbc'
(cd packages/zlib; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/zlib'
gcc -c   -D_YAP_NOT_INSTALLED_=1 -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/zlib -I../.. -I/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/zlib/../../include -I/tmp/pkgbuild/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 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include    -DHAVE_CONFIG_H /tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/zlib/zlib4pl.c -o zlib4pl.o
gcc -shared -Wl,-export-dynamic -Wl,--export-dynamic -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/tmp/pkgbuild/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/tmp/pkgbuild/lang/yap/work/yap-6.3.3 -Wl,-R,/usr/pkg/lib/Yap -lpthread
gmake[1]: Leaving directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/zlib'
(cd packages/prism/src/c; /usr/pkg/bin/gmake)
gmake[1]: Entering directory '/tmp/pkgbuild/lang/yap/work/yap-6.3.3/packages/prism/src/c'
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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' [-Wimplicit-function-declaration]
   YAP_UserCPredicate(s, f, n);
   ^
core/glue.c: At top level:
core/glue.c:38:6: warning: no previous prototype for 'bp4p_init' [-Wmissing-prototypes]
 void bp4p_init(int *argc, char **argv[])
      ^
core/glue.c:45:6: warning: no previous prototype for 'bp4p_exit' [-Wmissing-prototypes]
 void bp4p_exit(int status)
      ^
core/glue.c:53:6: warning: no previous prototype for 'bp4p_quit' [-Wmissing-prototypes]
 void bp4p_quit(int status)
      ^
core/glue.c:62:6: warning: no previous prototype for 'bp4p_register_preds' [-Wmissing-prototypes]
 void bp4p_register_preds(void)
      ^
gcc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -D_FORTIFY_SOURCE=2 -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]
 int bpx_mount_query_term(TERM t)
     ^
In file included from ./../../../../H/YapTags.h:362:0,
                 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
 INLINE_ONLY inline EXTERN void AlignGlobalForDouble( USES_REGS1 );
                                ^
./../../../../H/TermExt.h:254:19: error: called from here
   return (Term) ((AlignGlobalForDouble ( PASS_REGS1 ), H[0] =
                   ^
gmake[1]: *** [Makefile:65: core/bpx.o] Error 1
gmake[1]: Leaving directory '/tmp/pkgbuild/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