------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for yap-6.2.2_11: BUILDDOCS=off: Rebuild documentation (requires TeX) DOCS=on: Install documentation ===> Use 'make config' to modify these settings SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/lang/yap XDG_CONFIG_HOME=/construction/lang/yap XDG_CACHE_HOME=/construction/lang/yap/.cache HOME=/construction/lang/yap TMPDIR="/tmp" PATH=/construction/lang/yap/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/lang/yap/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- --enable-max-performance --disable-myddas --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/lang/yap XDG_CONFIG_HOME=/construction/lang/yap XDG_CACHE_HOME=/construction/lang/yap/.cache HOME=/construction/lang/yap TMPDIR="/tmp" PATH=/construction/lang/yap/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/lang/yap/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include -isystem /usr/local/include" LDFLAGS=" -L/usr/local/lib " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS=" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/lang/yap/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTDOCS="" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/Yap" EXAMPLESDIR="share/examples/yap" DATADIR="share/Yap" WWWDIR="www/yap" ETCDIR="etc/yap" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/Yap DOCSDIR=/usr/local/share/doc/Yap EXAMPLESDIR=/usr/local/share/examples/yap WWWDIR=/usr/local/www/yap ETCDIR=/usr/local/etc/yap SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/gmake-4.3_2.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. Installing /packages/All/gmp-6.2.1.pkg Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/readline-8.2.1.pkg SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> yap-6.2.2_11 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> yap-6.2.2_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by yap-6.2.2_11 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> yap-6.2.2_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by yap-6.2.2_11 for building => SHA256 Checksum OK for yap-6.2.2.tar.gz. => SHA256 Checksum OK for yap-doc-6.2.2.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> yap-6.2.2_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by yap-6.2.2_11 for building ===> Extracting for yap-6.2.2_11 => SHA256 Checksum OK for yap-6.2.2.tar.gz. => SHA256 Checksum OK for yap-doc-6.2.2.tar.gz. Extracted Memory Use: 34.19M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for yap-6.2.2_11 ===> Applying ports patches for yap-6.2.2_11 from /xports/lang/yap/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> yap-6.2.2_11 depends on package: gmake>=4.3 - found ===> yap-6.2.2_11 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> yap-6.2.2_11 depends on shared library: libgmp.so - found (/usr/local/lib/libgmp.so) ===> yap-6.2.2_11 depends on shared library: libreadline.so.8 - found (/usr/local/lib/libreadline.so.8) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> yap-6.2.2_11 depends on package: gmake>=4.3 - found ===> yap-6.2.2_11 depends on file: /usr/local/bin/ccache - found ===> yap-6.2.2_11 depends on shared library: libgmp.so - found (/usr/local/lib/libgmp.so) ===> yap-6.2.2_11 depends on shared library: libreadline.so.8 - found (/usr/local/lib/libreadline.so.8) ===> Configuring for yap-6.2.2_11 configure: loading site script /xports/Templates/config.site checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for gawk... (cached) /usr/bin/awk checking build system type... x86_64-portbld-dragonfly6.5 checking host system type... x86_64-portbld-dragonfly6.5 checking target system type... x86_64-portbld-dragonfly6.5 checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for indent... indent checking for ar... ar checking for mpicc... no checking for install-info... true checking for sh... /bin/sh checking for sin in -lm... yes checking for socket in -lsocket... no checking for getsockname in -lxnet... no checking for main in -lstdc++... yes checking for main in -lnsl... no checking for main in -lcrypt... yes checking for main in -lnss_files... no checking for main in -lnss_dns... no checking for main in -lresolv... no checking for main in -lreadline... yes checking for main in -lgmp... yes checking for zlibVersion in -lz... yes checking how to run the C preprocessor... cpp checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for restartable system calls... yes checking for zlibVersion in -lz... (cached) yes checking for main in -llam... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for arpa/inet.h... (cached) yes checking for alloca.h... (cached) no checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking for ctype.h... (cached) yes checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking for dirent.h... (cached) yes checking for dlfcn.h... (cached) yes checking for errno.h... (cached) yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for fcntl.h... (cached) yes checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking for float.h... (cached) yes checking fpu_control.h usability... no checking fpu_control.h presence... no checking for fpu_control.h... no checking ieeefp.h usability... yes checking ieeefp.h presence... yes checking for ieeefp.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking for math.h... (cached) yes checking for memory.h... (cached) yes checking mpe.h usability... no checking mpe.h presence... no checking for mpe.h... no checking mpi.h usability... no checking mpi.h presence... no checking for mpi.h... no checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking for pwd.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking siginfo.h usability... no checking siginfo.h presence... no checking for siginfo.h... no checking for signal.h... (cached) yes checking for stdarg.h... (cached) yes checking for string.h... (cached) yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking sys/conf.h usability... yes checking sys/conf.h presence... yes checking for sys/conf.h... yes checking sys/dir.h usability... no checking sys/dir.h presence... no checking for sys/dir.h... no checking for sys/file.h... (cached) yes checking for sys/mman.h... (cached) yes checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking for sys/param.h... (cached) yes checking for sys/resource.h... (cached) yes checking for sys/select.h... (cached) yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/times.h... (cached) yes checking for sys/types.h... (cached) yes checking sys/ucontext.h usability... yes checking sys/ucontext.h presence... yes checking for sys/ucontext.h... yes checking for sys/un.h... (cached) yes checking for sys/wait.h... (cached) yes checking for time.h... (cached) yes checking for unistd.h... (cached) yes checking for utime.h... (cached) yes checking for wctype.h... (cached) yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking for zlib.h... (cached) yes checking zutil.h usability... no checking zutil.h presence... no checking for zutil.h... no checking mach-o/dyld.h usability... no checking mach-o/dyld.h presence... no checking for mach-o/dyld.h... no checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking for mpe.h... (cached) no checking for inline... inline checking whether struct tm is in sys/time.h or time.h... time.h checking size of int *... 8 checking size of short int... 2 checking size of int... 4 checking size of long int... 8 checking size of long long int... 8 checking size of float... 4 checking size of double... 8 checking for type of malloc... void * checking for gcc inline... yes checking for gcc threaded code... yes checking for IEEE floats... yes checking for sigsetjmp... yes checking for sigsegv... yes checking for sigprof... yes checking for siginfo... yes checking union wait... no checking environ... yes checking return type of signal handlers... void checking for _NSGetEnviron... no checking for access... yes checking for acosh... yes checking for alloca... (cached) yes checking for asinh... yes checking for atanh... yes checking for chdir... yes checking for ctime... yes checking for dlopen... (cached) yes checking for dup2... (cached) yes checking for erf... yes checking for feclearexcept... yes checking for fesettrapenable... no checking for fgetpos... yes checking for finite... yes checking for fpclass... no checking for ftime... no checking for getcwd... (cached) yes checking for getenv... (cached) yes checking for gethostbyname... (cached) yes checking for gethostent... yes checking for gethostid... yes checking for gethostname... (cached) yes checking for gethrtime... no checking for getpagesize... (cached) yes checking for getpwnam... yes checking for getrlimit... (cached) yes checking for getrusage... (cached) yes checking for gettimeofday... (cached) yes checking for getwd... (cached) yes checking for isatty... yes checking for isnan... yes checking for isinf... yes checking for kill... (cached) yes checking for labs... (cached) yes checking for link... (cached) yes checking for lgamma... yes checking for localtime... (cached) yes checking for lstat... (cached) yes checking for mallinfo... no checking for mbsnrtowcs... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for mkstemp... (cached) yes checking for mktemp... (cached) yes checking for nanosleep... yes checking for mktime... yes checking for opendir... (cached) yes checking for putenv... (cached) yes checking for rand... (cached) yes checking for random... (cached) yes checking for readlink... (cached) yes checking for regexec... yes checking for rename... (cached) yes checking for rint... yes checking for rl_set_prompt... yes checking for sbrk... yes checking for select... (cached) yes checking for setbuf... yes checking for setitimer... yes checking for setsid... (cached) yes checking for setlinebuf... (cached) yes checking for sigaction... (cached) yes checking for siggetmask... no checking for siginterrupt... (cached) yes checking for signal... yes checking for sigprocmask... (cached) yes checking for socket... yes checking for stat... (cached) yes checking for strchr... (cached) yes checking for strerror... (cached) yes checking for stricmp... no checking for strncat... yes checking for strncpy... yes checking for strtod... (cached) yes checking for time... (cached) yes checking for times... (cached) yes checking for tmpnam... (cached) yes checking for usleep... (cached) yes checking for utime... (cached) yes checking for vsnprintf... (cached) yes checking for regexec... (cached) yes checking for NSLinkModule... no checking for alarm... (cached) yes checking for mmap... (cached) yes checking for popen... yes checking for shmat... yes checking for sleep... (cached) yes checking for system... yes checking for ttyname... yes checking for waitpid... yes checking for fetestexcept... yes checking for snprintf... (cached) yes checking for mpz_xor... yes checking if fflush(NULL) clobbers input pipes... no no checking for pthread_create in -lpthread... yes checking for crypt in -lcrypt... (cached) yes checking for crypt... yes checking for socklen_t... (cached) yes checking for ssize_t... (cached) yes checking "variable timezone in tzset"... yes checking for struct tm.tm_gmtoff... yes checking _XOPEN_SOURCE... yes configure: creating ./config.status config.status: creating Makefile config.status: creating GPL/Makefile config.status: creating library/Makefile config.status: creating library/lammpi/Makefile config.status: creating library/matlab/Makefile config.status: creating library/matrix/Makefile config.status: creating library/mpi/Makefile config.status: creating library/random/Makefile config.status: creating library/regex/Makefile config.status: creating library/rltree/Makefile config.status: creating library/system/Makefile config.status: creating library/tries/Makefile config.status: creating LGPL/Makefile config.status: creating LGPL/clp/Makefile config.status: creating LGPL/swi_console/Makefile config.status: creating packages/clib/Makefile config.status: creating packages/clib/maildrop/rfc822/Makefile config.status: creating packages/clib/maildrop/rfc2045/Makefile config.status: creating packages/CLPBN/Makefile config.status: creating packages/cplint/Makefile config.status: creating packages/cplint/approx/simplecuddLPADs/Makefile config.status: creating packages/cplint/slipcase/Makefile config.status: creating packages/http/Makefile config.status: creating packages/tai/Makefile config.status: creating packages/tai/libtai/Makefile config.status: creating packages/PLStream/Makefile config.status: creating packages/plunit/Makefile config.status: creating packages/ProbLog/Makefile config.status: creating packages/RDF/Makefile config.status: creating packages/semweb/Makefile config.status: creating packages/sgml/Makefile config.status: creating packages/zlib/Makefile config.status: creating packages/chr/Makefile config.status: creating packages/clpqr/Makefile config.status: creating packages/swi-minisat2/Makefile config.status: creating packages/swi-minisat2/C/Makefile config.status: creating config.h SUCCEEDED 00:00:25 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for yap-6.2.2_11 gmake[1]: Entering directory '/construction/lang/yap/yap-6.2.2' cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS -I./include ./console/yap.c -o yap.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/agc.c -o agc.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/absmi.c -o absmi.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/adtdefs.c -o adtdefs.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/alloc.c -o alloc.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/amasm.c -o amasm.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/analyst.c -o analyst.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/arrays.c -o arrays.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/arith0.c -o arith0.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/arith1.c -o arith1.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/arith2.c -o arith2.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/attvar.c -o attvar.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/bignum.c -o bignum.o ./console/yap.c: In function 'add_end_dot': ./console/yap.c:189:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(p,arg,sz); ^~~~~~~~~~~~~~~~~ ./console/yap.c:182:12: note: length computed here int sz = strlen(arg), i; ^~~~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/bb.c -o bb.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/cdmgr.c -o cdmgr.o C/arith2.c: In function 'p_rem': C/arith2.c:180:6: warning: variable 'mod' set but not used [-Wunused-but-set-variable] Int mod; ^~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/cmppreds.c -o cmppreds.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/compiler.c -o compiler.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/computils.c -o computils.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/corout.c -o corout.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/cut_c.c -o cut_c.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/dbase.c -o dbase.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/dlmalloc.c -o dlmalloc.o In file included from C/agc.c:202: ./H/rheap.h: In function 'RestoreForeignCode': ./H/rheap.h:967:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (objs->next != NULL) ^~ ./H/rheap.h:969:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' objs->name = AtomAdjust(objs->name); ^~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/errors.c -o errors.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/eval.c -o eval.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/exec.c -o exec.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/globals.c -o globals.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/gmp_support.c -o gmp_support.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/gprof.c -o gprof.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/grow.c -o grow.o C/dbase.c: In function 'GetDBTerm': C/dbase.c:2464:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (H+NOf > ASP) ^~ C/dbase.c:2466:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Yap_exit( 1); ^~~~~~~~ C/dbase.c: In function 'MyEraseClause': C/dbase.c:4158:19: warning: variable 'clmask' set but not used [-Wunused-but-set-variable] SMALLUNSGN clmask; ^~~~~~ C/dbase.c: In function 'p_enqueue': C/dbase.c:5029:8: warning: variable 't' set but not used [-Wunused-but-set-variable] Term t; ^ C/dbase.c: In function 'p_enqueue_unlocked': C/dbase.c:5069:8: warning: variable 't' set but not used [-Wunused-but-set-variable] Term t; ^ C/exec.c: In function 'Yap_execute_goal': C/exec.c:1143:22: warning: variable 'old_B' set but not used [-Wunused-but-set-variable] choiceptr cut_B, old_B; ^~~~~ C/exec.c:1096:14: warning: variable 'ppe' set but not used [-Wunused-but-set-variable] PredEntry *ppe; ^~~ C/exec.c: In function 'Yap_RunTopGoal': C/exec.c:1236:8: warning: variable 'mod' set but not used [-Wunused-but-set-variable] Term mod = CurrentModule; ^~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/heapgc.c -o heapgc.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/index.c -o index.o C/compiler.c: In function 'c_layout': C/compiler.c:2734:27: warning: variable 'Arity' set but not used [-Wunused-but-set-variable] Int *up = cglobs->Uses, Arity; ^~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./C/init.c -o init.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/inlines.c -o inlines.o C/cdmgr.c: In function 'decrease_log_indices': C/cdmgr.c:1282:14: warning: variable 'op' set but not used [-Wunused-but-set-variable] op_numbers op; ^~ C/cdmgr.c: In function 'p_env_info': C/cdmgr.c:5414:14: warning: variable 'pe' set but not used [-Wunused-but-set-variable] PredEntry *pe; ^~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/iopreds.c -o iopreds.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/depth_bound.c -o depth_bound.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/mavar.c -o mavar.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_mysql.c -o myddas_mysql.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_odbc.c -o myddas_odbc.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_shared.c -o myddas_shared.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_initialization.c -o myddas_initialization.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_util.c -o myddas_util.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_statistics.c -o myddas_statistics.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_top_level.c -o myddas_top_level.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_wkb2prolog.c -o myddas_wkb2prolog.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/modules.c -o modules.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/other.c -o other.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/parser.c -o parser.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/readutil.c -o readutil.o C/index.c: In function 'install_log_upd_clause': C/index.c:3626:7: warning: variable 'last_arg' set but not used [-Wunused-but-set-variable] int last_arg = TRUE; ^~~~~~~~ C/index.c: In function 'expand_index': C/index.c:3927:10: warning: variable 'eblk' set but not used [-Wunused-but-set-variable] yamop *eblk = NULL; ^~~~ C/index.c: In function 'ExpandIndex': C/index.c:4498:15: warning: variable 'cl' set but not used [-Wunused-but-set-variable] StaticIndex *cl; ^~ C/index.c: In function 'add_to_index': C/index.c:5543:7: warning: variable 'last_arg' set but not used [-Wunused-but-set-variable] int last_arg = TRUE; ^~~~~~~~ C/index.c: In function 'remove_from_index': C/index.c:6098:8: warning: variable 'current_arity' set but not used [-Wunused-but-set-variable] UInt current_arity = 0; ^~~~~~~~~~~~~ C/index.c: In function 'Yap_FollowIndexingCode': C/index.c:6635:11: warning: variable 'jlbl' set but not used [-Wunused-but-set-variable] yamop **jlbl = NULL; ^~~~ C/index.c:6633:10: warning: variable 'start_pc' set but not used [-Wunused-but-set-variable] yamop *start_pc = ipc; ^~~~~~~~ C/index.c: In function 'Yap_NthClause': C/index.c:7204:11: warning: variable 'jlbl' set but not used [-Wunused-but-set-variable] yamop **jlbl = NULL; ^~~~ C/index.c: In function 'Yap_CleanUpIndex': C/index.c:7400:32: warning: variable 'codep' set but not used [-Wunused-but-set-variable] yamop *start = blk->ClCode, *codep; ^~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./C/save.c -o save.o C/iopreds.c: In function 'p_always_prompt_user': C/iopreds.c:368:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Stream[0].status & Tty_Stream_f && ^~ C/iopreds.c:371:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' s->stream_wputc = put_wchar; ^ C/iopreds.c: In function 'StreamName': C/iopreds.c:3607:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ C/iopreds.c:3611:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if (Stream[i].status & InMemory_Stream_f) ^~ C/iopreds.c: In function 'p_open': C/iopreds.c:2770:4: warning: array subscript 1 is above array bounds of 'Term[1]' {aka 'long unsigned int[1]'} [-Warray-bounds] ta[1] = MkAtomTerm(AtomTrue); ~~^~~ C/iopreds.c:2673:8: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] if (!strncpy(Yap_FileNameBuf, RepAtom (AtomOfTerm (file_name))->StrOfAE, YAP_FILENAME_MAX)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/scanner.c -o scanner.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/sort.c -o sort.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/stdpreds.c -o stdpreds.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./C/sysbits.c -o sysbits.o C/parser.c: In function 'VarNames': C/parser.c:184:13: warning: passing argument 1 of 'siglongjmp' from incompatible pointer type [-Wincompatible-pointer-types] siglongjmp(Yap_IOBotch,1); ^~~~~~~~~~~ In file included from ./H/Yap.h:437, from C/parser.c:49: /usr/include/setjmp.h:51:18: note: expected 'struct _sigjmp_buf *' but argument is of type 'struct _jmp_buf *' void siglongjmp (sigjmp_buf, int) __dead2; ^~~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/threads.c -o threads.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/tracer.c -o tracer.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS -I./include ./C/udi.c -o udi.o C/stdpreds.c: In function 'p_atom_number': C/stdpreds.c:2249:12: warning: variable 's' set but not used [-Wunused-but-set-variable] char *s; ^ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS -I./include ./packages/udi/rtree.c -o rtree.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS -I./include ./packages/udi/rtree_udi.c -o rtree_udi.o ./C/sysbits.c: In function 'Yap_InitSysPath': ./C/sysbits.c:251:3: warning: 'strncat' specified bound 1024 equals destination size [-Wstringop-overflow=] strncat(Yap_FileNameBuf,"/", YAP_FILENAME_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./C/sysbits.c:254:3: warning: 'strncat' specified bound 1024 equals destination size [-Wstringop-overflow=] strncat(Yap_FileNameBuf, "Yap", YAP_FILENAME_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./C/sysbits.c:267:7: warning: 'strncat' specified bound 1024 equals destination size [-Wstringop-overflow=] strncat(Yap_FileNameBuf, "PrologCommons", YAP_FILENAME_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./C/sysbits.c: In function 'TrueFileName': ./C/sysbits.c:2018:6: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(ares1, yap_env, YAP_FILENAME_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./C/sysbits.c:2013:4: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(Yap_FileNameBuf, Yap_LibDir, YAP_FILENAME_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/unify.c -o unify.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/userpreds.c -o userpreds.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/utilpreds.c -o utilpreds.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/write.c -o write.o C/utilpreds.c: In function 'AddAtomToHash': C/utilpreds.c:2778:10: warning: variable 'start' set but not used [-Wunused-but-set-variable] CELL * start; ^~~~~ C/utilpreds.c:2807:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy((char *)st, c, ulen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ C/utilpreds.c:2794:16: note: length computed here int ulen = strlen(c); ^~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I./library/dialect/swi/fli ./library/dialect/swi/fli/blobs.c -o blobs.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I./library/dialect/swi/fli ./library/dialect/swi/fli/swi.c -o swi.o C/write.c: In function 'wrputf': C/write.c:215:26: warning: variable 'found_exp' set but not used [-Wunused-but-set-variable] int found_dot = FALSE, found_exp = FALSE; ^~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/ypsocks.c -o ypsocks.o ./library/dialect/swi/fli/blobs.c: In function 'PL_blob_data': ./library/dialect/swi/fli/blobs.c:82:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( len ) ^~ ./library/dialect/swi/fli/blobs.c:84:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( type ) ^~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/ypstdio.c -o ypstdio.o C/errors.c: In function 'Yap_Error': C/errors.c:384:9: warning: variable 'tp' set but not used [-Wunused-but-set-variable] char *tp = tmpbuf; ^~ C/errors.c:1832:7: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(Yap_ErrorSay, RepAtom(NameOfFunctor(FunctorOfTerm(nt[0])))->StrOfAE,\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MAX_ERROR_MSG_SIZE); ~~~~~~~~~~~~~~~~~~~ C/errors.c:1828:7: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(Yap_ErrorSay, RepAtom(AtomOfTerm(nt[0]))->StrOfAE, MAX_ERROR_MSG_SIZ\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ E); ~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./C/load_foreign.c -o load_foreign.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/load_dl.c -o load_dl.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/load_dld.c -o load_dld.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/load_dyld.c -o load_dyld.o ./library/dialect/swi/fli/swi.c: In function 'PL_error': ./library/dialect/swi/fli/swi.c:1488:11: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ ./library/dialect/swi/fli/swi.c: In function 'PL_module_name': ./library/dialect/swi/fli/swi.c:2481:8: warning: variable 't' set but not used [-Wunused-but-set-variable] Term t; ^ ./library/dialect/swi/fli/swi.c: In function 'PL_thread_attach_engine': ./library/dialect/swi/fli/swi.c:2784:11: warning: variable 'wid' set but not used [-Wunused-but-set-variable] int wid; ^~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/load_none.c -o load_none.o ./packages/udi/rtree.c: In function 'RTreePrint': ./packages/udi/rtree.c:403:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (t->level != 0) ^ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/load_aout.c -o load_aout.o C/dlmalloc.c: In function 'Yap_RestoreDLMalloc': C/dlmalloc.c:2944:16: warning: variable 'idx' set but not used [-Wunused-but-set-variable] unsigned int idx; ^~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/load_aix.c -o load_aix.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/load_dll.c -o load_dll.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS C/load_shl.c -o load_shl.o C/load_dl.c: In function 'LoadForeign': C/load_dl.c:97:7: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(Yap_FileNameBuf, AtomName(libs->name), YAP_FILENAME_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS -I./include -c ./C/c_interface.c -o c_interface.o cc -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS -I./include -c ./C/clause_list.c -o clause_list.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./OPTYap/opt.memory.c -o opt.memory.o ./C/c_interface.c: In function 'YAP_cwd': ./C/c_interface.c:3070:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(buf, Yap_FileNameBuf, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./C/c_interface.c:3066:9: note: length computed here len = strlen(Yap_FileNameBuf); ^~~~~~~~~~~~~~~~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./OPTYap/opt.init.c -o opt.init.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./OPTYap/opt.preds.c -o opt.preds.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./OPTYap/or.engine.c -o or.engine.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./OPTYap/or.cowengine.c -o or.cowengine.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./OPTYap/or.sbaengine.c -o or.sbaengine.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./OPTYap/or.threadengine.c -o or.threadengine.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./OPTYap/or.scheduler.c -o or.scheduler.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./OPTYap/or.cut.c -o or.cut.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./OPTYap/tab.tries.c -o tab.tries.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./OPTYap/tab.completion.c -o tab.completion.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./BEAM/eamamasm.c -o eamamasm.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./BEAM/eam_showcode.c -o eam_showcode.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./BEAM/eamindex.c -o eamindex.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS ./BEAM/eam_am.c -o eam_am.o C/heapgc.c: In function 'sweep_trail': C/heapgc.c:2651:8: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] CELL *ptr; ^~~ ./C/init.c: In function 'Yap_InitWorkspace': ./C/init.c:1352:18: warning: iteration 23 invokes undefined behavior [-Waggressive-loop-optimizations] yap_flags[i] = 0; ./C/init.c:1351:3: note: within this loop for (i = 0; i <= LAST_FLAG; i++) { ^~~ In file included from ./C/save.c:1198: ./H/rheap.h: In function 'RestoreForeignCode': ./H/rheap.h:967:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (objs->next != NULL) ^~ ./H/rheap.h:969:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' objs->name = AtomAdjust(objs->name); ^~~~ ./C/save.c: In function 'do_system_error': ./C/save.c:165:65: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1008 [-Wformat-truncation=] snprintf(Yap_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), Yap_FileNameBuf); ^~ ~~~~~~~~~~~~~~~ ./C/save.c:165:3: note: 'snprintf' output 18 or more bytes (assuming 1041) into a destination of size 1024 snprintf(Yap_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), Yap_FileNameBuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c: In function 'check_header': ./C/save.c:682:5: warning: 'strncat' specified bound 1024 equals destination size [-Wstringop-overflow=] strncat(Yap_ErrorMessage, Yap_FileNameBuf, MAX_ERROR_MSG_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c: In function 'cat_file_name.constprop': ./C/save.c:1404:3: warning: 'strncat' specified bound 1024 equals destination size [-Wstringop-overflow=] strncat(s,"/", max_length); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c:1400:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(s, prefix, max_length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./C/save.c: In function 'OpenRestore': ./C/save.c:1539:7: warning: 'strncpy' output may be truncated copying 1023 bytes from a string of length 1024 [-Wstringop-truncation] strncpy(Yap_FileNameBuf, save_buffer, YAP_FILENAME_MAX-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from C/absmi.c:496: C/absmi.c: In function 'Yap_absmi': ./H/absmi.h:390:23: warning: variable 'to_go' set but not used [-Wunused-but-set-variable] { register void *to_go; ^~~~~ ./H/absmi.h:483:35: note: in expansion of macro 'INIT_PREFETCH' #define PBOp(Label,Type) Label: { INIT_PREFETCH() ^~~~~~~~~~~~~ C/absmi.c:1886:7: note: in expansion of macro 'PBOp' PBOp(op_fail, e); ^~~~ C/absmi.c:669:22: warning: variable 'regp' set but not used [-Wunused-but-set-variable] register REGSTORE *regp = &Yap_REGS; ^~~~ 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 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 readutil.o save.o scanner.o sort.o stdpreds.o sysbits.o threads.o tracer.o udi.o rtree.o rtree_udi.o unify.o userpreds.o utilpreds.o write.o blobs.o swi.o ypsocks.o ypstdio.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 opt.memory.o opt.init.o opt.preds.o or.engine.o or.cowengine.o or.sbaengine.o or.threadengine.o or.scheduler.o or.cut.o tab.tries.o tab.completion.o eamamasm.o eam_showcode.o eamindex.o eam_am.o ranlib libYap.a cc -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/usr/local/include -isystem /usr/local/include -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o yap yap.o libYap.a -lgmp -lcrypt -lstdc++ -lm -L/usr/local/lib -lreadline -lncurses -lz rm -f startup.yss echo "bootstrap('./pl/init.yap'). module(user). save_program('startup.yss')." | LD_LIBRARY_PATH=/construction/lang/yap/yap-6.2.2 ./yap -b ./pl/boot.yap [prolog] % consulting ./pl/init.yap... % consulting errors.yap... % errors.yap consulted 16032 bytes in 0 msecs % consulting consult.yap... % consult.yap consulted 133616 bytes in 9 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/utils.yap % /construction/lang/yap/yap-6.2.2/pl/utils.yap consulted 89104 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/control.yap % /construction/lang/yap/yap-6.2.2/pl/control.yap consulted 35744 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/arith.yap % /construction/lang/yap/yap-6.2.2/pl/arith.yap consulted 47712 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/directives.yap % /construction/lang/yap/yap-6.2.2/pl/directives.yap consulted 22720 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/flags.yap % /construction/lang/yap/yap-6.2.2/pl/flags.yap consulted 129920 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/lists.yap % /construction/lang/yap/yap-6.2.2/pl/lists.yap consulted 1312 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/yio.yap % /construction/lang/yap/yap-6.2.2/pl/yio.yap consulted 169088 bytes in 9 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/debug.yap % /construction/lang/yap/yap-6.2.2/pl/debug.yap consulted 115760 bytes in 9 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/checker.yap % /construction/lang/yap/yap-6.2.2/pl/checker.yap consulted 30448 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/depth_bound.yap % /construction/lang/yap/yap-6.2.2/pl/depth_bound.yap consulted 400 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/grammar.yap % /construction/lang/yap/yap-6.2.2/pl/grammar.yap consulted 17792 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/ground.yap % /construction/lang/yap/yap-6.2.2/pl/ground.yap consulted 1776 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/listing.yap % /construction/lang/yap/yap-6.2.2/pl/listing.yap consulted 22352 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/preds.yap % /construction/lang/yap/yap-6.2.2/pl/preds.yap consulted 125936 bytes in 9 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/modules.yap % /construction/lang/yap/yap-6.2.2/pl/modules.yap consulted 157248 bytes in 9 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/eval.yap % /construction/lang/yap/yap-6.2.2/pl/eval.yap consulted 19296 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/signals.yap % /construction/lang/yap/yap-6.2.2/pl/signals.yap consulted 30320 bytes in 9 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/profile.yap % /construction/lang/yap/yap-6.2.2/pl/profile.yap consulted 22496 bytes in 9 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/callcount.yap % /construction/lang/yap/yap-6.2.2/pl/callcount.yap consulted 2720 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/load_foreign.yap % /construction/lang/yap/yap-6.2.2/pl/load_foreign.yap consulted 13648 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/save.yap % /construction/lang/yap/yap-6.2.2/pl/save.yap consulted 5200 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/sockets.yap % /construction/lang/yap/yap-6.2.2/pl/sockets.yap consulted 9360 bytes in 9 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/sort.yap % /construction/lang/yap/yap-6.2.2/pl/sort.yap consulted 9424 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/setof.yap % /construction/lang/yap/yap-6.2.2/pl/setof.yap consulted 24880 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/statistics.yap % /construction/lang/yap/yap-6.2.2/pl/statistics.yap consulted 20960 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/strict_iso.yap % /construction/lang/yap/yap-6.2.2/pl/strict_iso.yap consulted 25520 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/tabling.yap % /construction/lang/yap/yap-6.2.2/pl/tabling.yap consulted 35040 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/threads.yap % /construction/lang/yap/yap-6.2.2/pl/threads.yap consulted 136864 bytes in 9 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/eam.yap % /construction/lang/yap/yap-6.2.2/pl/eam.yap consulted 9328 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/chtypes.yap % /construction/lang/yap/yap-6.2.2/pl/chtypes.yap consulted 38576 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/yapor.yap % /construction/lang/yap/yap-6.2.2/pl/yapor.yap consulted 20288 bytes in 9 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/udi.yap % /construction/lang/yap/yap-6.2.2/pl/udi.yap consulted 976 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/protect.yap % /construction/lang/yap/yap-6.2.2/pl/protect.yap consulted 3376 bytes in 0 msecs % consulting /construction/lang/yap/yap-6.2.2/pl/arrays.yap % /construction/lang/yap/yap-6.2.2/pl/arrays.yap consulted 6736 bytes in 0 msecs % reconsulting /construction/lang/yap/yap-6.2.2/pl/messages.yap % reconsulted /construction/lang/yap/yap-6.2.2/pl/messages.yap in module $messages, 8 msec 95056 bytes % reconsulting /construction/lang/yap/yap-6.2.2/pl/hacks.yap... % reconsulted /construction/lang/yap/yap-6.2.2/pl/hacks.yap in module $hacks, 0 msec 32448 bytes % reconsulting /construction/lang/yap/yap-6.2.2/pl/attributes.yap... % reconsulted /construction/lang/yap/yap-6.2.2/pl/attributes.yap in module $attributes, 9 msec 30752 bytes % reconsulting /construction/lang/yap/yap-6.2.2/pl/corout.yap... % reconsulted /construction/lang/yap/yap-6.2.2/pl/corout.yap in module $coroutining, 9 msec 38704 bytes % reconsulting /construction/lang/yap/yap-6.2.2/pl/dialect.yap... % reconsulted /construction/lang/yap/yap-6.2.2/pl/dialect.yap in module dialect, 0 msec 8304 bytes % ./pl/init.yap consulted 1830272 bytes in 142 msecs yes yes yes (cd packages/PLStream; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/PLStream' cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-buffer.c -o pl-buffer.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-ctype.c -o pl-ctype.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-error.c -o pl-error.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-file.c -o pl-file.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-files.c -o pl-files.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-glob.c -o pl-glob.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-os.c -o pl-os.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-privitf.c -o pl-privitf.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-stream.c -o pl-stream.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-string.c -o pl-string.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-table.c -o pl-table.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-text.c -o pl-text.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-util.c -o pl-util.o pl-util.c:85:1: warning: no previous prototype for 'mbscoll' [-Wmissing-prototypes] mbscoll(const char *s1, const char *s2) ^~~~~~~ pl-util.c:93:1: warning: no previous prototype for 'mbscasecoll' [-Wmissing-prototypes] mbscasecoll(const char *s1, const char *s2) ^~~~~~~~~~~ cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-utf8.c -o pl-utf8.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include pl-yap.c -o pl-yap.o pl-text.c: In function 'PL_get_text': pl-text.c:219:12: warning: implicit declaration of function 'PL_write_term'; did you mean 'PL_unify_term'? [-Wimplicit-function-declaration] if ( PL_write_term(fd, l, 1200, 0) && ^~~~~~~~~~~~~ PL_unify_term pl-glob.c:394:1: warning: no previous prototype for 'expand_str' [-Wmissing-prototypes] expand_str(GlobInfo info, int at) ^~~~~~~~~~ pl-glob.c:402:1: warning: no previous prototype for 'expand_entry' [-Wmissing-prototypes] expand_entry(GlobInfo info, int idx) ^~~~~~~~~~~~ pl-glob.c: In function 'compareBagEntries': pl-glob.c:555:12: warning: implicit declaration of function 'mbscoll'; did you mean 'wcscoll'? [-Wimplicit-function-declaration] return mbscoll(s1, s2); ^~~~~~~ wcscoll pl-glob.c:557:12: warning: implicit declaration of function 'mbscasecoll'; did you mean 'wcscasecmp'? [-Wimplicit-function-declaration] return mbscasecoll(s1, s2); ^~~~~~~~~~~ wcscasecmp pl-os.c: In function 'setRandom': pl-os.c:476:16: warning: variable 'seed' set but not used [-Wunused-but-set-variable] { unsigned int seed; ^~~~ pl-os.c: In function 'System': pl-os.c:2287:3: warning: function declaration isn't a prototype [-Wstrict-prototypes] void (*old_int)(); ^~~~ pl-os.c:2288:3: warning: function declaration isn't a prototype [-Wstrict-prototypes] void (*old_stop)(); ^~~~ pl-file.c: In function 'PL_unify_stream': pl-file.c:553:19: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] stream_context *ctx; ^~~ In file included from pl-file.c:39: pl-file.c: In function 'protocol': pl-incl.h:375:18: warning: the address of 'lds' will always evaluate as 'true' [-Waddress] #define LOCAL_LD (&lds) ^ pl-file.c:73:12: note: in expansion of macro 'LOCAL_LD' #define LD LOCAL_LD ^~~~~~~~ pl-file.c:881:8: note: in expansion of macro 'LD' if ( LD && (s = getStream(Sprotocol)) ) ^~ pl-file.c: In function 'pl_wait_for_input_va': pl-file.c:1653:32: warning: left shift count >= width of type [-Wshift-count-overflow] int n, max = 0, ret, min = 1 << (INTBITSIZE-2); ^~ pl-file.c: At top level: pl-file.c:3356:3: warning: function declaration isn't a prototype [-Wstrict-prototypes] int (*function)(); /* function to generate */ ^~~ pl-yap.c: In function 'PL_handle_signals': pl-yap.c:650:8: warning: the address of 'lds' will always evaluate as 'true' [-Waddress] if ( !LD || LD->critical || !LD->signal.pending ) ^ In file included from pl-ctype.c:73: pl-umap.c:1626:1: warning: no previous prototype for 'uflagsW' [-Wmissing-prototypes] uflagsW(int code) ^~~~~~~ In file included from pl-ctype.c:25: pl-ctype.c: In function 'initEncoding': pl-incl.h:374:12: warning: the address of 'lds' will always evaluate as 'true' [-Waddress] #define LD (&lds) ^ pl-ctype.c:854:8: note: in expansion of macro 'LD' if ( LD ) ^~ cc -shared -export-dynamic -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o libplstream.so pl-buffer.o pl-ctype.o pl-error.o pl-file.o pl-files.o pl-glob.o pl-os.o pl-privitf.o pl-stream.o pl-string.o pl-table.o pl-text.o pl-util.o pl-utf8.o pl-yap.o -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/PLStream' (cd library/lammpi; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/lammpi' YAP LAM/MPI module not compiled. gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/lammpi' (cd library/matrix; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/matrix' cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I. -I../.. -I./../../include ./matrix.c -o matrix.o ./matrix.c: In function 'matrix_select': ./matrix.c:2262:21: warning: variable 'dims' set but not used [-Wunused-but-set-variable] int ndims, i, j, *dims, newdims, prdim, leftarg; ^~~~ ./matrix.c: In function 'matrix_sum_out': ./matrix.c:2432:21: warning: variable 'dims' set but not used [-Wunused-but-set-variable] int ndims, i, j, *dims, newdims, prdim; ^~~~ ./matrix.c: In function 'matrix_sum_out_logs': ./matrix.c:2615:21: warning: variable 'dims' set but not used [-Wunused-but-set-variable] int ndims, i, j, *dims, newdims, prdim; ^~~~ cc -shared -export-dynamic -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o matrix.so matrix.o -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/matrix' (cd library/random; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/random' cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I. -I../.. -I./../../include ./yap_random.c -o yap_random.o cc -shared -export-dynamic -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o yap_random.so yap_random.o -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/random' (cd library/regex; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/regex' cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I. -I../.. -I./../../include ./regexp.c -o regexp.o cc -shared -export-dynamic -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o regexp.so regexp.o -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap # regcomp.o regerror.o regfree.o regexec.o gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/regex' (cd library/rltree; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/rltree' cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I. -I../.. -I./../../include ./yap_rl.c -o yaprl.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I. -I../.. -I./../../include ./range_list.c -o range_list.o ./yap_rl.c:428:6: warning: no previous prototype for 'init_rl' [-Wmissing-prototypes] void init_rl(void){ ^~~~~~~ ./range_list.c: In function 'minus_rl': ./range_list.c:230:24: warning: self-comparison always evaluates to false [-Wtautological-compare] if (range1->range_max!=range1->range_max) ^~ At top level: ./range_list.c:248:13: warning: 'print_nodes' defined but not used [-Wunused-function] static void print_nodes(RL_Tree* tree) { ^~~~~~~~~~~ cc -shared -export-dynamic -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o yap_rl.so yaprl.o range_list.o -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/rltree' (cd library/system; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/system' cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I. -I../.. -I./../../include ./sys.c -o sys.o ./sys.c: In function 'p_sleep': ./sys.c:912:31: warning: variable 'usecs' set but not used [-Wunused-but-set-variable] unsigned long int secs = 0, usecs = 0, out; ^~~~~ ./sys.c: In function 'p_mktemp': ./sys.c:471:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(tmp, s, BUF_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~ cc -shared -export-dynamic -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o sys.so sys.o -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap sys.o:sys.c:function p_tmpnam: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() sys.o:sys.c:function p_mktemp: warning: warning: mktemp() possibly used unsafely; consider using mkstemp() gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/system' (cd library/tries; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/tries' cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing ./core_tries.c -o core_tries.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing ./base_tries.c -o base_tries.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing ./tries.c -o tries.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing ./base_itries.c -o base_itries.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -I. -I../.. -I./../../include -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing ./itries.c -o 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: ./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: ./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:75: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:75: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: ./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:75: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:79: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:79: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:75: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:75: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: ./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: ./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: ./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:75: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:79: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:79: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:75: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:75: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: ./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:75: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); \ ^~~~~~~~In file included from ./base_tries.c:408: ./base_dbtries.c:412:18: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_order_correction' which is not static 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; ~~~~ ./core_tries.h:79: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:79: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:75: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:75:35: note: in definition of macro 'TrEngine_memory' #d ^~~~~~~~~~~~ ./base_dbtries.c:364:18: warning: 'CURRENT_TRIE' is static but used in inlinefine 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:75: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, noe function 'move_last_data_after' which is not static TrEntry trie = CURRENT_TRIE; de, 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:75: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:79: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:79: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:75: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:75: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: ./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:75: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: ./base_it ^~~~~~~~~~~~ ./base_dbtries.c:299:3: warning: 'CURRENT_DEPTH_BREADTH_DATA' is static but used in./core_tries.c: In function 'core_trie_load': ./core_tries.c:476:7: warning: variable 'n' set but nories.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:231: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:269: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: ./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:75: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. inline function 'set_depth_breadth_reduction_current_data' which is not static CURRENT_DEPTH_BREt used [-Wunused-but-set-variable] int n; ^ ./core_tries.c: In function 'traverse_and_load': ./core_tries.c:1381:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n; ^ In file included from ./core_tries.c:1783: ./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: ./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:77: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:81: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:81: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:77: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:77: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:1783: ./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: ./core_dbtries.c:884:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inlic:167:5: note: in expansion of macro 'free_itrie_entry' free_itrie_entry(FIRST_ITRIE); ^~~ADTH_DATA = data; ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./base_dbtries.c:268:10: warning: 'CURRENT_DEPTH_BREne function 'update_depth_breadth_trie' which is not static INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77: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' IADTH_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: ./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 fNCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:884:27: warning: ~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.c:167:22: warning: 'FIRST_ITRI'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:81: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:81: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:77: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:77:35: note: in definitiounction 'trie_set_traverse_mode' which is not static CURRENT_TRAVERSE_MODE = mode; ^~~~~~~~~~~E' is static but used in inline function 'itrie_close_all' which is not static free_itrie_entryn 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:1783: ./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: ./core_dbtries.c:791~~~~~~~~~~ In file included from ./base_tries.c:17: ./base_tries.h:89:28: warning: 'TRIE_ENGINE' is (FIRST_ITRIE); ^~~~~~~~~~~ ./core_tries.h:231:40: note: in definition of macrostatic but used in inline function 'trie_data_construct' which is not static INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^~~~~~~~~~~ ./core_tries.h:75: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:79: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:79: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:75: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:75: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: ./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static :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:152:47: note: in definition of macro 'POP_UP' #define POP_UP(STACK) *--STACK ^~~~~ In file included from ./core_tries.c:1783: ./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: ./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:152:47: note: in definition of macro 'POP_UP' #define POP_UP(STACK) *--STACK ^~~~~ In file included from ./core_tries.c:1783: ./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 stnew_trie_data(data, CURRENT_TRIE, node); ^~~~~~~~~~~~ ./base_tries.h:33:37: n '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: ./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: ./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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./base_itries.h:154:11: note: in expansion ofatic DATA_DESTRUCT_FUNCTION = destruct_function; ^~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.c:773:3 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_ENGIote: 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: ./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: ./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: ./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_trieNE' is static but used in inline function 'itrie_close' which is not static DECREMENT_MEM: 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: ./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:77: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:81: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_data' TrData_trie(TR_DATA) = TR_ENTRY; \ ^~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:331:23: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_construct' which is not static 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) ((XORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^~~~~~~~~~~~ ./core_tries.h:75: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: ./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 ); ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:702:21: warning: 'CURRENT_TRIE_ENGINE' is static but used iin inline function 'itrie_open' which is not static if (FIRST_ITRIE) ^~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^~~~~~~~~~~~ ./core_tries.h:75: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_)->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: ./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: ./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:75: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 nentry(itrie, node); ^~~~~~~~~~~~~~~ ./base_itries.h:94:28: warning: 'ITRIE_ENGINE' is static but n inline function 'core_breadth_reduction' which is not static INCREMENT_ENTRIES(CURRENT_TRIE_ENGot static CURRENT_TRIE = trie; ^~~~~~~~~~~~ In file included from ./base_tries.c:17: ./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_load' which is not static INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^~~~~~~~~~~ ./core_tries.h:75: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:79: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:79:35: note: in dused in inline function 'itrie_open' which is not static INCREMENT_MEMORY(ITRIE_ENGINE, Sefinition 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:75: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:75: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: ./base_tries.h:71:58: warning: 'FIRST_TRIE' is static but used in inline function 'trie_load' whINE); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:81:35: note: in definition of macro 'TIZEOF_TR_ENTRY); \ ^~~~~~~~~~~~ ./core_tries.h:79: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:79: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: 'ITRIich is not static TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_TRIE); rEngine_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:77: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:77: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:1783: ./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)); ^~~~~~~~~~~~~~~~E_ENGINE' is static but used in inline function 'itrie_open' which is not static INCREMEN \ ^~~~~~~~~~ ./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: ./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_MOT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^~~~~~~~~ In file included from ./core_tries.c:18: ./core_dbtries.c:673:21: warning: 'stack_args' is staticIn file included from ./itries.c:18: ./base_itries.h:207:17: warning: inline function 'itrie_print' DE' 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: ./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:75: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:79:35: note: in definition of macro 'TrEngine_memory_max' #define TrEngine but used in inline function 'core_breadth_reduction' which is not static PUSH_DOWN(stack~~~~~ ./core_tries.h:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(_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_triesdeclared but never defined inline void itrie_print(TrEntry itrie); ^~~~~~~~~~~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:75: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: ./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: ./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); .h:89:28: warning: 'TRIE_ENGINE' is static but used in inline function 'trie_put_entry' which is not_args, TrNode_entry(temp), stack_top); ^~~~~~~~~~ ./core_tries.h:170:11: note: ^~~~~~~~~~~~~~~ In file included from ./base_itries.c:17: ./base_itries.h:102:28: warning: 'ITRIE_ENGINE' is static but used in inline function 'itrie_open' which is not static INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^~~~~~~~~~~~ ./core_tries.h:75: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:79: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(ITR static INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^~~~~~~~~~~ ./core_tries.h:79: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:75: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'IE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^~~~~~~~~~~~ ./core_tries.h:79: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 expansiin 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:169: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:164: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:170: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:169: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:164:15: note: in definition of macro 'PUSH_DOWN' { if (STACK > STACK_TOP) { \ ^~~~~ In file included from ./core_tries.c:18: ./core_dbtries.c:622:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_breadth_reduction' which is not static INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77:35: note: in definition of macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ./base_itries.h:206:17: warning: inline function 'itrie_usage' declared but never defined inline von 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:75: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:75: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); \ ^ ./core_dbtries.c:622:9: note: in expansion of macro 'INCREMENT_ENTRIES' oid itrie_usage(TrEntry itrie, YAP_Int *entries, YAP_Int *nodes, YAP_Int *virtual_nodes); ^~~~~~~~~~~~~~~~ ./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: ./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:75: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:75: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: 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 n ^~~~~~~~~~~ ./base_itries.h:205:17: warning: inline function 'itrie_max_stats' declared b 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:79: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:79: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, SIZot static INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^~~~~~~~~~~~~~EOF_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:75:35: note: in defiut never defined inline void itrie_max_stats(YAP_Int *memory, YAP_Int *tries, YAP_Int *entries,~~~~~ ./core_tries.h:81: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:81: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:77: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:77: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:nition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) 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 it1783: ./core_dbtries.c:621:16: warning: 'trie_node_check_insert' is static but used in inline functi ^ ./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:75: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: ./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_rie_add(TrEntry itrie_dest, TrEntry itrie_source); ^~~~~~~~~ ./base_itries.h:194:17on 'core_breadth_reduction' which is not static node = trie_node_check_insert(node, PairEnditrie_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_s: warning: inline function 'itrie_remove_subtree' declared but never defined inline void itrie_Tag); ^~~~~~~~~~~~~~~~~~~~~~ ./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: ./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:170: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:169: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:164: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:170:11: note: in definition of macro 'PUSH_DOWN' STACK++; ource), TrData_neg(data_source), TrData_timestamp(data_source), TrData_depth(data_source)); remove_subtree(TrData data); ^~~~~~~~~~~~~~~~~~~~ ./base_itries.h:193:17: warning: \ ^~~~~ ./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:169: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:164:15: note: in definition of macro 'PUSH_DOWN' { if (STACK > STACK_TOP) { \ ^~~~~ In file included from ./core_tries.c:1783: ./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: ./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:77: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:81: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_ENTRIE ^~~~~~~~~~~~~ ./base_itries.h:40:38: note: in definition of macro 'TrEntry_buckS(CURRENT_TRIE_ENGINE); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:81: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_ENTRinline 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:316, 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_dbtriIES' INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^~~~~~~~~~~~~~~~~ ./core_dbtries.c:525:21: warninets' #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: ./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:269: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: ./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:75: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 ./base_itries.c:18: ./base_itries.c:80:29: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_copy' which is not static 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.ces.h:228:18: warning: inline function 'core_get_trie_db_opt_min_prefix' declared but never defined g: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_depth_reduction' which is not s:17: ./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:75: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:79:tatic INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^~~~~~~~~~~~~~~~~~~ ./core_triinline 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:316, 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, T35: note: in definition of macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memoryes.h:77: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:77: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:1783: ./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: ./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:170: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:169: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:164:15: note: in definition of macro 'PUSH_DOWN' { if (STACK > _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:79: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_cSTACK_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:170: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:169: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:164:15: note: in definition of macro 'PUSH_DOWN' { if (STACK > STACK_TOP) { \ ^~~~~ In file included from ./core_tries.c:1783: ./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_redopy' which is not static INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUuction' 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: ./core_tries.h:197: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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:197: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:197: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:79:35: note: in definition of macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ./core_tries.h:197:11: note: in expansion of macro 'INCREMENT_MEMORY'CKET); \ ^~~~~~~~~~~~ ./core_tries.h:75: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:75: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(datrNode), void (*correct_order_function)(void)); ^~~~~~~~~~~~~~~~~~~~~~ In file incl new_trie_da_source), TrData_depth(data_source)); ^~~~~~~~~~~~~~ In file included from ./base_itries.c:18: 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:197: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:79:35: note: .uded from ./core_tries.h:316, from ./itries.c:17: ./core_dbtries.h:222:18: warning: in definition of macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ./core_tries.h:197: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:197: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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:197: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:197: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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:197: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:196: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:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ./core_tries.h:196: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:196: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:82:35: note: in definition of macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used)/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' inline function 'core_depth_reduction' declared but never defined inline TrNode core_depth_redu ^ ./core_tries.h:196: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:196: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:82:35: note: in definition of macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ./core_tries.h:196: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:196: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:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ./core_tries.h:196: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:196:27: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^~~ #define TrEntry_buckets(X) ((X)->trie_data_buckets) ^ction(TrEngine engine, TrNode node, TrNode depth_node, YAP_Int opt_level, void (*construct_function) ./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' #defin~~~~~~~~~~~~~~~~ ./core_tries.h:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngi(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_oe 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: ./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: ./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:75: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); ne_nodes(X) ((X)->nodes_in_use) ^ ./core_tries.h:196:11: norder_function)(void)); ^~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:221:18: warning: inli \ ^~~~~~~~~~~~~~~~ ./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:79: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:79: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, depthte: 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:197: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); \ ); ^~~~~~~~~~~~~~ ./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_DATne function 'core_finalize_depth_breadth_trie' declared but never defined inline void core_fin ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:197: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:197: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:79:35: note: in definition of macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ./core_tries.h:197: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:197: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); \ A); \ ^~~~~~~~~~~~ ./core_tries.h:75:35: note: inalize_depth_breadth_trie(TrNode depth_node, TrNode breadth_node); ^~~~~~~~~~~~~~~~ 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:75: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: ./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:79:35: note: in definition of macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ./core_tries.h:197: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:197: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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:197: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_tri ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core_dbtries.h:220:18: warning: inline function 'core_initialize_depth_breadth_tres.h:197: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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:197: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:196: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:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ./core_tries.h:196: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:196: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:82:35: note: in definition of macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ./core_tries.h:196:11: note: in expansion of macro 'INCREMENT_NODES' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^~~~~~~~~~~~ ./base_itries.h:41:38: note: in definition of macro 'TrEntry_bucket' #define TrEntry_bucket(X,N) ie' 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: ./core_tries.h:314:18: warning: inline function 'core_trie_to_list' declared but never defined inline YAP_Term core_trie_to_list(TrNode node); ^~~~~~~~~~~~~~~~~ ./core_tries.h:312:17: warning: inline function 'core_enable_hash_table' declared but never defined inline void core_enable_hash_table(void); ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:311:17: warning: inline function 'core_disable_hash_table' declared but never defined inline void core_disable_hash_table(void); ^~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:309:17: warning: inline function 'core_trie_print' declared but never defined~~~ ./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:196: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:82:35: note: in definition of macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ./core_tries.h:196:11: note: in expansion of macro 'INCREMENT_NODES' inline void core_trie_p 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:196: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:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ./core_tries.h:196: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:196: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:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ./core_tries.h:196:11: note: in expansion of macro 'INCREMENT_NODES' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^~~~~~~~~~~~ ((X)->trie_data_buckets + N) ^ ./base_itries.c:59:3: not~~~ ./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:197: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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:197: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:197: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:79:35: note: in definition of macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ./core_tries.h:197: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:197:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'replace_nested_trie' which is not static INCREMENT_MEMORYrint(TrNode node, void (*print_function)(TrNode)); ^~~~~~~~~~~~~~~ ./core_tries.h:3e: in expansion of macro 'new_itrie_data' new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, tim08: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:307: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:306: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:305: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:304: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 *));(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ./core_tries.h:197: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:197:28: warning: 'CUR ^~~~~~~~~~~~~~ ./core_tries.h:303:17: warningestamp, depth); ^~~~~~~~~~~~~~ ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but usedRENT_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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:197: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:197: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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:197: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); ^~~~~~~~~~~~: inline function 'core_trie_count_intersect' declared but never defined inline YAP_Int core_trie_ in inline function 'itrie_data_load' which is not static new_itrie_data(data, CURRENT_ITRIE, nodcount_intersect(TrNode node1, TrNode node2); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:302: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:301: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:300: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:299: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:298: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:297:17: warning: inline function 'core_trie_remove_entry' declared but never defined~ ./core_tries.h:196: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:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ./core_tries.h:196:11: note: in expansion of macro 'INCREMENT_NODES' inline void core_trie_remove_entre, 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); ^~~~~~~~~~ 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:196: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:82:35: note: in definition of macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ./core_tries.h:196: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:196: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:82:35: note: in definition of macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ./core_tries.h:196: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:196: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:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ./core_tries.h:196: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),y(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:296:17: warning: inline function 'core_trie_get_entry' declared but never defined inline YAP_Term core_trie_get_entry(TrNode node); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:295: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:294: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:293:17: warning: inline function 'core_trie_get_mode' declared but never defined inline YAP_Int core_trie_get_mode(void); ^~~~~~~~~~~~~~~~~~ ./core_tries.h:292:17: warning: inline function 'core_trie_set_mode' declared but never defined inline void core_trie_set_mode(YAP_Int mode); ^~~~~~~~~~~~~~~~~~ ./core_tries.h:291: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:290: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:289:17: warning: inline function 'core_trie_open' declared but never defined inline TrNode core_trie_open(TrEngine engine); NULL, TrNode_child(TrNode_parent(node)), NULL); ^~~~~~~~~~~~~ ./core_tries.h:196: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:288:17: warning: inline function 'core_trie_init_module' declared but never defined inline TrEngine core_trie_init_module(void); ^~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ./core_tries.h:196: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:1783: ./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 staata(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:75: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: ./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:75: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: ./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:231: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: ./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_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: ./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:269: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: ./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:75: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 ./base_itries.c:18: ./base_itries.c:59:24: warning: 'CURRENT_ITRIE' is static but used in inline function 'itrie_data_load' which is not static 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: ./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:75: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:79: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:79: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_itri./tries.c: In function 'p_trie_get_db_opt_level_count_cont': ./tries.c:906:5: warning: this 'if' clatic 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:587: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:578: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:572: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:563: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:558: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:551: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:550:12: warning: 'USAGE_NODES' is static but used in inline function 'core_trie_usage' which is not static *nodes = USAGE_NODES; ^~~~~~~~~~~ ./core_tries.c:549:14: warning: 'USAGE_ENTRIES' is static but used in inline function 'core_trie_usage' which is not static *entries = USAGE_ENTRIES; ^~~~~~~~~~~~~ ./core_tries.c:548: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:546: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:545:3: warning: 'USAGE_NODES' is static but used in inline function 'core_trie_usage' which is not static USAGE_NODES = 0; ^~~~~~~~~~~ ./core_tries.c:544:3: warning: 'USAGE_ENTRIES' is static but used in inline function 'core_trie_usage' which is not static USAGE_ENTRIES = 0; ^~~~~~~~~~~~~ ./core_tries.c:517: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:515: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:514:3: warning: 'CURRENT_DEPTH' is static but used in inline function 'core_trie_load' which is not static CURRENT_DEPTH = 0; ^~~~~~~~~~~~~ ./core_tries.c:513:3: warning: 'CURRENT_INDEX' is static but used in inline function 'core_trie_load' which is not static CURRENT_INDEX = -1; ^~~~~~~~~~~~~ ./core_tries.c:512: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:505: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:493: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:46use does not guard... [-Wmisleading-indentation] if (YAP_Unify(arg_opt_level, opt_level->value)0: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 us); ^~ ./tries.c:907:7: note: ...this statement, but the latter is misleadingly indented as if ies.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:75: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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use)ed 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_F ^ ./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: ./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); ^~~~~~t were guarded by the 'if' return YAP_Unify(arg_count, YAP_MkIntTerm(trie_get_db_opt_level_co~~~~~~~ ./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: ./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:316, 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:316, 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:316, 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)UNCTION' 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(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: ./core_tries.h:314:18: warning: inline function 'core_trie_to_list' declared but never defined inline YAP_Term core_trie_to_list(TrNode node); ^~~~~~~~~~~~~~~~~ ./core_tries.h:312:17: warning: inline function 'core_enable_hash_table' declared but never defined inline void core_enable_hash_table(void); ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:311:17: warning: inline function 'core_disable_hash_table' declared but never defined inline void core_disable_hash_table(void);unt(YAP_IntOfTerm(arg_opt_level)))); ^~~~~~ In file included from ./base_tries.h:148, from ./tries.c:18: ./tries.c: At top level: ./base_dbtries.h:216:17: warning: inline function 'trie_set_db_opt_min_prefix' declared but never defined inline void trie_set_db_opt_min_prefix(YAP_Int min_prefix); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./base_dbtries.h:215:17: warnin ^~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:3 used in inline function 'core_trie_join' which is not static TrNode_child(node_dest) = copy_ch09: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:308: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:307: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:306: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:305: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:304: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:303:17: warning: inline function 'core_trie_count_intersect' declared but never definedild_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); ^~~~~~~~~~~~~~~~~ ./ inline YAP_Int core_g: 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, 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: ./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); ^~~~~~~~~~trie_count_intersect(TrNode node1, TrNode node2); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./core_~~~~~~~~~~~~~ ./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, YAtries.h:302: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:301: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_funcP_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 definedtion)(TrNode, TrNode), void (*destruct_function)(TrNode)); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:300: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:299: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:298: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:297: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:296:17: warning: inline function 'core_trie_get_entry' declared but never defined inline YAP_Term core_trie_get_entry(TrNode node); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:295: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:294: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:293:17: warning: inline function 'core_trie_get_mode' declared but never defined inline YAP_Int core_trie_get_mode(void); ^~~~~~~~~~~~~~~~~~ ./core_tries.h:292:17: warning: inline function 'core_trie_set_mode' declared but never defined inline void core_trie_set_mode(YAP_Int mode); 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 define ^~~~~~~~~~~~~~~~~~ ./core_tries.h:291: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:290: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:289:17: warning: inline function 'core_trie_open' declared but never defined inline TrNode core_trie_open(TrEngine engine); ^~~~~~~~~~~~~~ ./core_tries.h:288:17: warning: inline function 'core_trie_init_module' declared but never defined inline TrEngine core_trie_init_module(void); ^~~~~~~~~~~~~~~~~~~~~ ./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: ./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); \ ^~~~~~~~~~~d 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_encore_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: ./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_ENGINEtry(TrData data); ^~~~~~~~~~~~~~ ./base_tries.h:119:17: warning: inline function 't); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:77: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(CUR ./core_tries.h:75: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: ./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: ./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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use)RENT_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_DErie_check_entry' declared but never defined inline TrData trie_check_entry(TrEntry trie, YAP_TermSTRUCT_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_T ^ ./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:79: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:79: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);RIE_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 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:316, 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:22, 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 'cor8: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, YAPe_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: ./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:153: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:151: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)) { ^~~~~~~~~~ ./cor_Int nested_trie_id, YAP_Term new_term); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e_tries.h:151: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: 'stac~~ ./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:316, 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:316, 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_funck_vars' is static but used in inline function 'core_trie_put_entry' which is not static *((YAP_tion)(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: ./core_tries.h:314:18: warning: inline function 'core_trie_to_list' declared but never defined inline YAP_Term core_trie_to_list(TrNode node); ^~~~~~~~~~~~~~~~~ ./core_tries.h:312:17: warning: inline function 'core_enable_hash_table' declared but never defined inline void core_enable_hash_table(void); ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:311:17: warning: inline function 'core_disable_hash_table' declared but never defined inline void core_disable_hash_table(void); ^~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:309: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:308: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:307:17: warning: inline function 'core_trie_max_stats' declared but never defineTerm *)*stack_vars) = *stack_vars; ^~~~~~~~~~ In file included from ./core_triesd inline void core_trie_max_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:306: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:305: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:304: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:303: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:302: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:301: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:300: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:299: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:298:17: warning: inline function 'core_trie_remove_subtree' declared but never define.c:18: ./core_tries.c:332:21: warning: 'stack_vars' is static but used in inline function 'core_trie_put_entry' which is not static (void) POP_DOWN(stack_vars); ^~~~~~~~~~ ./core_tries.h:153: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:151: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:151: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: ./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:77: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:81: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:81: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:77: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:77: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_d inline void core_trie_remove_subtree(TrEngine engine, TrNode node, void (*destruct_function)( ^~~~~~~~~~~~~~ ./base_tries.h:72:28: warning: 'TRIE_ENGINE' is static btries.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 isTrNode)); ^~~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:297:17: warning: inline function 'core_trie_remove_entry' declared but never defined inline void core_trie_remove_entry(TrEngineut used in inline function 'trie_open' which is not static INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^~~~~~~~~~~ ./core_tries.h:75: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:75: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: ./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); not static CURRENT_TRIE_MODE = mode; ^~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_tries.c:293:19: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_close' which is not static DECREMENT_TRIES(CURRENT_TRIE_ENGINE); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:76: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); ^~~~~~~~~~~~~~~ . engine, TrNode node, void (*destruct_function)(TrNode)); ^~~~~~~~~~~~~~~~~~~~~~ ./ \ ^~~~~~~~~~ ./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: ./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: ./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:235: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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:235: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:296:17: warning: inline function 'core_trie_get_entry' declared but never defined inli \ ^~~~~~~~~~~ ./core_tries.h:75:35: note: in definiti ^~~~~~~~~~~~~~ ./core_tries.h:234: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:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ./core_tries.h:234: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: ./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:76: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_Ene YAP_Term core_trie_get_entry(TrNode node); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:29on of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) NGINE' is static but used in inline function 'core_trie_open' which is not static INCREMENT_TRIES(CURRENT_TRIE_ENGINE); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:80: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:80: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:76: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:76: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:197: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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:197: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:197:28: warning: 'CURRENT_TRIE_ENGINE' is stati5:17: warning: inline function 'core_trie_check_entry' declared but never defined inline TrNode c ^ ./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:75: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_MEMOc but used in inline function 'core_trie_open' which is not static INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:79:35: note: in definition of macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ./core_tries.h:197: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(&TrEngRY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^~~~~ine_trie(engine))); ^~~~~~~~~~~~~ ./core_tries.h:197: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:79:35: note: in definition of macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ./core_tries.h:197: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:197:28: warning: 'CURRENT_TRIE_ENGINE' is static but used in inline function 'core_trie_open' which is not static INCREMENT_MEMORY(CURRENTore_trie_check_entry(TrNode node, YAP_Term entry); ^~~~~~~~~~~~~~~~~~~~~ ./core_tri_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:197:11: note: in expansiones.h:294: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:293:17: warning: inline function 'core_trie_get_mode' declared but never defined inline YAP_Int core_trie_get_mode(void); ^~~~~~~~~~~~~~~~~~ ./core_tries.h:292:17: warning: inline function 'core_trie_set_mode' declared but never defined inline void core_trie_set_mode(YAP_Int mode); ^~~~~~~~~~~~~~~~~~ ./core_tries.h:291: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:290: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:289:17: warning: inline function 'core_trie_open' declared but never defined inline TrNode core_trie_open(TrEngine engine); ^~~~~~~~~~~~~~ ./core_tries.h:288:17: warning: inline function 'core_trie_init_module' declared but never defined inline TrEngine core_trie_init_module(void); ^~~~~~~~~~~~~~~~~~~~~ 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:197: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:75:35: note: in definition of macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ./core_tries.h:197: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:196: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:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ./core_tries.h:196: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:196: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:82:35: note: in definition of macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ./core_tries.h:196: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:196: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:82:35: note: in definition of macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ./core_tries.h:196: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:196: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:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ~~~~~~ ./core_tries.h:79: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:79: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 ^ ./core_tries.h:196:11: note: in expansion of macro 'INCREMENT_NODES' IN, SIZEOF_TR_DATA); \ ^~~~~~~~~~~ ./core_CREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^~~~~~~~~~~~~~~ tries.h:75: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:75: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: ./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);./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:196: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:78:35: note: in definition of macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ./core_tries.h:196:11: note: in expansion of macro 'INCREMENT_NODES' INCREMENT_NODE ^~~~~~~~~~~~~ ./base_tries.c:65:28: warS(CURRENT_TRIE_ENGINE); \ ^~~~~~~~~~~~~~~ ./core_triesning: '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: ./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)); \ .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 i ^~~~~~~~~~~~~~~~~~ ./base_tries.c:65:3: note: in expansion of macs not static CURRENT_AUXILIARY_TERM_STACK_SIZE = BASE_AUXILIARY_TERM_STACK_SIZE; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./core_tries.c:18: ./core_tries.c:256:16: warning: 'AUXILIARY_TERM_STACK' is static but used in inline function 'core_trie_init_module' which is not static new_struct(AUXILIARY_TERM_STACK, YAP_Term, BASE_AUXILIARY_TERM_STACK_SIZE * sizeof(YAP_Term)); ^~~~~~~~~~~~~~~~~~~~ ./core_tries.h:176: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; ^~~~~~~~~ ro 'new_trie_data' new_trie_data(data_dest, CURRENT_TRIE, node_dest); ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static 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(datacc -shared -export-dynamic -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o itries.so core_tries.o base_itries.o itries.o -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap _dest, CURRENT_TRIE, node_dest); ^~~~~~~~~~~~~ In file included from ./base_tries.c:18: ./base_tries.c:65:28: warning: 'CURRENT_TRIE' is static but used in inline function 'trie_data_copy' which is not static 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: ./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: ./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:75: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:79: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:79: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:75: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:75: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: ./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: ./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: ./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: ./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: ./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:316, 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:316, 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:316, 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: ./core_tries.h:314:18: warning: inline function 'core_trie_to_list' declared but never defined inline YAP_Term core_trie_to_list(TrNode node); ^~~~~~~~~~~~~~~~~ ./core_tries.h:312:17: warning: inline function 'core_enable_hash_table' declared but never defined inline void core_enable_hash_table(void); ^~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:311:17: warning: inline function 'core_disable_hash_table' declared but never defined inline void core_disable_hash_table(void); ^~~~~~~~~~~~~~~~~~~~~~~ ./core_tries.h:309: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:308: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:307: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:306: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:305: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:304: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:303: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:302: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:301: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:300: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:299: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:298: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:297: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:296:17: warning: inline function 'core_trie_get_entry' declared but never defined inline YAP_Term core_trie_get_entry(TrNode node); ^~~~~~~~~~~~~~~~~~~ ./core_tries.h:295: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:294: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:293:17: warning: inline function 'core_trie_get_mode' declared but never defined inline YAP_Int core_trie_get_mode(void); ^~~~~~~~~~~~~~~~~~ ./core_tries.h:292:17: warning: inline function 'core_trie_set_mode' declared but never defined inline void core_trie_set_mode(YAP_Int mode); ^~~~~~~~~~~~~~~~~~ ./core_tries.h:291: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:290: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:289:17: warning: inline function 'core_trie_open' declared but never defined inline TrNode core_trie_open(TrEngine engine); ^~~~~~~~~~~~~~ ./core_tries.h:288:17: warning: inline function 'core_trie_init_module' declared but never defined inline TrEngine core_trie_init_module(void); ^~~~~~~~~~~~~~~~~~~~~ cc -shared -export-dynamic -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o tries.so core_tries.o base_tries.o tries.o -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/tries' (cd packages/clib; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/clib' cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include error.c -o error.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include unix.c -o unix.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include random.c -o random.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include socket.c -o socket.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include nonblockio.c -o nonblockio.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include form.c -o form.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include cgi.c -o cgi.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include memfile.c -o memfile.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include files.c -o files.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include mime.c -o mime.o (cd maildrop/rfc2045 && gmake) (cd maildrop/rfc822 && gmake) gmake[3]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/clib/maildrop/rfc2045' cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045.c -o rfc2045.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045acchk.c -o rfc2045acchk.o gmake[3]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/clib/maildrop/rfc822' cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc822.c -o rfc822.o In file included from rfc2045acchk.c:9: 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:23:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] extern void rfc2045_enomem(); ^~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc822_getaddr.c -o rfc822_getaddr.o In file included from mime.c:35: ./maildrop/rfc2045/rfc2045.h:97:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct rfc2045 *rfc2045_alloc(); ^~~~~~~ ./maildrop/rfc2045/rfc2045.h:144:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void rfc2045_base64encode_end(); ^~~~ ./maildrop/rfc2045/rfc2045.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] const char *rfc2045_getdefaultcharset(); ^~~~~ ./maildrop/rfc2045/rfc2045.h:157:2: warning: function declaration isn't a prototype [-Wstrict-prototypes] void (*end_section)(); ^~~~ ./maildrop/rfc2045/rfc2045.h:160:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct rfc2045 *rfc2045_alloc_ac(); ^~~~~~~ mime.c:321:1: warning: no previous prototype for 'mime_parse' [-Wmissing-prototypes] mime_parse(term_t handle, term_t result) ^~~~~~~~~~ mime.c:374:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_mime() ^~~~~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc822_getaddrs.c -o rfc822_getaddrs.o files.c:156:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_files() ^~~~~~~~~~~~~ files.c:82: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) ^~~~~~~~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045acprep.c -o rfc2045acprep.o random.c:148:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_random() ^~~~~~~~~~~~~~ cgi.c:183:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_cgi() ^~~~~~~~~~~ In file included from rfc2045acprep.c:6: 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() ^~~~~~~~~~ In file included from socket.c:43: nonblockio.h:74: warning: "h_errno" redefined #define h_errno errno In file included from nonblockio.h:66, from socket.c:43: /usr/include/netdb.h:97: note: this is the location of the previous definition #define h_errno (*__h_errno()) socket.c:78:1: warning: no previous prototype for 'tcp_get_socket' [-Wmissing-prototypes] tcp_get_socket(term_t Socket, int *id) ^~~~~~~~~~~~~~ socket.c: In function 'pl_bind': socket.c:386:53: warning: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] if ( getsockname(fd, (struct sockaddr *) &addr, &len) ) ^~~~ In file included from nonblockio.h:65, from socket.c:43: /usr/include/sys/socket.h:548:52: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~~~~~~~~~~~~ socket.c: At top level: socket.c:645:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] uninstall_socket() ^~~~~~~~~~~~~~~~ error.c: In function 'pl_error': error.c:88:11: warning: unused variable 'argn' [-Wunused-variable] { int argn = va_arg(args, int); ^~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc822_mkdate.c -o rfc822_mkdate.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045appendurl.c -o rfc2045appendurl.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045cdecode.c -o rfc2045cdecode.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045decode.c -o rfc2045decode.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc822_parsedt.c -o rfc822_parsedt.o In file included from nonblockio.c:115: nonblockio.h:74: warning: "h_errno" redefined #define h_errno errno In file included from nonblockio.h:66, from nonblockio.c:115: /usr/include/netdb.h:97: note: this is the location of the previous definition #define h_errno (*__h_errno()) nonblockio.c:281:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] tcp_debug() ^~~~~~~~~ nonblockio.c: In function 'nbio_error': nonblockio.c:1474:16: warning: variable 'map' set but not used [-Wunused-but-set-variable] error_codes *map; ^~~ nonblockio.c: In function 'nbio_accept': nonblockio.c:2007:37: warning: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types] slave = accept(m->socket, addr, addrlen); ^~~~~~~ In file included from nonblockio.h:65, from nonblockio.c:115: /usr/include/sys/socket.h:544:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~~~~~~~~~~~~ nonblockio.c: In function 'nbio_recvfrom': nonblockio.c:2331:56: warning: passing argument 6 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] n = recvfrom(s->socket, buf, bufSize, flags, from, fromlen); ^~~~~~~ In file included from nonblockio.h:65, from nonblockio.c:115: /usr/include/sys/socket.h:553:36: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~~~~~~~~~~~~ In file included from rfc2045decode.c:9: 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(); ^~~~~~~ memfile.c:192:1: warning: no previous prototype for 'atom_to_encoding' [-Wmissing-prototypes] atom_to_encoding(atom_t a) ^~~~~~~~~~~~~~~~ memfile.c:480:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_memfile() ^~~~~~~~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045enomem.c -o rfc2045enomem.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include crypt.c -o crypt.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2047u.c -o rfc2047u.o In file included from rfc2045.c:19: 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:29:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] extern void rfc2045_enomem(); ^~~~~~ rfc2045.c:38:17: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct rfc2045 *rfc2045_alloc() ^~~~~~~~~~~~~ rfc2045.c:179:6: warning: no previous prototype for 'rfc2045_add_buf' [-Wmissing-prototypes] void rfc2045_add_buf( ^~~~~~~~~~~~~~~ rfc2045.c:207: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:214:6: warning: no previous prototype for 'rfc2045_add_workbufch' [-Wmissing-prototypes] void rfc2045_add_workbufch(struct rfc2045 *h, int c) ^~~~~~~~~~~~~~~~~~~~~ rfc2045.c:1144:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] const char *rfc2045_getdefaultcharset() ^~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:33:23: warning: extra tokens at end of #include directive #include u ^ unix.c:342:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] pl_detach_IO() ^~~~~~~~~~~~ unix.c:372:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_unix() ^~~~~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045_base64encode.c -o rfc2045_base64encode.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045_fromfd.c -o rfc2045_fromfd.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-alIn file included from rfc2045_base64encode.c:9: 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() ^~~~~~~~~~~~~~~~~~~~~~~~ iasing rfc2047.c -o rfc2047.o In file included from rfc2045cdecode.c:6: 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; ^~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing imapsubj.c -o imapsubj.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing imaprefs.c -o imaprefs.o form.c:238:1: warning: no previous prototype for 'next_line' [-Wmissing-prototypes] next_line(const char *in) ^~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045find.c -o rfc2045find.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include md5.c -o md5.o In file included from rfc2045find.c:9: 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(); ^~~~~~~ cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include md5passwd.c -o md5passwd.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include time.c -o time.o In file included from rfc2045appendurl.c:19: 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(); ^~~~~~ In file included from rfc2045enomem.c:4: 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() ^~~~~~~~~~~~~~ cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include readutil.c -o readutil.o rfc2047.c:15:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[]="$Id$"; ^~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045mkboundary.c -o rfc2045mkboundary.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include streaminfo.c -o streaminfo.o imapsubj.c: In function 'stripsubj': imapsubj.c:27:21: warning: implicit declaration of function 'strnicmp'; did you mean 'strncmp'? [-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) ^~~~~~~~~~~ md5passwd.c:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] to64(s, v, n) ^~~~ md5passwd.c:56:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] md5_crypt(pw, salt) ^~~~~~~~~ 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) ^~~~~~~~~~~ crypt.c:163:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_crypt() ^~~~~~~~~~~~~ cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045rewrite.c -o rfc2045rewrite.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045tryboundary.c -o rfc2045tryboundary.o cc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I./.. -I../../../.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing rfc2045xdump.c -o rfc2045xdump.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include process.c -o process.o In file included from rfc2045xdump.c:10: 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(); ^~~~~~~ cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include sha4pl.c -o sha4pl.o In file included from rfc2045mkboundary.c:9: 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(); ^~~~~~ cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include sha1/sha1.c -o sha1/sha1.o In file included from rfc2045_fromfd.c:15: 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(); ^~~~~~~ In file included from rfc2045rewrite.c:9: 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:46:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void qpe_start(); ^~~~~~ rfc2045rewrite.c:48:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void qpe_end(); ^~~~~~ rfc2045rewrite.c:51:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] static int fdout_flush() ^~~~~~~~~~~ rfc2045rewrite.c:422:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void qpe_start() ^~~~~~~~~ rfc2045rewrite.c:469:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void qpe_end() ^~~~~~~ cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include sha1/sha2.c -o sha1/sha2.o rfc2047u.c:16:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[]="$Id$"; ^~~~~ cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include -DUSE_SHA1 -o sha1/hmac_sha1.o ./sha1/hmac.c cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include -DUSE_SHA256 -o sha1/hmac_sha256.o ./sha1/hmac.c time.c:221:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] allocEvent() ^~~~~~~~~~ time.c:344:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] cleanupHandler() ^~~~~~~~~~~~~~ time.c:353:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] installHandler() ^~~~~~~~~~~~~~ time.c:672:1: warning: no previous prototype for 'alarm_error' [-Wmissing-prototypes] alarm_error(term_t alarm, int err) ^~~~~~~~~~~ time.c:970:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_time() ^~~~~~~~~~~~ time.c:1005:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] uninstall_time() ^~~~~~~~~~~~~~ cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I. -I./maildrop/rfc2045 -I./maildrop/rfc822 -I/usr/local/include -isystem /usr/local/include uri.c -o uri.o cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o unix.so error.o unix.o cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o random.so random.o readutil.c:163:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_readutil() ^~~~~~~~~~~~~~~~ cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o socket.so error.o socket.o nonblockio.o -lpthread cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o cgi.so error.o form.o cgi.o -lpthread process.c: In function 'process_kill': process.c:1572:8: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration] if ( kill(p, sig) == 0 ) ^~~~ process.c: At top level: process.c:1594:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_process() ^~~~~~~~~~~~~~~ streaminfo.c:107:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_streaminfo() ^~~~~~~~~~~~~~~~~~ cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o memfile.so error.o memfile.o -lgmp -lcrypt -lstdc++ -lm -L/usr/local/lib -lreadline -lncurses -lz cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o files.so error.o files.o -lgmp -lcrypt -lstdc++ -lm -L/usr/local/lib -lreadline -lncurses -lz cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o crypt.so error.o crypt.o md5.o md5passwd.o -lcrypt -lgmp -lcrypt -lstdc++ -lm -L/usr/local/lib -lreadline -lncurses -lz -lpthread cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o time.so error.o time.o -lgmp -lcrypt -lstdc++ -lm -L/usr/local/lib -lreadline -lncurses -lz -lpthread sha4pl.c:259:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_sha4pl() ^~~~~~~~~~~~~~ cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o readutil.so readutil.o cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o streaminfo.so error.o streaminfo.o cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o process.so error.o process.o uri.c:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] fill_flags() ^~~~~~~~~~ uri.c:1568:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_uri() ^~~~~~~~~~~ cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o uri.so uri.o -lpthread In file included from rfc2045tryboundary.c:9: 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 /usr/libexec/binutils234/elf/ar: creating librfc2045.a ranlib librfc2045.a gmake[3]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/clib/maildrop/rfc2045' 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 /usr/libexec/binutils234/elf/ar: creating librfc822.a ranlib librfc822.a gmake[3]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/clib/maildrop/rfc822' cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o mime.so error.o mime.o maildrop/rfc2045/librfc2045.a maildrop/rfc822/librfc822.a cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o sha4pl.so error.o sha4pl.o sha1/sha1.o sha1/sha2.o sha1/hmac_sha1.o sha1/hmac_sha256.o gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/clib' (cd packages/http; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/http' cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include http_stream.c -o http_stream.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include json.c -o json.o json.c:149:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_json() ^~~~~~~~~~~~ cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o json.so json.o -lgmp -lcrypt -lstdc++ -lm -L/usr/local/lib -lreadline -lncurses -lz In file included from http_stream.c:25: http_error.c:128:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] instantiation_error() ^~~~~~~~~~~~~~~~~~~ http_error.c:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] init_errors() ^~~~~~~~~~~ In file included from http_stream.c:26: http_chunked.c:288:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_http_chunked() ^~~~~~~~~~~~~~~~~~~~ In file included from http_stream.c:27: cgi_stream.c:719:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_cgi_stream() ^~~~~~~~~~~~~~~~~~ In file included from http_stream.c:28: stream_range.c:217:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_stream_range() ^~~~~~~~~~~~~~~~~~~~ http_stream.c:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_http_stream() ^~~~~~~~~~~~~~~~~~~ cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o http_stream.so http_stream.o -lgmp -lcrypt -lstdc++ -lm -L/usr/local/lib -lreadline -lncurses -lz gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/http' (cd packages/plunit; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/plunit' Nothing to do for this package gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/plunit' (cd packages/RDF; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/RDF' Nothing to do for this package gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/RDF' (cd packages/semweb; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/semweb' cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include rdf_db.c -o rdf_db.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include atom.c -o atom.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include lock.c -o lock.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include md5.c -o md5.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include avl.c -o avl.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include atom_map.c -o atom_map.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include debug.c -o debug.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include hash.c -o hash.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include murmur.c -o murmur.o cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include turtle.c -o turtle.o 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) ^~~~~~~~~~~~~~~ In file included from rdf_db.c:60: debug.h:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] int rdf_debuglevel(); ^~~ rdf_db.c:2010:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] new_db() ^~~~~~ rdf_db.c:2649:1: warning: no previous prototype for 'next_table_size' [-Wmissing-prototypes] next_table_size(long s0) ^~~~~~~~~~~~~~~ rdf_db.c: In function 'load_db': rdf_db.c:3187:7: warning: variable 'version' set but not used [-Wunused-but-set-variable] { int version; ^~~~~~~ rdf_db.c: At top level: rdf_db.c:4390:1: warning: no previous prototype for 'put_begin_end' [-Wmissing-prototypes] put_begin_end(term_t t, functor_t be, int level) ^~~~~~~~~~~~~ rdf_db.c:6479:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] rdf_reset_db() ^~~~~~~~~~~~ In file included from rdf_db.c:6557: quote.c:42:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] uri_ok() ^~~~~~ rdf_db.c:6569:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_rdf_db() ^~~~~~~~~~~~~~ In file included from atom_map.c:34: debug.h:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] int rdf_debuglevel(); ^~~ atom_map.c:142:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] init_functors() ^~~~~~~~~~~~~ atom_map.c:297:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] init_datum_store() ^~~~~~~~~~~~~~~~ atom_map.c:1117:1: warning: no previous prototype for 'rdf_statistics_literal_map' [-Wmissing-prototypes] rdf_statistics_literal_map(term_t map, term_t key) ^~~~~~~~~~~~~~~~~~~~~~~~~~ atom_map.c:1147:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_atom_map() ^~~~~~~~~~~~~~~~ In file included from lock.c:28: debug.h:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] int rdf_debuglevel(); ^~~ In file included from debug.c:26: debug.h:31:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] int rdf_debuglevel(); ^~~ debug.c:33:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] rdf_debuglevel() ^~~~~~~~~~~~~~ cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o rdf_db.so rdf_db.o atom.o lock.o md5.o avl.o atom_map.o debug.o hash.o murmur.o -lgmp -lcrypt -lstdc++ -lm -L/usr/local/lib -lreadline -lncurses -lz turtle.c:591:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_turtle() ^~~~~~~~~~~~~~ cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o turtle.so turtle.o -lgmp -lcrypt -lstdc++ -lm -L/usr/local/lib -lreadline -lncurses -lz gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/semweb' (cd packages/sgml; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/sgml' cc -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include -o parser.o -c parser.c cc -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include -o util.o -c util.c cc -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include -o charmap.o -c charmap.c cc -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include -o catalog.o -c catalog.c cc -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include -o model.o -c model.c cc -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include -o xmlns.o -c xmlns.c cc -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include -o utf8.o -c utf8.c cc -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include -o xml_unicode.o -c xml_unicode.c xml_unicode.c:41:1: warning: no previous prototype for 'xml_basechar' [-Wmissing-prototypes] xml_basechar(int c) ^~~~~~~~~~~~ xml_unicode.c:798:1: warning: no previous prototype for 'xml_ideographic' [-Wmissing-prototypes] xml_ideographic(int c) ^~~~~~~~~~~~~~~ xml_unicode.c:810:1: warning: no previous prototype for 'xml_combining_char' [-Wmissing-prototypes] xml_combining_char(int c) ^~~~~~~~~~~~~~~~~~ xml_unicode.c:1162:1: warning: no previous prototype for 'xml_digit' [-Wmissing-prototypes] xml_digit(int c) ^~~~~~~~~ xml_unicode.c:1223:1: warning: no previous prototype for 'xml_extender' [-Wmissing-prototypes] xml_extender(int c) ^~~~~~~~~~~~ cc -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include -o error.o -c error.c cc -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include -o sgml2pl.o -c sgml2pl.c cc -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include -o quote.o -c quote.c catalog.c:159:1: warning: no previous prototype for 'register_catalog_file_unlocked' [-Wmissing-prototypes] register_catalog_file_unlocked(const ichar *file, catalog_location where) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ catalog.c:208:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] init_catalog() ^~~~~~~~~~~~ util.c:802:1: warning: no previous prototype for 'wputs' [-Wmissing-prototypes] wputs(ichar *s) ^~~~~ parser.c:256:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] new_symbol_table() ^~~~~~~~~~~~~~~~ quote.c:468:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_xml_quote() ^~~~~~~~~~~~~~~~~ sgml2pl.c:180:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] initConstants() ^~~~~~~~~~~~~ sgml2pl.c:778:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] reset_url_cache() ^~~~~~~~~~~~~~~ sgml2pl.c:2462:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] { int (*func)(); ^ sgml2pl.c:2484:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] initprops() ^~~~~~~~~ sgml2pl.c:2582:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install() ^~~~~~~ cc -shared -export-dynamic -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/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/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/sgml' (cd packages/swi-minisat2/C; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/swi-minisat2/C' c++ -c -fPIC -O3 -fomit-frame-pointer -Wall -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/local/include -isystem /usr/local/include ./Solver.C -o Solver.o c++ -c -fPIC -O3 -fomit-frame-pointer -Wall -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../../include -I/usr/local/include -isystem /usr/local/include ./pl-minisat.C -o pl-minisat.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; ^~~~~ In file included from ./Solver.h:25, from ./Solver.C:20: ./Vec.h: In instantiation of 'void vec::push() [with T = vec]': ./Solver.C:81:21: required from here ./Vec.h:82:106: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'class vec'; use 'new' and 'delete' instead [-Wclass-memaccess] void push (void) { if (sz == cap) { cap = imax(2, (cap*3+1)>>1); data = (T*)realloc(data, cap * sizeof(T)); } new (&data[sz]) T(); sz++; } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./Solver.h:25, from ./Solver.C:20: ./Vec.h:33:7: note: 'class vec' declared here class vec { ^~~ c++ -shared -export-dynamic -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o pl-minisat.so Solver.o pl-minisat.o -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/swi-minisat2/C' (cd packages/tai; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/tai' (cd libtai ; gmake) gmake[3]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/tai/libtai' cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include tai_add.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include tai_now.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include tai_pack.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include tai_sub.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include tai_unpack.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include taia_add.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include taia_approx.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include taia_fmtfrac.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include taia_frac.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include taia_half.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include taia_less.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include taia_now.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include taia_pack.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include taia_sub.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include taia_tai.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include taia_unpack.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include caldate_fmt.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include caldate_scan.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include caldate_fmjd.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include caldate_mjd.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include caldate_norm.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include caldate_ster.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include leapsecs_read.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include leapsecs_init.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include leapsecs_add.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include leapsecs_sub.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include caltime_fmt.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include caltime_scan.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include caltime_tai.c cc -c -I.. -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../../.. -I./../../include -I/usr/local/include -isystem /usr/local/include caltime_utc.c rm -f libtai.a ar cq libtai.a 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 libtai.a gmake[3]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/tai/libtai' cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I./../PLStream ./pl-tai.c -o pl-tai.o ./pl-tai.c:90:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] do_tzset() ^~~~~~~~ ./pl-tai.c:108:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] tz_offset() ^~~~~~~~~ ./pl-tai.c:320:1: warning: no previous prototype for 'cal_ftm' [-Wmissing-prototypes] cal_ftm(ftm *ftm, int required) ^~~~~~~ ./pl-tai.c: In function 'format_time': ./pl-tai.c:621:13: warning: variable 'n' set but not used [-Wunused-but-set-variable] size_t n; ^ ./pl-tai.c: At top level: ./pl-tai.c:950:2: warning: no previous prototype for 'install' [-Wmissing-prototypes] install(void) ^~~~~~~ cc -shared -export-dynamic -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o pl-tai.so pl-tai.o libtai/libtai.a -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/tai' (cd packages/zlib; gmake) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/zlib' cc -c -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../.. -I./../../include -I/usr/local/include -isystem /usr/local/include zlib4pl.c -o zlib4pl.o zlib4pl.c:96:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] instantiation_error() ^~~~~~~~~~~~~~~~~~~ zlib4pl.c: In function 'zread': zlib4pl.c:397:7: warning: variable 'flush' set but not used [-Wunused-but-set-variable] int flush = Z_SYNC_FLUSH; ^~~~~ zlib4pl.c: At top level: zlib4pl.c:782:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] install_zlib4pl() ^~~~~~~~~~~~~~~ cc -shared -export-dynamic -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib/Yap -L/construction/lang/yap/yap-6.2.2/packages/PLStream -lplstream -Wl,--export-dynamic -L/usr/local/lib -L/construction/lang/yap/yap-6.2.2 -Wl,-R,/usr/local/lib -o zlib4pl.so zlib4pl.o -lz gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/zlib' gmake[1]: Leaving directory '/construction/lang/yap/yap-6.2.2' SUCCEEDED 00:00:35 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for yap-6.2.2_11 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/lang/yap/yap-6.2.2' mkdir -p /construction/lang/yap/stage/usr/local/bin install -s -m 555 -m 755 yap /construction/lang/yap/stage/usr/local/bin/yap mkdir -p /construction/lang/yap/stage/usr/local/lib/Yap install -m 0644 startup.yss /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss install -m 0644 -m 755 libYap.a /construction/lang/yap/stage/usr/local/lib mkdir -p /construction/lang/yap/stage/usr/local/share/Yap mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/pl mkdir -p /construction/lang/yap/stage/usr/local/share/doc/Yap /usr/bin/install -c ./Artistic /construction/lang/yap/stage/usr/local/share/doc/Yap /usr/bin/install -c ./README /construction/lang/yap/stage/usr/local/share/doc/Yap /usr/bin/install -c ./COPYING /construction/lang/yap/stage/usr/local/share/doc/Yap for f in ./pl/arith.yap ./pl/arrays.yap ./pl/attributes.yap ./pl/boot.yap ./pl/callcount.yap ./pl/checker.yap ./pl/chtypes.yap ./pl/consult.yap ./pl/control.yap ./pl/corout.yap ./pl/debug.yap ./pl/depth_bound.yap ./pl/dialect.yap ./pl/directives.yap ./pl/eam.yap ./pl/eval.yap ./pl/errors.yap ./pl/flags.yap ./pl/grammar.yap ./pl/ground.yap ./pl/hacks.yap ./pl/init.yap ./pl/listing.yap ./pl/lists.yap ./pl/messages.yap ./pl/load_foreign.yap ./pl/modules.yap ./pl/preds.yap ./pl/profile.yap ./pl/protect.yap ./pl/save.yap ./pl/setof.yap ./pl/signals.yap ./pl/sockets.yap ./pl/sort.yap ./pl/statistics.yap ./pl/strict_iso.yap ./pl/tabling.yap ./pl/threads.yap ./pl/udi.yap ./pl/utils.yap ./pl/yapor.yap ./pl/yio.yap; do /usr/bin/install -c $f /construction/lang/yap/stage/usr/local/share/Yap/pl; done (cd packages/PLStream; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/PLStream' install -s -m 555 libplstream.so /construction/lang/yap/stage/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/PLStream' (cd library/lammpi; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/lammpi' YAP LAM/MPI module not compiled. gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/lammpi' (cd library/matrix; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/matrix' install -s -m 555 matrix.so /construction/lang/yap/stage/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/matrix' (cd library/random; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/random' install -s -m 555 yap_random.so /construction/lang/yap/stage/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/random' (cd library/regex; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/regex' install -s -m 555 regexp.so /construction/lang/yap/stage/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/regex' (cd library/rltree; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/rltree' gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/rltree' (cd library/system; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/system' install -s -m 555 sys.so /construction/lang/yap/stage/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/system' (cd library/tries; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library/tries' install -s -m 555 tries.so itries.so /construction/lang/yap/stage/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library/tries' (cd packages/clib; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/clib' mkdir -p /construction/lang/yap/stage/usr/local/lib/Yap for f in unix.so random.so socket.so cgi.so memfile.so files.so mime.so crypt.so time.so readutil.so streaminfo.so process.so sha4pl.so uri.so; do \ install -s -m 555 $f /construction/lang/yap/stage/usr/local/lib/Yap; \ done mkdir -p /construction/lang/yap/stage/usr/local/share/Yap for f in ./unix.pl ./random.pl ./socket.pl ./cgi.pl ./memfile.pl ./filesex.pl ./mime.pl ./crypt.pl ./time.pl ./streaminfo.pl ./process.pl ./prolog_server.pl ./sha.pl ./socket.pl ./uri.pl; do \ install -m 0644 $f /construction/lang/yap/stage/usr/local/share/Yap; \ done LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -f none -g make -t halt % Restoring file /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss YAP 6.2.2 (x86_64): Sat Jul 29 03:02:41 UTC 2023 yes % YAP execution halted gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/clib' (cd packages/http; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/http' mkdir -p /construction/lang/yap/stage/usr/local/lib/Yap rm -f /construction/lang/yap/stage/usr/local/lib/Yap/http_chunked.so install -s -m 555 http_stream.so json.so /construction/lang/yap/stage/usr/local/lib/Yap mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/http mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/http/web/icons mkdir -p /construction/lang/yap/stage/usr/local/lib/web/css install -m 0644 ./html_write.pl ./http_client.pl ./http_header.pl ./http_mime_plugin.pl ./http_sgml_plugin.pl ./mimepack.pl ./mimetype.pl ./dcg_basics.pl ./thread_httpd.pl ./xpce_httpd.pl ./inetd_httpd.pl ./http_wrapper.pl ./http_open.pl ./http_session.pl ./http_error.pl ./http_parameters.pl ./http_dispatch.pl ./http_authenticate.pl ./http_stream.pl ./http_log.pl ./http_path.pl ./http_hook.pl ./html_head.pl ./http_exception.pl ./json.pl ./http_json.pl ./json_convert.pl ./http_dirindex.pl ./http_server_files.pl ./http_pwp.pl ./http_host.pl ./http_openid.pl ./js_write.pl /construction/lang/yap/stage/usr/local/share/Yap/http install -m 0644 ./README /construction/lang/yap/stage/usr/local/share/Yap/http install -m 0644 ./web/icons/*.png /construction/lang/yap/stage/usr/local/share/Yap/http/web/icons install -m 0644 ./web/css/*.css /construction/lang/yap/stage/usr/local/lib/web/css LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -f none -g make -t halt % Restoring file /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss YAP 6.2.2 (x86_64): Sat Jul 29 03:02:41 UTC 2023 yes % YAP execution halted gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/http' (cd packages/plunit; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/plunit' mkdir -p /construction/lang/yap/stage/usr/local/share/Yap install -m 0644 ./plunit.pl ./test_wizard.pl ./test_cover.pl /construction/lang/yap/stage/usr/local/share/Yap LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -f none -g make -t halt % Restoring file /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss YAP 6.2.2 (x86_64): Sat Jul 29 03:02:41 UTC 2023 yes % YAP execution halted gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/plunit' (cd packages/sgml; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/sgml' mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/DTD for f in HTML4.dcl HTML4.dtd HTML4.soc HTMLlat1.ent HTMLspec.ent HTMLsym.ent; do \ install -m 0644 ./DTD/$f /construction/lang/yap/stage/usr/local/share/Yap/DTD; \ done mkdir -p /construction/lang/yap/stage/usr/local/lib/Yap install -s -m 555 sgml2pl.so /construction/lang/yap/stage/usr/local/lib/Yap install -m 0644 ./sgml.pl ./xsdp_types.pl ./iso_639.pl ./sgml_write.pl ./xpath.pl ./pwp.pl ./pltotex.pl /construction/lang/yap/stage/usr/local/share/Yap LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -f none -g make -t halt % Restoring file /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss YAP 6.2.2 (x86_64): Sat Jul 29 03:02:41 UTC 2023 yes % YAP execution halted gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/sgml' (cd packages/RDF; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/RDF' install -m 0644 ./rdf.pl ./rdf_parser.pl ./rdf_triple.pl ./rewrite.pl ./rdf_ntriples.pl ./rdf_write.pl /construction/lang/yap/stage/usr/local/share/Yap LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -f none -g make -t halt % Restoring file /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss YAP 6.2.2 (x86_64): Sat Jul 29 03:02:41 UTC 2023 yes % YAP execution halted gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/RDF' (cd packages/semweb; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/semweb' mkdir -p /construction/lang/yap/stage/usr/local/lib/Yap for f in rdf_db.so turtle.so; do \ /usr/bin/install -c -m 755 $f /construction/lang/yap/stage/usr/local/lib/Yap; \ done mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/semweb for f in ./rdfs.rdfs ./dc.rdfs ./eor.rdfs ./owl.owl ./rdf_library.ttl ./rdf_db.pl ./rdfs.pl ./rdf_edit.pl ./rdf_litindex.pl ./rdf_persistency.pl ./rdf_turtle.pl ./rdf_cache.pl ./rdf_http_plugin.pl ./rdf_zlib_plugin.pl ./rdf_portray.pl ./rdf_compare.pl ./turtle_base.pl ./rdf_turtle_write.pl ./rdf_library.pl ./sparql_client.pl ./README; do \ install -m 0644 $f /construction/lang/yap/stage/usr/local/share/Yap/semweb; \ done LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -f none -g make -t halt % Restoring file /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss YAP 6.2.2 (x86_64): Sat Jul 29 03:02:41 UTC 2023 yes % YAP execution halted gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/semweb' (cd packages/tai; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/tai' install -s -m 555 pl-tai.so /construction/lang/yap/stage/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/tai' (cd packages/zlib; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/zlib' mkdir -p /construction/lang/yap/stage/usr/local/lib/Yap for f in zlib4pl.so; do \ install -s -m 555 $f /construction/lang/yap/stage/usr/local/lib/Yap; \ done mkdir -p /construction/lang/yap/stage/usr/local/share/Yap for f in ./zlib.pl; do \ install -m 0644 $f /construction/lang/yap/stage/usr/local/share/Yap; \ done LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -f none -g make -t halt % Restoring file /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss YAP 6.2.2 (x86_64): Sat Jul 29 03:02:41 UTC 2023 yes % YAP execution halted gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/zlib' (cd packages/swi-minisat2/C; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/swi-minisat2/C' install -s -m 555 pl-minisat.so /construction/lang/yap/stage/usr/local/lib/Yap gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/swi-minisat2/C' #@# (cd packages/pyswip; gmake install) mkdir -p /construction/lang/yap/stage/usr/local/include/Yap /usr/bin/install -c ./H/TermExt.h ./H/Atoms.h ./H/Tags_32bits.h ./H/Tags_32Ops.h ./H/Tags_32LowTag.h ./H/Tags_64bits.h ./H/Tags_24bits.h ./H/sshift.h ./H/Yap.h ./H/Yatom.h ./H/YapHeap.h ./H/Regs.h ./H/Yapproto.h ./H/absmi.h ./H/alloc.h ./H/amidefs.h ./H/amiops.h ./H/arrays.h ./H/arith2.h ./H/attvar.h ./H/clause.h ./H/compile.h ./H/corout.h ./H/dlmalloc.h ./H/dglobals.h ./H/dhstruct.h ./H/eval.h ./H/heapgc.h ./H/hglobals.h ./H/hstruct.h ./H/iglobals.h ./H/ihstruct.h ./H/index.h ./H/iopreds.h ./H/iswiatoms.h ./H/rclause.h ./H/rglobals.h ./H/rheap.h ./H/rhstruct.h ./H/threads.h ./H/tracer.h ./H/trim_trail.h ./H/yapio.h ./BEAM/eam.h ./BEAM/eamamasm.h ./OPTYap/opt.config.h ./OPTYap/opt.proto.h ./OPTYap/opt.structs.h ./OPTYap/opt.macros.h ./OPTYap/or.macros.h ./OPTYap/or.sbaamiops.h ./OPTYap/or.sbaunify.h ./OPTYap/tab.structs.h ./OPTYap/locks_x86.h ./OPTYap/locks_sparc.h ./OPTYap/locks_mips.h ./OPTYap/locks_mips_funcs.h ./OPTYap/locks_alpha.h ./OPTYap/locks_alpha_funcs.h ./OPTYap/locks_pthread.h ./H/cut_c.h ./H/iatoms.h ./H/ratoms.h ./H/tatoms.h ./library/dialect/swi/fli/swi.h ./MYDDAS/myddas.h ./MYDDAS/myddas_structs.h ./MYDDAS/myddas_statistics.h ./MYDDAS/myddas_statistics_structs.h ./MYDDAS/myddas_wkb.h ./MYDDAS/myddas_wkb2prolog.h /construction/lang/yap/stage/usr/local/include/Yap for h in ./include/c_interface.h ./include/clause_list.h ./include/dswiatoms.h ./include/udi.h ./include/rtree_udi.h ./include/yap_structs.h ./include/YapInterface.h ./include/SWI-Prolog.h ./include/SWI-Stream.h; do /usr/bin/install -c $h /construction/lang/yap/stage/usr/local/include/Yap; done /usr/bin/install -c config.h /construction/lang/yap/stage/usr/local/include/Yap/config.h /usr/bin/install -c parms.h /construction/lang/yap/stage/usr/local/include/Yap/parms.h (cd library ; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/library' count=`echo "-DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 " | grep MYDDAS | wc -l`; \ if [ $count -ne 0 ]; then \ mkdir -p /construction/lang/yap/stage/usr/local/share/Yap; \ for p in ./MYDDAS/myddas.ypp ./MYDDAS/myddas_assert_predicates.ypp ./MYDDAS/myddas_mysql.ypp ./MYDDAS/myddas_top_level.ypp ./MYDDAS/myddas_errors.ypp ./MYDDAS/myddas_prolog2sql.ypp ./MYDDAS/myddas_util_predicates.ypp ./MYDDAS/myddas_prolog2sql_optimizer.ypp; \ do install -m 0644 $p /construction/lang/yap/stage/usr/local/share/Yap; \ done; \ for p in /construction/lang/yap/stage/usr/local/share/Yap/myddas*.ypp; \ do name=`basename $p .ypp`; \ cpp -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -P -E -w $p > /construction/lang/yap/stage/usr/local/share/Yap/$name.yap; \ rm -fr $p; \ done; \ fi mkdir -p /construction/lang/yap/stage/usr/local/share/Yap mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/dialect mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/dialect/swi for p in ./INDEX.pl ./apply.yap ./apply_macros.yap ./arg.yap ./assoc.yap ./atts.yap ./autoloader.yap ./avl.yap ./bhash.yap ./charsio.yap ./cleanup.yap ./clp/clpfd.pl ./coinduction.yap ./dbqueues.yap ./dbusage.yap ./dgraphs.yap ./expand_macros.yap ./gensym.yap ./hacks.yap ./heaps.yap ./lambda.pl ./lineutils.yap ./lists.yap ./nb.yap ./ordsets.yap ./maplist.yap ./matlab.yap ./matrix.yap ./prandom.yap ./queues.yap ./random.yap ./r_session.yap ./rbtrees.yap ./readutil.yap ./regexp.yap ./rltree.yap ./splay.yap ./stringutils.yap ./system.yap ./terms.yap ./tries.yap ./itries.yap ./timeout.yap ./trees.yap ./ugraphs.yap ./undgraphs.yap ./varnumbers.yap ./wdgraphs.yap ./wgraphs.yap ./wundgraphs.yap ./lam_mpi.yap ./ypp.yap ./c_alarms.yap ./flags.yap ./block_diagram.yap; do install -m 0644 $p /construction/lang/yap/stage/usr/local/share/Yap; done for p in ./dialect/commons.yap ./dialect/hprolog.yap ./dialect/swi.yap; do install -m 0644 $p /construction/lang/yap/stage/usr/local/share/Yap/dialect; done for p in ./dialect/swi/INDEX.pl ./dialect/swi/listing.pl ./dialect/swi/readutil.pl; do install -m 0644 $p /construction/lang/yap/stage/usr/local/share/Yap/dialect/swi; done gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/library' (cd packages/swi-minisat2; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/swi-minisat2' mkdir -p /construction/lang/yap/stage/usr/local/share/Yap mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/minisat_examples for p in ./cnf.pl ./minisat.pl; do install -m 0644 $p /construction/lang/yap/stage/usr/local/share/Yap; done for p in ./examples/adder.pl ./examples/pearl_examples.pl; do install -m 0644 $p /construction/lang/yap/stage/usr/local/share/Yap/minisat_examples; done gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/swi-minisat2' (cd LGPL ; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/LGPL' mkdir -p /construction/lang/yap/stage/usr/local/share/Yap for p in ./base64.pl ./broadcast.pl ./date.pl ./debug.pl ./maplist.pl ./nb_set.pl ./operators.pl ./option.pl ./prolog_source.pl ./prolog_xref.pl ./quintus.pl ./record.pl ./settings.pl ./shlib.pl ./url.pl ./utf8.pl; do install -m 0644 $p /construction/lang/yap/stage/usr/local/share/Yap; done gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/LGPL' (cd GPL ; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/GPL' mkdir -p /construction/lang/yap/stage/usr/local/share/Yap for p in ./aggregate.pl ./ctypes.pl ./error.pl ./occurs.yap ./pairs.pl; do install -m 0644 $p /construction/lang/yap/stage/usr/local/share/Yap; done gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/GPL' install -m 0644 ./LGPL/pillow/icon_address.pl /construction/lang/yap/stage/usr/local/share/Yap/ install -m 0644 ./LGPL/pillow/pillow.pl /construction/lang/yap/stage/usr/local/share/Yap/ (cd LGPL/clp ; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/LGPL/clp' mkdir -p /construction/lang/yap/stage/usr/local/share/Yap mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/clp for p in ./clp_events.pl; do install -m 0644 $p /construction/lang/yap/stage/usr/local/share/Yap/clp; done gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/LGPL/clp' (cd packages/CLPBN ; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/CLPBN' mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/clpbn mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/clpbn/learning mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/clpbn/examples/School for h in ./clpbn.yap; do install -m 0644 $h /construction/lang/yap/stage/usr/local/share/Yap; done for h in ./clpbn/aggregates.yap ./clpbn/bnt.yap ./clpbn/bp.yap ./clpbn/connected.yap ./clpbn/discrete_utils.yap ./clpbn/display.yap ./clpbn/dists.yap ./clpbn/evidence.yap ./clpbn/gibbs.yap ./clpbn/graphs.yap ./clpbn/graphviz.yap ./clpbn/hmm.yap ./clpbn/jt.yap ./clpbn/matrix_cpt_utils.yap ./clpbn/pgrammar.yap ./clpbn/table.yap ./clpbn/topsort.yap ./clpbn/utils.yap ./clpbn/vel.yap ./clpbn/viterbi.yap ./clpbn/xbif.yap; do install -m 0644 $h /construction/lang/yap/stage/usr/local/share/Yap/clpbn; done for h in ./learning/aleph_parms.yap ./learning/bnt_parms.yap ./learning/em.yap ./learning/learn_utils.yap ./learning/mle.yap; do install -m 0644 $h /construction/lang/yap/stage/usr/local/share/Yap/clpbn/learning; done install: ./learning/aleph_parms.yap: No such file or directory for h in ./clpbn/examples/cg.yap ./clpbn/examples/sprinkler.yap; do install -m 0644 $h /construction/lang/yap/stage/usr/local/share/Yap/clpbn/examples; done for h in ./clpbn/examples/School/README ./clpbn/examples/School/evidence_128.yap ./clpbn/examples/School/schema.yap ./clpbn/examples/School/school_128.yap ./clpbn/examples/School/school_32.yap ./clpbn/examples/School/school_64.yap ./clpbn/examples/School/tables.yap; do install -m 0644 $h /construction/lang/yap/stage/usr/local/share/Yap/clpbn/examples/School; done gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/CLPBN' (cd packages/ProbLog ; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/ProbLog' mkdir -p /construction/lang/yap/stage/usr/local/share/Yap mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/problog mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/problog_examples for p in ./problog.yap ./problog_lfi.yap ./dtproblog.yap ./aproblog.yap ./problog_learning.yap; do install -m 0644 $p /construction/lang/yap/stage/usr/local/share/Yap; done for p in ./problog/extlists.yap ./problog/flags.yap ./problog/gflags.yap ./problog/grounder.yap ./problog/hash_table.yap ./problog/intervals.yap ./problog/logger.yap ./problog/mc_DNF_sampling.yap ./problog/os.yap ./problog/print.yap ./problog/sampling.yap ./problog/tabling.yap ./problog/timer.yap ./problog/ptree.yap ./problog/variable_elimination.yap ./problog/print_learning.yap ./problog/utils_learning.yap ./problog/version_control.yap ./problog/nestedtries.yap ./problog/utils.yap ./problog/ad_converter.yap ./problog/termhandling.yap ./problog/completion.yap ./problog/discrete.yap ./problog/bdd.yap ./problog/variables.yap; do install -m 0644 $p /construction/lang/yap/stage/usr/local/share/Yap/problog; done for p in ./problog_examples/alarm.pl ./problog_examples/graph.pl ./problog_examples/graph_tabled.pl ./problog_examples/learn_graph.pl ./problog_examples/office.pl ./problog_examples/viralmarketing.pl ./problog_examples/aProbLog_examples.pl ./problog_examples/viralmarketing_tabled.pl; do install -m 0644 $p /construction/lang/yap/stage/usr/local/share/Yap/problog_examples; done gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/ProbLog' (cd packages/chr ; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/chr' LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -q -f ./chr_swi_bootstrap.pl \ -g "chr_compile_step1('chr_translate_bootstrap1.chr','chr_translate_bootstrap1.pl'),halt" \ -t 'halt(1)' LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -q -f ./chr_swi_bootstrap.pl \ -g "chr_compile_step2('chr_translate_bootstrap1.chr','chr_translate_bootstrap1.pl'),halt" \ -t 'halt(1)' LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -q -f ./chr_swi_bootstrap.pl \ -g "chr_compile_step2('chr_translate_bootstrap2.chr','chr_translate_bootstrap2.pl'),halt" \ -t 'halt(1)' LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -q -f ./chr_swi_bootstrap.pl \ -g "chr_compile_step3('chr_translate_bootstrap2.chr','chr_translate_bootstrap2.pl'),halt" \ -t 'halt(1)' LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -q -f ./chr_swi_bootstrap.pl \ -g "chr_compile_step3('guard_entailment.chr','guard_entailment.pl'),halt" \ -t 'halt(1)' LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -q -f ./chr_swi_bootstrap.pl \ -g "chr_compile_step3('chr_translate.chr','chr_translate.pl'),halt" \ -t 'halt(1)' LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -p chr=. -q -f ./chr_swi_bootstrap.pl \ -g "chr_compile_step4('guard_entailment.chr','guard_entailment.pl'),halt" \ -t 'halt(1)' LD_LIBRARY_PATH=/construction/lang/yap/stage/usr/local/lib:/construction/lang/yap/stage/usr/local/lib/Yap: YAPSHAREDIR=/construction/lang/yap/stage/usr/local/share/Yap YAPLIBDIR=/construction/lang/yap/stage/usr/local/lib/Yap /construction/lang/yap/stage/usr/local/bin/yap /construction/lang/yap/stage/usr/local/lib/Yap/startup.yss -p chr=. -q -f ./chr_swi_bootstrap.pl \ -g "chr_compile_step4('chr_translate.chr','chr_translate.pl'),halt" \ -t 'halt(1)' mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/chr install -m 0644 ./chr_runtime.pl ./chr_op.pl chr_translate.pl ./chr_debug.pl ./chr_messages.pl ./pairlist.pl ./clean_code.pl ./find.pl ./a_star.pl ./binomialheap.pl ./builtins.pl ./chr_hashtable_store.pl ./listmap.pl guard_entailment.pl ./chr_compiler_options.pl ./chr_compiler_utility.pl ./chr_compiler_errors.pl ./chr_integertable_store.pl /construction/lang/yap/stage/usr/local/share/Yap/chr install -m 0644 ./chr_swi.pl /construction/lang/yap/stage/usr/local/share/Yap/chr.pl install -m 0644 ./README /construction/lang/yap/stage/usr/local/share/Yap/chr true gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/chr' (cd packages/clpqr ; gmake install) gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2/packages/clpqr' mkdir -p /construction/lang/yap/stage/usr/local/share/Yap mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/clpr mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/clpq mkdir -p /construction/lang/yap/stage/usr/local/share/Yap/clpqr install -m 0644 ./clpr.pl ./clpq.pl /construction/lang/yap/stage/usr/local/share/Yap for f in bb_r.pl bv_r.pl fourmotz_r.pl ineq_r.pl itf_r.pl nf_r.pl store_r.pl; do install -m 0644 ./clpr/$f /construction/lang/yap/stage/usr/local/share/Yap/clpr; done for f in bb_q.pl bv_q.pl fourmotz_q.pl ineq_q.pl itf_q.pl nf_q.pl store_q.pl; do install -m 0644 ./clpq/$f /construction/lang/yap/stage/usr/local/share/Yap/clpq; done for f in class.pl dump.pl geler.pl itf.pl ordering.pl project.pl redund.pl; do install -m 0644 ./clpqr/$f /construction/lang/yap/stage/usr/local/share/Yap/clpqr; done install -m 0644 ./README /construction/lang/yap/stage/usr/local/share/Yap/clpqr gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2/packages/clpqr' gmake pdf gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2' gmake[2]: Nothing to be done for 'pdf'. gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2' gmake html gmake[2]: Entering directory '/construction/lang/yap/yap-6.2.2' gmake[2]: Nothing to be done for 'html'. gmake[2]: Leaving directory '/construction/lang/yap/yap-6.2.2' install -m 0644 yap.html* /construction/lang/yap/stage/usr/local/share/doc/Yap install -m 0644 yap.pdf /construction/lang/yap/stage/usr/local/share/doc/Yap install -m 0644 ./README /construction/lang/yap/stage/usr/local/share/doc/Yap install -m 0644 ./Artistic /construction/lang/yap/stage/usr/local/share/doc/Yap install -m 0644 ./COPYING /construction/lang/yap/stage/usr/local/share/doc/Yap install -m 0644 ./changes4.3.html /construction/lang/yap/stage/usr/local/share/doc/Yap install -m 0644 ./changes-5.0.html /construction/lang/yap/stage/usr/local/share/doc/Yap install -m 0644 ./changes-5.1.html /construction/lang/yap/stage/usr/local/share/doc/Yap install -m 0644 ./changes-6.0.html /construction/lang/yap/stage/usr/local/share/doc/Yap gmake[1]: Leaving directory '/construction/lang/yap/yap-6.2.2' ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: 'lib/Yap/rdf_db.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'lib/Yap/turtle.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Error: /usr/local/bin/yap is linked to /usr/local/lib/libncurses.so.6 from devel/ncurses but it is not declared as a dependency Warning: you need USES+=ncurses Error: /usr/local/lib/Yap/crypt.so is linked to /usr/local/lib/libtinfo.so.6 from devel/ncurses but it is not declared as a dependency Warning: you need USES+=ncurses Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:17 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for yap-6.2.2_11 file sizes/checksums [476]: 0% file sizes/checksums [476]: 21% file sizes/checksums [476]: 42% file sizes/checksums [476]: 63% file sizes/checksums [476]: 84% file sizes/checksums [476]: 100% Service unavailablepacking files [476]: 0% packing files [476]: 21% packing files [476]: 42% packing files [476]: 63% packing files [476]: 84% packing files [476]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:03 TOTAL TIME 00:01:23