DC-Build-Header: yap 6.2.2-1 / 2013-07-15 13:13:12 +0000 DC-Task: source:yap version:6.2.2-1 architecture:any chroot:unstable esttime: logfile:/tmp/yap_6.2.2-1_unstable_clang.log modes:binary-only:clang DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang --append-to-version "clang1" --maintainer "Lucas Nussbaum " --uploader "Lucas Nussbaum " yap_6.2.2-1' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-10-232-49-236.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ yap 6.2.2-1clang1 (amd64) 15 Jul 2013 13:13 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: yap Version: 6.2.2-1clang1 Source Version: 6.2.2-1 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/yap-JfXr6o/yap-6.2.2' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/yap-JfXr6o' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-c2bca170-33b6-4b83-823b-7136fafe52fa' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [204 kB] Get:2 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:4 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Get:5 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [23.1 kB] Get:6 http://localhost:9999 unstable/main amd64 2013-07-13-2032.15.pdiff [16.9 kB] Get:7 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [23.1 kB] Get:8 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [1809 B] Get:9 http://localhost:9999 unstable/main amd64 2013-07-13-2032.15.pdiff [16.9 kB] Get:10 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [12.9 kB] Get:11 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [1809 B] Get:12 http://localhost:9999 unstable/main amd64 2013-07-14-0231.07.pdiff [14.9 kB] Get:13 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [12.9 kB] Get:14 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [1384 B] Get:15 http://localhost:9999 unstable/main amd64 2013-07-14-0231.07.pdiff [14.9 kB] Get:16 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [4670 B] Get:17 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [1384 B] Get:18 http://localhost:9999 unstable/main amd64 2013-07-14-0832.16.pdiff [1624 B] Get:19 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [4670 B] Get:20 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [337 B] Get:21 http://localhost:9999 unstable/main amd64 2013-07-14-0832.16.pdiff [1624 B] Get:22 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [11.4 kB] Get:23 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [337 B] Get:24 http://localhost:9999 unstable/main amd64 2013-07-14-1431.18.pdiff [8223 B] Get:25 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [11.4 kB] Get:26 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [887 B] Get:27 http://localhost:9999 unstable/main amd64 2013-07-14-1431.18.pdiff [8223 B] Get:28 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [9038 B] Get:29 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [887 B] Get:30 http://localhost:9999 unstable/main amd64 2013-07-14-2031.21.pdiff [9955 B] Get:31 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [9038 B] Get:32 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [2736 B] Get:33 http://localhost:9999 unstable/main amd64 2013-07-14-2031.21.pdiff [9955 B] Get:34 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [9715 B] Get:35 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [2736 B] Get:36 http://localhost:9999 unstable/main amd64 2013-07-15-0229.01.pdiff [12.7 kB] Get:37 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [9715 B] Get:38 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [2239 B] Get:39 http://localhost:9999 unstable/main amd64 2013-07-15-0229.01.pdiff [12.7 kB] Get:40 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [3273 B] Get:41 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [2239 B] Get:42 http://localhost:9999 unstable/main amd64 2013-07-15-0830.19.pdiff [3964 B] Get:43 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [3273 B] Get:44 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [1357 B] Get:45 http://localhost:9999 unstable/main amd64 2013-07-15-0830.19.pdiff [3964 B] Get:46 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [1357 B] Fetched 381 kB in 27s (13.9 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: initscripts sysv-rc sysvinit sysvinit-utils 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 405 kB of archives. After this operation, 20.5 kB disk space will be freed. Get:1 http://localhost:9999/debian/ unstable/main sysvinit amd64 2.88dsf-42 [134 kB] Get:2 http://localhost:9999/debian/ unstable/main sysv-rc all 2.88dsf-42 [80.4 kB] Get:3 http://localhost:9999/debian/ unstable/main sysvinit-utils amd64 2.88dsf-42 [103 kB] Get:4 http://localhost:9999/debian/ unstable/main initscripts amd64 2.88dsf-42 [87.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 405 kB in 0s (5734 kB/s) (Reading database ... 13844 files and directories currently installed.) Preparing to replace sysvinit 2.88dsf-41 (using .../sysvinit_2.88dsf-42_amd64.deb) ... Unpacking replacement sysvinit ... Setting up sysvinit (2.88dsf-42) ... Not restarting sysvinit (Reading database ... 13844 files and directories currently installed.) Preparing to replace sysv-rc 2.88dsf-41 (using .../sysv-rc_2.88dsf-42_all.deb) ... Unpacking replacement sysv-rc ... Preparing to replace sysvinit-utils 2.88dsf-41 (using .../sysvinit-utils_2.88dsf-42_amd64.deb) ... Unpacking replacement sysvinit-utils ... Setting up sysvinit-utils (2.88dsf-42) ... Setting up sysv-rc (2.88dsf-42) ... (Reading database ... 13844 files and directories currently installed.) Preparing to replace initscripts 2.88dsf-41 (using .../initscripts_2.88dsf-42_amd64.deb) ... Removing unmodified and obsolete conffile /etc/init.d/mtab.sh ... Unpacking replacement initscripts ... Setting up initscripts (2.88dsf-42) ... Installing new version of config file /etc/init.d/bootmisc.sh ... Installing new version of config file /etc/init.d/checkfs.sh ... Installing new version of config file /etc/init.d/checkroot.sh ... Installing new version of config file /etc/init.d/checkroot-bootclean.sh ... Installing new version of config file /etc/init.d/mountdevsubfs.sh ... Installing new version of config file /etc/init.d/mountkernfs.sh ... Installing new version of config file /etc/init.d/rmnologin ... Installing new version of config file /etc/network/if-up.d/mountnfs ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... NOTICE: 'yap' packaging is maintained in the 'Git' version control system at: git://git.debian.org/git/collab-maint/yap.git Need to get 5509 kB of source archives. Get:1 http://localhost:9999/debian/ unstable/main yap 6.2.2-1 (dsc) [1252 B] Get:2 http://localhost:9999/debian/ unstable/main yap 6.2.2-1 (tar) [5500 kB] Get:3 http://localhost:9999/debian/ unstable/main yap 6.2.2-1 (diff) [8059 B] Fetched 5509 kB in 0s (10.4 MB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/switch-to-clang ──────────────────── + echo 'Entering customization script...' Entering customization script... + echo 'Install of clang' Install of clang + apt-get update Hit http://localhost:9999 unstable InRelease Hit http://localhost:9999 unstable/main Sources/DiffIndex Hit http://localhost:9999 unstable/main amd64 Packages/DiffIndex Hit http://localhost:9999 unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.3 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-3.3-dev libclang1-3.3 libffi6 libllvm3.3 libobjc-4.7-dev libobjc4 libstdc++6-4.7-dev Suggested packages: libstdc++6-4.7-doc Recommended packages: llvm-3.3-dev python The following NEW packages will be installed: clang-3.3 libclang-common-3.3-dev libclang1-3.3 libffi6 libllvm3.3 libobjc-4.7-dev libobjc4 libstdc++6-4.7-dev 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 27.2 MB of archives. After this operation, 80.8 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.0.13-4 [21.6 kB] Get:2 http://localhost:9999/debian/ unstable/main libllvm3.3 amd64 1:3.3-3 [8575 kB] Get:3 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.8.1-6 [160 kB] Get:4 http://localhost:9999/debian/ unstable/main libstdc++6-4.7-dev amd64 4.7.3-5 [1695 kB] Get:5 http://localhost:9999/debian/ unstable/main libobjc-4.7-dev amd64 4.7.3-5 [719 kB] Get:6 http://localhost:9999/debian/ unstable/main libclang-common-3.3-dev amd64 1:3.3-3 [574 kB] Get:7 http://localhost:9999/debian/ unstable/main libclang1-3.3 amd64 1:3.3-3 [4579 kB] Get:8 http://localhost:9999/debian/ unstable/main clang-3.3 amd64 1:3.3-3 [10.9 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 27.2 MB in 1s (25.6 MB/s) Selecting previously unselected package libffi6:amd64. (Reading database ... 13843 files and directories currently installed.) Unpacking libffi6:amd64 (from .../libffi6_3.0.13-4_amd64.deb) ... Selecting previously unselected package libllvm3.3:amd64. Unpacking libllvm3.3:amd64 (from .../libllvm3.3_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package libobjc4:amd64. Unpacking libobjc4:amd64 (from .../libobjc4_4.8.1-6_amd64.deb) ... Selecting previously unselected package libstdc++6-4.7-dev:amd64. Unpacking libstdc++6-4.7-dev:amd64 (from .../libstdc++6-4.7-dev_4.7.3-5_amd64.deb) ... Selecting previously unselected package libobjc-4.7-dev:amd64. Unpacking libobjc-4.7-dev:amd64 (from .../libobjc-4.7-dev_4.7.3-5_amd64.deb) ... Selecting previously unselected package libclang-common-3.3-dev. Unpacking libclang-common-3.3-dev (from .../libclang-common-3.3-dev_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package libclang1-3.3. Unpacking libclang1-3.3 (from .../libclang1-3.3_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package clang-3.3. Unpacking clang-3.3 (from .../clang-3.3_1%3a3.3-3_amd64.deb) ... Setting up libffi6:amd64 (3.0.13-4) ... Setting up libllvm3.3:amd64 (1:3.3-3) ... Setting up libobjc4:amd64 (4.8.1-6) ... Setting up libstdc++6-4.7-dev:amd64 (4.7.3-5) ... Setting up libobjc-4.7-dev:amd64 (4.7.3-5) ... Setting up libclang-common-3.3-dev (1:3.3-3) ... Setting up libclang1-3.3 (1:3.3-3) ... Setting up clang-3.3 (1:3.3-3) ... Processing triggers for libc-bin ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8' + cd /usr/bin + for VERSION in '$VERSIONS' + rm -f g++-4.6 gcc-4.6 cpp-4.6 + ln -s clang++ g++-4.6 + ln -s clang gcc-4.6 + ln -s clang cpp-4.6 + for VERSION in '$VERSIONS' + rm -f g++-4.7 gcc-4.7 cpp-4.7 + ln -s clang++ g++-4.7 + ln -s clang gcc-4.7 + ln -s clang cpp-4.7 + for VERSION in '$VERSIONS' + rm -f g++-4.8 gcc-4.8 cpp-4.8 + ln -s clang++ g++-4.8 + ln -s clang gcc-4.8 + ln -s clang cpp-4.8 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + dpkg --set-selections + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'cpp-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'cpp-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + dpkg --set-selections + echo 'gcc-4.8 hold' + dpkg --set-selections + echo 'cpp-4.8 hold' + dpkg --set-selections + echo 'g++-4.8 hold' + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + grep clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version I: Finished running '/tmp/switch-to-clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-GmhDl3/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/708 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14698 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 5), autotools-dev, libreadline-dev, libncurses-dev, texinfo, texi2html, chrpath Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 5), autotools-dev, libreadline-dev, libncurses-dev, texinfo, texi2html, chrpath dpkg-deb: building package `sbuild-build-depends-yap-dummy' in `/«BUILDDIR»/resolver-S_zl1F/apt_archive/sbuild-build-depends-yap-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install yap build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: autotools-dev bsdmainutils chrpath debhelper file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libintl-perl libmagic1 libncurses5-dev libpipeline1 libreadline-dev libreadline6-dev libtext-unidecode-perl libtinfo-dev libunistring0 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 man-db po-debconf texi2html texinfo Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff libintl-xs-perl ncurses-doc less www-browser libmail-box-perl latex2html texlive-base texlive-latex-base texlive-generic-recommended texinfo-doc-nonfree Recommended packages: curl wget lynx-cur autopoint libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info libxml-sax-expat-perl xml-core libmail-sendmail-perl The following NEW packages will be installed: autotools-dev bsdmainutils chrpath debhelper file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libintl-perl libmagic1 libncurses5-dev libpipeline1 libreadline-dev libreadline6-dev libtext-unidecode-perl libtinfo-dev libunistring0 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 man-db po-debconf sbuild-build-depends-yap-dummy texi2html texinfo 0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 13.2 MB/13.2 MB of archives. After this operation, 40.4 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.2.4-1 [41.0 kB] Get:2 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.2-3 [747 kB] Get:3 http://localhost:9999/debian/ unstable/main bsdmainutils amd64 9.0.5 [211 kB] Get:4 http://localhost:9999/debian/ unstable/main man-db amd64 2.6.5-2 [976 kB] Get:5 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.18.2.1-1 [28.9 kB] Get:6 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.14-2 [216 kB] Get:7 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.1+dfsg1-2 [911 kB] Get:8 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.36.3-3 [2048 kB] Get:9 http://localhost:9999/debian/ unstable/main libcroco3 amd64 0.6.8-2 [133 kB] Get:10 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:11 http://localhost:9999/debian/ unstable/main file amd64 1:5.14-2 [54.0 kB] Get:12 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.18.2.1-1 [156 kB] Get:13 http://localhost:9999/debian/ unstable/main libtext-unidecode-perl all 0.04-2 [115 kB] Get:14 http://localhost:9999/debian/ unstable/main libintl-perl all 1.23-1 [1209 kB] Get:15 http://localhost:9999/debian/ unstable/main libxml-namespacesupport-perl all 1.09-3 [15.3 kB] Get:16 http://localhost:9999/debian/ unstable/main libxml-sax-base-perl all 1.07-1 [23.1 kB] Get:17 http://localhost:9999/debian/ unstable/main libxml-sax-perl all 0.99+dfsg-2 [68.3 kB] Get:18 http://localhost:9999/debian/ unstable/main libxml-libxml-perl amd64 2.0010+dfsg-1 [412 kB] Get:19 http://localhost:9999/debian/ unstable/main texinfo amd64 5.1.dfsg.1-4 [1350 kB] Get:20 http://localhost:9999/debian/ unstable/main autotools-dev all 20130515.1 [73.0 kB] Get:21 http://localhost:9999/debian/ unstable/main chrpath amd64 0.14-2 [17.1 kB] Get:22 http://localhost:9999/debian/ unstable/main gettext amd64 0.18.2.1-1 [2019 kB] Get:23 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:24 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:25 http://localhost:9999/debian/ unstable/main debhelper all 9.20130630 [710 kB] Get:26 http://localhost:9999/debian/ unstable/main libtinfo-dev amd64 5.9+20130608-1 [108 kB] Get:27 http://localhost:9999/debian/ unstable/main libncurses5-dev amd64 5.9+20130608-1 [222 kB] Get:28 http://localhost:9999/debian/ unstable/main libreadline6-dev amd64 6.2+dfsg-0.1 [193 kB] Get:29 http://localhost:9999/debian/ unstable/main libreadline-dev amd64 6.2+dfsg-0.1 [896 B] Get:30 http://localhost:9999/debian/ unstable/main texi2html all 1.82+dfsg1-3 [449 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 13.2 MB in 0s (19.1 MB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 14698 files and directories currently installed.) Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.4-1_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.22.2-3_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.5_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.5-2_amd64.deb) ... Selecting previously unselected package libasprintf0c2:amd64. Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.2.1-1_amd64.deb) ... Selecting previously unselected package libmagic1:amd64. Unpacking libmagic1:amd64 (from .../libmagic1_1%3a5.14-2_amd64.deb) ... Selecting previously unselected package libxml2:amd64. Unpacking libxml2:amd64 (from .../libxml2_2.9.1+dfsg1-2_amd64.deb) ... Selecting previously unselected package libglib2.0-0:amd64. Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.36.3-3_amd64.deb) ... Selecting previously unselected package libcroco3:amd64. Unpacking libcroco3:amd64 (from .../libcroco3_0.6.8-2_amd64.deb) ... Selecting previously unselected package libunistring0:amd64. Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../file_1%3a5.14-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.2.1-1_amd64.deb) ... Selecting previously unselected package libtext-unidecode-perl. Unpacking libtext-unidecode-perl (from .../libtext-unidecode-perl_0.04-2_all.deb) ... Selecting previously unselected package libintl-perl. Unpacking libintl-perl (from .../libintl-perl_1.23-1_all.deb) ... Selecting previously unselected package libxml-namespacesupport-perl. Unpacking libxml-namespacesupport-perl (from .../libxml-namespacesupport-perl_1.09-3_all.deb) ... Selecting previously unselected package libxml-sax-base-perl. Unpacking libxml-sax-base-perl (from .../libxml-sax-base-perl_1.07-1_all.deb) ... Selecting previously unselected package libxml-sax-perl. Unpacking libxml-sax-perl (from .../libxml-sax-perl_0.99+dfsg-2_all.deb) ... Selecting previously unselected package libxml-libxml-perl. Unpacking libxml-libxml-perl (from .../libxml-libxml-perl_2.0010+dfsg-1_amd64.deb) ... Selecting previously unselected package texinfo. Unpacking texinfo (from .../texinfo_5.1.dfsg.1-4_amd64.deb) ... Selecting previously unselected package autotools-dev. Unpacking autotools-dev (from .../autotools-dev_20130515.1_all.deb) ... Selecting previously unselected package chrpath. Unpacking chrpath (from .../chrpath_0.14-2_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.2.1-1_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20130630_all.deb) ... Selecting previously unselected package libtinfo-dev:amd64. Unpacking libtinfo-dev:amd64 (from .../libtinfo-dev_5.9+20130608-1_amd64.deb) ... Selecting previously unselected package libncurses5-dev:amd64. Unpacking libncurses5-dev:amd64 (from .../libncurses5-dev_5.9+20130608-1_amd64.deb) ... Selecting previously unselected package libreadline6-dev:amd64. Unpacking libreadline6-dev:amd64 (from .../libreadline6-dev_6.2+dfsg-0.1_amd64.deb) ... Selecting previously unselected package libreadline-dev:amd64. Unpacking libreadline-dev:amd64 (from .../libreadline-dev_6.2+dfsg-0.1_amd64.deb) ... Selecting previously unselected package texi2html. Unpacking texi2html (from .../texi2html_1.82+dfsg1-3_all.deb) ... Selecting previously unselected package sbuild-build-depends-yap-dummy. Unpacking sbuild-build-depends-yap-dummy (from .../sbuild-build-depends-yap-dummy.deb) ... Setting up libpipeline1:amd64 (1.2.4-1) ... Setting up groff-base (1.22.2-3) ... Setting up bsdmainutils (9.0.5) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up man-db (2.6.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.18.2.1-1) ... Setting up libmagic1:amd64 (1:5.14-2) ... Setting up libxml2:amd64 (2.9.1+dfsg1-2) ... Setting up libglib2.0-0:amd64 (2.36.3-3) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-2) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up file (1:5.14-2) ... Setting up gettext-base (0.18.2.1-1) ... Setting up libtext-unidecode-perl (0.04-2) ... Setting up libintl-perl (1.23-1) ... Setting up libxml-namespacesupport-perl (1.09-3) ... Setting up libxml-sax-base-perl (1.07-1) ... Setting up libxml-sax-perl (0.99+dfsg-2) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libxml-libxml-perl (2.0010+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up texinfo (5.1.dfsg.1-4) ... Setting up autotools-dev (20130515.1) ... Setting up chrpath (0.14-2) ... Setting up gettext (0.18.2.1-1) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20130630) ... Setting up libtinfo-dev:amd64 (5.9+20130608-1) ... Setting up libncurses5-dev:amd64 (5.9+20130608-1) ... Setting up libreadline6-dev:amd64 (6.2+dfsg-0.1) ... Setting up libreadline-dev:amd64 (6.2+dfsg-0.1) ... Setting up texi2html (1.82+dfsg1-3) ... Setting up sbuild-build-depends-yap-dummy (0.invalid.0) ... Processing triggers for libc-bin ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.23.52.20130620-1 dpkg-dev_1.16.10 g++-4.6_4.6.4-4 g++-4.8_4.8.1-6 gcc-4.6_4.6.4-4 gcc-4.7_4.7.3-5 gcc-4.8_4.8.1-6 libc6-dev_2.17-7 libstdc++-4.8-dev_4.8.1-6 libstdc++6_4.8.1-6 libstdc++6-4.6-dev_4.6.4-4 libstdc++6-4.7-dev_4.7.3-5 linux-libc-dev_3.9.8-1 Package versions: apt_0.9.9.1 autotools-dev_20130515.1 base-files_7.2 base-passwd_3.5.26 bash_4.2+dfsg-1 binutils_2.23.52.20130620-1 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.5 build-essential_11.6 bzip2_1.0.6-4 chrpath_0.14-2 clang-3.3_1:3.3-3 coreutils_8.20-3 cpp_4:4.8.1-2 cpp-4.6_4.6.4-4 cpp-4.7_4.7.3-5 cpp-4.8_4.8.1-6 dash_0.5.7-3 debconf_1.5.50 debconf-i18n_1.5.50 debfoster_2.7-1.2 debhelper_9.20130630 debian-archive-keyring_2012.4 debianutils_4.3.4 diffutils_1:3.2-8 dpkg_1.16.10 dpkg-dev_1.16.10 e2fslibs_1.42.8-1 e2fsprogs_1.42.8-1 fakeroot_1.19-2 file_1:5.14-2 findutils_4.4.2-6 g++_4:4.8.1-2 g++-4.6_4.6.4-4 g++-4.8_4.8.1-6 gcc_4:4.8.1-2 gcc-4.4-base_4.4.7-4 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.4-4 gcc-4.6-base_4.6.4-4 gcc-4.7_4.7.3-5 gcc-4.7-base_4.7.3-5 gcc-4.8_4.8.1-6 gcc-4.8-base_4.8.1-6 gettext_0.18.2.1-1 gettext-base_0.18.2.1-1 gnupg_1.4.12-7 gpgv_1.4.12-7 grep_2.14-2 groff-base_1.22.2-3 gzip_1.6-1 hostname_3.13 initscripts_2.88dsf-42 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.52-1 libapt-pkg4.12_0.9.9.1 libasan0_4.8.1-6 libasprintf0c2_0.18.2.1-1 libatomic1_4.8.1-6 libattr1_1:2.4.47-1 libblkid1_2.20.1-5.5 libbz2-1.0_1.0.6-4 libc-bin_2.17-7 libc-dev-bin_2.17-7 libc6_2.17-7 libc6-dev_2.17-7 libcap2_1:2.22-1.2 libclang-common-3.3-dev_1:3.3-3 libclang1-3.3_1:3.3-3 libclass-isa-perl_0.36-5 libcloog-isl4_0.18.0-2 libcloog-ppl1_0.16.1-3 libcomerr2_1.42.8-1 libcroco3_0.6.8-2 libdb5.1_5.1.29-6 libdpkg-perl_1.16.10 libffi6_3.0.13-4 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.2d-5 libgcc-4.7-dev_4.7.3-5 libgcc-4.8-dev_4.8.1-6 libgcc1_1:4.8.1-6 libgdbm3_1.8.3-12 libglib2.0-0_2.36.3-3 libgmp10_2:5.1.2+dfsg-2 libgmpxx4ldbl_2:5.1.2+dfsg-2 libgomp1_4.8.1-6 libgpm2_1.20.4-6.1 libintl-perl_1.23-1 libisl10_0.11.2-1 libitm1_4.8.1-6 libllvm3.3_1:3.3-3 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.14-2 libmount1_2.20.1-5.5 libmpc2_0.9-4 libmpc3_1.0.1-1 libmpfr4_3.1.1-1 libncurses5_5.9+20130608-1 libncurses5-dev_5.9+20130608-1 libobjc-4.7-dev_4.7.3-5 libobjc4_4.8.1-6 libpam-modules_1.1.3-9 libpam-modules-bin_1.1.3-9 libpam-runtime_1.1.3-9 libpam0g_1.1.3-9 libpcre3_1:8.31-2 libpipeline1_1.2.4-1 libppl-c4_1:1.0-7 libppl12_1:1.0-7 libquadmath0_4.8.1-6 libreadline-dev_6.2+dfsg-0.1 libreadline6_6.2+dfsg-0.1 libreadline6-dev_6.2+dfsg-0.1 libselinux1_2.1.13-2 libsemanage-common_2.1.10-2 libsemanage1_2.1.10-2 libsepol1_2.1.9-2 libslang2_2.2.4-15 libss2_1.42.8-1 libstdc++-4.8-dev_4.8.1-6 libstdc++6_4.8.1-6 libstdc++6-4.6-dev_4.6.4-4 libstdc++6-4.7-dev_4.7.3-5 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-unidecode-perl_0.04-2 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo-dev_5.9+20130608-1 libtinfo5_5.9+20130608-1 libtsan0_4.8.1-6 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23.2 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.5 libxml-libxml-perl_2.0010+dfsg-1 libxml-namespacesupport-perl_1.09-3 libxml-sax-base-perl_1.07-1 libxml-sax-perl_0.99+dfsg-2 libxml2_2.9.1+dfsg1-2 linux-libc-dev_3.9.8-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian12 make_3.81-8.2 man-db_2.6.5-2 mawk_1.3.3-17 mount_2.20.1-5.5 multiarch-support_2.17-7 ncurses-base_5.9+20130608-1 ncurses-bin_5.9+20130608-1 passwd_1:4.1.5.1-1 patch_2.7.1-3 perl_5.14.2-21 perl-base_5.14.2-21 perl-modules_5.14.2-21 po-debconf_1.0.16+nmu2 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-yap-dummy_0.invalid.0 sed_4.2.2-1 sensible-utils_0.0.9 sudo_1.8.5p2-1+nmu1 sysv-rc_2.88dsf-42 sysvinit_2.88dsf-42 sysvinit-utils_2.88dsf-42 tar_1.26+dfsg-6 texi2html_1.82+dfsg1-3 texinfo_5.1.dfsg.1-4 tzdata_2013c-2 ucf_3.0027+nmu1 util-linux_2.20.1-5.5 vim_2:7.3.923-3 vim-common_2:7.3.923-3 vim-runtime_2:7.3.923-3 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-1 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Fri Jun 14 20:22:58 2013 UTC using DSA key ID E0BA04C1 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./yap_6.2.2-1.dsc dpkg-source: info: extracting yap in yap-6.2.2 dpkg-source: info: unpacking yap_6.2.2.orig.tar.gz dpkg-source: info: unpacking yap_6.2.2-1.debian.tar.gz dpkg-source: info: applying 02_pillow-info dpkg-source: info: applying 03_include-stdlib dpkg-source: info: applying 04_clpr_docu dpkg-source: info: applying yap-texinfo dpkg-source: info: applying tai-ldflags Check disc space ──────────────── Sufficient free space for build Hack binNMU version ─────────────────── Created changelog entry for binNMU version 6.2.2-1clang1 User Environment ──────────────── HOME=/sbuild-nonexistent LOGNAME=user PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-c2bca170-33b6-4b83-823b-7136fafe52fa SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package yap dpkg-buildpackage: source version 6.2.2-1clang1 dpkg-source --before-build yap-6.2.2 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot [ ! -h config.guess ] || mv config.guess.upstream config.guess [ ! -h config.sub ] || mv config.sub.upstream config.sub rm -f build-stamp config-stamp ! [ -d arch ] || rm -r arch dh_clean debian/rules build-arch dh_testdir mkdir arch [ -h config.guess ] || { mv config.guess config.guess.upstream; \ ln -s /usr/share/misc/config.guess; } [ -h config.sub ] || { mv config.sub config.sub.upstream; \ ln -s /usr/share/misc/config.sub; } cd arch && \ ../configure --host=x86_64-linux-gnu \ --build=x86_64-linux-gnu \ --prefix=/usr \ --mandir=\${prefix}/share/man \ --infodir=\${prefix}/share/info \ CFLAGS="" LDFLAGS="-Wl,-z,relro" checking for x86_64-linux-gnu-gcc... x86_64-linux-gnu-gcc 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 x86_64-linux-gnu-gcc accepts -g... yes checking for x86_64-linux-gnu-gcc option to accept ISO C89... none needed checking for x86_64-linux-gnu-g++... x86_64-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-linux-gnu-g++ accepts -g... yes checking for gawk... no checking for mawk... mawk checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-linux-gnu-indent... no checking for indent... no checking for x86_64-linux-gnu-ar... no checking for ar... ar checking for x86_64-linux-gnu-mpicc... no checking for mpicc... no checking for install-info... /usr/sbin/install-info checking for sh... /bin/bash 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... yes checking for main in -lcrypt... yes checking for main in -lnss_files... yes checking for main in -lnss_dns... yes checking for main in -lresolv... yes checking for main in -lreadline... yes checking for main in -lgmp... no checking for zlibVersion in -lz... no checking for main in -lmysqlclient... no checking for main in -lodbc... no checking how to run the C preprocessor... x86_64-linux-gnu-gcc -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for restartable system calls... yes checking for dlopen in -ldl... yes checking for zlibVersion in -lz... (cached) no ################################################################## # ERROR: Could not find library zlib (-lz). Dropped library(zlib) # Library zlib is available from http://www.zlib.net/ # Most Unix/Linux distributions are shipped with binaries. Make # sure to have the development library installed. ################################################################## checking for main in -llam... no checking for ANSI C header files... no checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking fpu_control.h usability... yes checking fpu_control.h presence... yes checking for fpu_control.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking io.h usability... no checking io.h presence... no checking for io.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking memory.h usability... yes checking memory.h presence... yes checking for memory.h... 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 netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... 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 signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking string.h usability... yes checking string.h presence... yes checking for string.h... yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking sys/conf.h usability... no checking sys/conf.h presence... no checking for sys/conf.h... no checking sys/dir.h usability... yes checking sys/dir.h presence... yes checking for sys/dir.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/stat.h usability... yes checking sys/stat.h presence... yes checking for sys/stat.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/types.h usability... yes checking sys/types.h presence... yes checking for sys/types.h... yes checking sys/ucontext.h usability... yes checking sys/ucontext.h presence... yes checking for sys/ucontext.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for sys/wait.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking unistd.h usability... yes checking unistd.h presence... yes checking for unistd.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... 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 zlib.h usability... no checking zlib.h presence... no checking for zlib.h... no 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... no checking gmp.h presence... no checking for gmp.h... no checking mysql/mysql.h usability... no checking mysql/mysql.h presence... no checking for mysql/mysql.h... no 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... yes 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... no checking for asinh... yes checking for atanh... yes checking for chdir... yes checking for ctime... yes checking for dlopen... yes checking for dup2... 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... yes checking for getcwd... yes checking for getenv... yes checking for gethostbyname... yes checking for gethostent... yes checking for gethostid... yes checking for gethostname... yes checking for gethrtime... no checking for getpagesize... yes checking for getpwnam... yes checking for getrlimit... yes checking for getrusage... yes checking for gettimeofday... yes checking for getwd... yes checking for isatty... yes checking for isnan... yes checking for isinf... yes checking for kill... yes checking for labs... yes checking for link... yes checking for lgamma... yes checking for localtime... yes checking for lstat... yes checking for mallinfo... yes checking for mbsnrtowcs... yes checking for memcpy... yes checking for memmove... yes checking for mkstemp... yes checking for mktemp... yes checking for nanosleep... yes checking for mktime... yes checking for opendir... yes checking for putenv... yes checking for rand... yes checking for random... yes checking for readlink... yes checking for regexec... yes checking for rename... yes checking for rint... yes checking for rl_set_prompt... yes checking for sbrk... yes checking for select... yes checking for setbuf... yes checking for setitimer... yes checking for setsid... yes checking for setlinebuf... yes checking for sigaction... yes checking for siggetmask... yes checking for siginterrupt... yes checking for signal... yes checking for sigprocmask... yes checking for socket... yes checking for stat... yes checking for strchr... yes checking for strerror... yes checking for stricmp... no checking for strncat... yes checking for strncpy... yes checking for strtod... yes checking for time... yes checking for times... yes checking for tmpnam... yes checking for usleep... yes checking for utime... yes checking for vsnprintf... yes checking for regexec... (cached) yes checking for NSLinkModule... no checking for alarm... yes checking for mmap... yes checking for popen... yes checking for shmat... yes checking for sleep... yes checking for system... yes checking for ttyname... yes checking for waitpid... yes checking for fetestexcept... yes checking for snprintf... yes checking for mpz_xor... no checking if fflush(NULL) clobbers input pipes... no no checking for pthread_create in -lpthread... yes checking for crypt in -lcrypt... yes checking for crypt... yes checking for socklen_t... yes checking for ssize_t... 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 touch config-stamp dh_testdir cd arch && make && make info html make[1]: Entering directory `/«PKGBUILDDIR»/arch' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS -I../include ../console/yap.c -o yap.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/agc.c -o agc.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/absmi.c -o absmi.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/adtdefs.c -o adtdefs.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/alloc.c -o alloc.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/amasm.c -o amasm.o ../C/amasm.c:486:5: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] cip->cpc->rnd4 = (CELL)code_p; ^ ~~~~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/amasm.c:491:25: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] code_p->u.Ills.s = cip->cpc->rnd3; ^ ~~~~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/amasm.c:1534:27: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] code_p->u.Osbmp.mod = cip->cpc->rnd4; ^ ~~~~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/amasm.c:1538:40: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] code_p->u.Osbpp.bmap = emit_bmlabel(cip->cpc->arnds[1], cip); ^ ~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/amasm.c:1569:38: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] code_p->u.Osbpp.bmap = emit_bmlabel(cip->cpc->arnds[1], cip); ^ ~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/amasm.c:1806:7: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] if (cpc->arnds[1] != ncpc->rnd1) ^ ~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/amasm.c:1823:22: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] if (if_table[3] != cpc->arnds[2]) ^ ~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/amasm.c:2186:41: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] code_p->u.Osblp.bmap = emit_bmlabel(cip->cpc->arnds[1], cip); ^ ~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/amasm.c:2947:30: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] UInt lab_val = cip->cpc->rnd3; ^ ~~~~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ 9 warnings generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/analyst.c -o analyst.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/arrays.c -o arrays.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/arith0.c -o arith0.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/arith1.c -o arith1.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/arith2.c -o arith2.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/attvar.c -o attvar.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/bignum.c -o bignum.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/bb.c -o bb.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/cdmgr.c -o cdmgr.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/cmppreds.c -o cmppreds.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/compiler.c -o compiler.o ../C/compiler.c:2193:7: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] pc->ops.opseqt[1] = (CELL)EnvTmps; ^ ~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/compiler.c:2441:7: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] pc->ops.opseqt[1] = (CELL)cglobs->labelno; ^ ~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/compiler.c:2448:7: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] pc->ops.opseqt[1] = (CELL)cglobs->labelno; ^ ~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/compiler.c:2456:7: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] pc->ops.opseqt[1] = (CELL)cglobs->labelno; ^ ~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/compiler.c:2480:7: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] pc->ops.opseqt[1] = (CELL)cglobs->labelno; ^ ~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/compiler.c:3026:2: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] cglobs->cint.cpc->ops.opseqt[1] = max; ^ ~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ 6 warnings generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/computils.c -o computils.o ../C/computils.c:261:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] p->rnd3 = r3; ^ ~~~~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/computils.c:280:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] p->rnd3 = r3; ^ ~~~~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/computils.c:281:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] p->rnd4 = r4; ^ ~~~~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ 3 warnings generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/corout.c -o corout.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/cut_c.c -o cut_c.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/dbase.c -o dbase.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/dlmalloc.c -o dlmalloc.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/errors.c -o errors.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/eval.c -o eval.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/exec.c -o exec.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/globals.c -o globals.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/gmp_support.c -o gmp_support.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/gprof.c -o gprof.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/grow.c -o grow.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/heapgc.c -o heapgc.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/index.c -o index.o ../C/index.c:559:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] if (cpc->rnd4) { ^ ~~~~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ ../C/index.c:573:7: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] cpc->rnd4 = Zero; ^ ~~~~ ../H/compile.h:212:6: note: array 'opseqt' declared here CELL opseqt[1]; ^ 2 warnings generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/init.c -o init.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/inlines.c -o inlines.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/iopreds.c -o iopreds.o ../C/iopreds.c:2770:2: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] ta[1] = MkAtomTerm(AtomTrue); ^ ~ ../C/iopreds.c:2743:2: note: array 'ta' declared here Term ta[1], t; ^ ../C/iopreds.c:4256:17: warning: comparison of constant 108 with expression of type 'enum TokenKinds' is always false [-Wtautological-constant-out-of-range-compare] if (Ord (info) == 'l') { ~~~~~~~~~~ ^ ~~~ 2 warnings generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/depth_bound.c -o depth_bound.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/mavar.c -o mavar.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../MYDDAS/myddas_mysql.c -o myddas_mysql.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../MYDDAS/myddas_odbc.c -o myddas_odbc.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../MYDDAS/myddas_shared.c -o myddas_shared.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../MYDDAS/myddas_initialization.c -o myddas_initialization.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../MYDDAS/myddas_util.c -o myddas_util.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../MYDDAS/myddas_statistics.c -o myddas_statistics.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../MYDDAS/myddas_top_level.c -o myddas_top_level.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../MYDDAS/myddas_wkb2prolog.c -o myddas_wkb2prolog.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/modules.c -o modules.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/other.c -o other.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/parser.c -o parser.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/readutil.c -o readutil.o ../C/readutil.c:70:11: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] if (sz-2 >= 0 && buf[sz-2] == 13) ~~~~ ^ ~ 1 warning generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/save.c -o save.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/scanner.c -o scanner.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/sort.c -o sort.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/stdpreds.c -o stdpreds.o ../C/stdpreds.c:1780:35: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if ((len = IntegerOfTerm(t2)) < 0) { ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ ../C/stdpreds.c:1843:29: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if ((len = IntOfTerm(t2)) < 0) { ~~~~~~~~~~~~~~~~~~~~~ ^ ~ 2 warnings generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/sysbits.c -o sysbits.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/threads.c -o threads.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/tracer.c -o tracer.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS -I../include ../C/udi.c -o udi.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS -I../include ../packages/udi/rtree.c -o rtree.o ../packages/udi/rtree.c:407:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS -I../include ../packages/udi/rtree_udi.c -o rtree_udi.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/unify.c -o unify.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/userpreds.c -o userpreds.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/utilpreds.c -o utilpreds.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/write.c -o write.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -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 x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -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 x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/ypsocks.c -o ypsocks.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/ypstdio.c -o ypstdio.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/load_foreign.c -o load_foreign.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/load_dl.c -o load_dl.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/load_dld.c -o load_dld.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/load_dyld.c -o load_dyld.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/load_none.c -o load_none.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/load_aout.c -o load_aout.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/load_aix.c -o load_aix.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/load_dll.c -o load_dll.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../C/load_shl.c -o load_shl.o x86_64-linux-gnu-gcc -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS -I../include -c ../C/c_interface.c -o c_interface.o x86_64-linux-gnu-gcc -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS -I../include -c ../C/clause_list.c -o clause_list.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../OPTYap/opt.memory.c -o opt.memory.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../OPTYap/opt.init.c -o opt.init.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../OPTYap/opt.preds.c -o opt.preds.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../OPTYap/or.engine.c -o or.engine.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../OPTYap/or.cowengine.c -o or.cowengine.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../OPTYap/or.sbaengine.c -o or.sbaengine.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../OPTYap/or.threadengine.c -o or.threadengine.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../OPTYap/or.scheduler.c -o or.scheduler.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../OPTYap/or.cut.c -o or.cut.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../OPTYap/tab.tries.c -o tab.tries.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../OPTYap/tab.completion.c -o tab.completion.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../BEAM/eamamasm.c -o eamamasm.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../BEAM/eam_showcode.c -o eam_showcode.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../BEAM/eamindex.c -o eamindex.o x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS ../BEAM/eam_am.c -o eam_am.o rm -f libYap.a ar rc libYap.a agc.o absmi.o adtdefs.o alloc.o amasm.o analyst.o arrays.o arith0.o arith1.o arith2.o attvar.o bignum.o bb.o cdmgr.o cmppreds.o compiler.o computils.o corout.o cut_c.o dbase.o dlmalloc.o errors.o eval.o exec.o 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 x86_64-linux-gnu-gcc -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCUT_C=1 -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I../H -I../OPTYap -I../BEAM -I../MYDDAS -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o yap yap.o libYap.a -lresolv -lnss_dns -lnss_files -lcrypt -lstdc++ -lm -lreadline -lncurses -ldl -lnsl rm -f startup.yss echo "bootstrap('../pl/init.yap'). module(user). save_program('startup.yss')." | ./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 4 msecs % consulting /«PKGBUILDDIR»/pl/utils.yap % /«PKGBUILDDIR»/pl/utils.yap consulted 89104 bytes in 4 msecs % consulting /«PKGBUILDDIR»/pl/control.yap % /«PKGBUILDDIR»/pl/control.yap consulted 35744 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/arith.yap % /«PKGBUILDDIR»/pl/arith.yap consulted 47712 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/directives.yap % /«PKGBUILDDIR»/pl/directives.yap consulted 22720 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/flags.yap % /«PKGBUILDDIR»/pl/flags.yap consulted 129920 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/lists.yap % /«PKGBUILDDIR»/pl/lists.yap consulted 1312 bytes in 4 msecs % consulting /«PKGBUILDDIR»/pl/yio.yap % /«PKGBUILDDIR»/pl/yio.yap consulted 169088 bytes in 8 msecs % consulting /«PKGBUILDDIR»/pl/debug.yap % /«PKGBUILDDIR»/pl/debug.yap consulted 115760 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/checker.yap % /«PKGBUILDDIR»/pl/checker.yap consulted 30448 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/depth_bound.yap % /«PKGBUILDDIR»/pl/depth_bound.yap consulted 400 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/grammar.yap % /«PKGBUILDDIR»/pl/grammar.yap consulted 17792 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/ground.yap % /«PKGBUILDDIR»/pl/ground.yap consulted 1776 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/listing.yap % /«PKGBUILDDIR»/pl/listing.yap consulted 22352 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/preds.yap % /«PKGBUILDDIR»/pl/preds.yap consulted 125936 bytes in 8 msecs % consulting /«PKGBUILDDIR»/pl/modules.yap % /«PKGBUILDDIR»/pl/modules.yap consulted 157248 bytes in 4 msecs % consulting /«PKGBUILDDIR»/pl/eval.yap % /«PKGBUILDDIR»/pl/eval.yap consulted 19296 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/signals.yap % /«PKGBUILDDIR»/pl/signals.yap consulted 30320 bytes in 4 msecs % consulting /«PKGBUILDDIR»/pl/profile.yap % /«PKGBUILDDIR»/pl/profile.yap consulted 20512 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/callcount.yap % /«PKGBUILDDIR»/pl/callcount.yap consulted 2720 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/load_foreign.yap % /«PKGBUILDDIR»/pl/load_foreign.yap consulted 13648 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/save.yap % /«PKGBUILDDIR»/pl/save.yap consulted 5200 bytes in 4 msecs % consulting /«PKGBUILDDIR»/pl/sockets.yap % /«PKGBUILDDIR»/pl/sockets.yap consulted 9360 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/sort.yap % /«PKGBUILDDIR»/pl/sort.yap consulted 9424 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/setof.yap % /«PKGBUILDDIR»/pl/setof.yap consulted 24880 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/statistics.yap % /«PKGBUILDDIR»/pl/statistics.yap consulted 20960 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/strict_iso.yap % /«PKGBUILDDIR»/pl/strict_iso.yap consulted 25520 bytes in 4 msecs % consulting /«PKGBUILDDIR»/pl/tabling.yap % /«PKGBUILDDIR»/pl/tabling.yap consulted 35040 bytes in 4 msecs % consulting /«PKGBUILDDIR»/pl/threads.yap % /«PKGBUILDDIR»/pl/threads.yap consulted 136864 bytes in 8 msecs % consulting /«PKGBUILDDIR»/pl/eam.yap % /«PKGBUILDDIR»/pl/eam.yap consulted 9328 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/chtypes.yap % /«PKGBUILDDIR»/pl/chtypes.yap consulted 38576 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/yapor.yap % /«PKGBUILDDIR»/pl/yapor.yap consulted 20288 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/udi.yap % /«PKGBUILDDIR»/pl/udi.yap consulted 976 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/protect.yap % /«PKGBUILDDIR»/pl/protect.yap consulted 3376 bytes in 0 msecs % consulting /«PKGBUILDDIR»/pl/arrays.yap % /«PKGBUILDDIR»/pl/arrays.yap consulted 6736 bytes in 0 msecs % reconsulting /«PKGBUILDDIR»/pl/messages.yap % reconsulted /«PKGBUILDDIR»/pl/messages.yap in module $messages, 4 msec 95056 bytes % reconsulting /«PKGBUILDDIR»/pl/hacks.yap... % reconsulted /«PKGBUILDDIR»/pl/hacks.yap in module $hacks, 4 msec 32448 bytes % reconsulting /«PKGBUILDDIR»/pl/attributes.yap... % reconsulted /«PKGBUILDDIR»/pl/attributes.yap in module $attributes, 0 msec 30752 bytes % reconsulting /«PKGBUILDDIR»/pl/corout.yap... % reconsulted /«PKGBUILDDIR»/pl/corout.yap in module $coroutining, 0 msec 38704 bytes % reconsulting /«PKGBUILDDIR»/pl/dialect.yap... % reconsulted /«PKGBUILDDIR»/pl/dialect.yap in module dialect, 0 msec 8304 bytes % ../pl/init.yap consulted 1828176 bytes in 116 msecs yes yes yes (cd packages/PLStream; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/packages/PLStream' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-buffer.c -o pl-buffer.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-ctype.c -o pl-ctype.o clang: warning: argument unused during compilation: '-shared' In file included from ../../../packages/PLStream/pl-ctype.c:73: ../../../packages/PLStream/pl-umap.c:1626:1: warning: no previous prototype for function 'uflagsW' [-Wmissing-prototypes] uflagsW(int code) ^ 1 warning generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-error.c -o pl-error.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-file.c -o pl-file.o clang: warning: argument unused during compilation: '-shared' ../../../packages/PLStream/pl-file.c:1653:32: warning: shift count >= width of type [-Wshift-count-overflow] int n, max = 0, ret, min = 1 << (INTBITSIZE-2); ^ ~~~~~~~~~~~~~~ 1 warning generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-files.c -o pl-files.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-glob.c -o pl-glob.o clang: warning: argument unused during compilation: '-shared' ../../../packages/PLStream/pl-glob.c:394:1: warning: no previous prototype for function 'expand_str' [-Wmissing-prototypes] expand_str(GlobInfo info, int at) ^ ../../../packages/PLStream/pl-glob.c:402:1: warning: no previous prototype for function 'expand_entry' [-Wmissing-prototypes] expand_entry(GlobInfo info, int idx) ^ ../../../packages/PLStream/pl-glob.c:555:12: warning: implicit declaration of function 'mbscoll' is invalid in C99 [-Wimplicit-function-declaration] return mbscoll(s1, s2); ^ ../../../packages/PLStream/pl-glob.c:557:12: warning: implicit declaration of function 'mbscasecoll' is invalid in C99 [-Wimplicit-function-declaration] return mbscasecoll(s1, s2); ^ 4 warnings generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-os.c -o pl-os.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-privitf.c -o pl-privitf.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-stream.c -o pl-stream.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-string.c -o pl-string.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-table.c -o pl-table.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-text.c -o pl-text.o clang: warning: argument unused during compilation: '-shared' ../../../packages/PLStream/pl-text.c:219:12: warning: implicit declaration of function 'PL_write_term' is invalid in C99 [-Wimplicit-function-declaration] if ( PL_write_term(fd, l, 1200, 0) && ^ 1 warning generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-util.c -o pl-util.o clang: warning: argument unused during compilation: '-shared' ../../../packages/PLStream/pl-util.c:85:1: warning: no previous prototype for function 'mbscoll' [-Wmissing-prototypes] mbscoll(const char *s1, const char *s2) ^ ../../../packages/PLStream/pl-util.c:93:1: warning: no previous prototype for function 'mbscasecoll' [-Wmissing-prototypes] mbscasecoll(const char *s1, const char *s2) ^ 2 warnings generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-utf8.c -o pl-utf8.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/PLStream -I../.. -I../../../packages/PLStream/../../include ../../../packages/PLStream/pl-yap.c -o pl-yap.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -shared -export-dynamic -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -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 -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib clang: warning: argument unused during compilation: '-e xport-dynamic' make[2]: Leaving directory `/«PKGBUILDDIR»/arch/packages/PLStream' (cd library/lammpi; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/library/lammpi' YAP LAM/MPI module not compiled. make[2]: Leaving directory `/«PKGBUILDDIR»/arch/library/lammpi' (cd library/matrix; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/library/matrix' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -I../../../library/matrix -I../.. -I../../../library/matrix/../../include ../../../library/matrix/matrix.c -o matrix.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -shared -export-dynamic -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o matrix.so matrix.o -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib clang: warning: argument unused during compilation: '-e xport-dynamic' make[2]: Leaving directory `/«PKGBUILDDIR»/arch/library/matrix' (cd library/random; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/library/random' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -I../../../library/random -I../.. -I../../../library/random/../../include ../../../library/random/yap_random.c -o yap_random.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -shared -export-dynamic -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o yap_random.so yap_random.o -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib clang: warning: argument unused during compilation: '-e xport-dynamic' make[2]: Leaving directory `/«PKGBUILDDIR»/arch/library/random' (cd library/regex; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/library/regex' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -I../../../library/regex -I../.. -I../../../library/regex/../../include ../../../library/regex/regexp.c -o regexp.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -shared -export-dynamic -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o regexp.so regexp.o -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib # regcomp.o regerror.o regfree.o regexec.o clang: warning: argument unused during compilation: '-e xport-dynamic' make[2]: Leaving directory `/«PKGBUILDDIR»/arch/library/regex' (cd library/rltree; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/library/rltree' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -I../../../library/rltree -I../.. -I../../../library/rltree/../../include ../../../library/rltree/yap_rl.c -o yaprl.o clang: warning: argument unused during compilation: '-shared' ../../../library/rltree/yap_rl.c:428:6: warning: no previous prototype for function 'init_rl' [-Wmissing-prototypes] void init_rl(void){ ^ 1 warning generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -I../../../library/rltree -I../.. -I../../../library/rltree/../../include ../../../library/rltree/range_list.c -o range_list.o clang: warning: argument unused during compilation: '-shared' ../../../library/rltree/range_list.c:248:13: warning: unused function 'print_nodes' [-Wunused-function] static void print_nodes(RL_Tree* tree) { ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o yap_rl.so yaprl.o range_list.o -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib clang: warning: argument unused during compilation: '-e xport-dynamic' make[2]: Leaving directory `/«PKGBUILDDIR»/arch/library/rltree' (cd library/system; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/library/system' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -I../../../library/system -I../.. -I../../../library/system/../../include ../../../library/system/sys.c -o sys.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -shared -export-dynamic -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o sys.so sys.o -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib clang: warning: argument unused during compilation: '-e xport-dynamic' make[2]: Leaving directory `/«PKGBUILDDIR»/arch/library/system' (cd library/tries; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/library/tries' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -I../../../library/tries -I../.. -I../../../library/tries/../../include -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../library/tries/core_tries.c -o core_tries.o clang: warning: argument unused during compilation: '-shared' clang: warning: argument unused during compilation: '-shared' ../../../library/tries/core_tries.c:252:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] static int init_once = 1; ^ ../../../library/tries/core_tries.h:288:1: note: use 'static' to give inline function 'core_trie_init_module' internal linkage inline TrEngine core_trie_init_module(void); ^ static ../../../library/tries/core_tries.c:256:16: warning: static variable 'AUXILIARY_TERM_STACK' is used in an inline function with external linkage [-Wstatic-in-inline] new_struct(AUXILIARY_TERM_STACK, YAP_Term, BASE_AUXILIARY_TERM_STACK_SIZE * sizeof(YAP_Term)); ^ ../../../library/tries/core_tries.h:176:9: note: expanded from macro 'new_struct' STR = (STR_TYPE *) YAP_AllocSpaceFromYap(STR_SIZE) ^ ../../../library/tries/core_tries.h:288:1: note: use 'static' to give inline function 'core_trie_init_module' internal linkage inline TrEngine core_trie_init_module(void); ^ static ../../../library/tries/core_tries.c:54:18: note: 'AUXILIARY_TERM_STACK' declared here static YAP_Term *AUXILIARY_TERM_STACK; ^ ../../../library/tries/core_tries.c:272:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:264:26: note: expanded from macro 'INCREMENT_NODES' { TrEngine_nodes(TR_ENGINE)++; \ ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:272:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:265:30: note: expanded from macro 'INCREMENT_NODES' if (TrEngine_nodes(TR_ENGINE) > TrEngine_nodes_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:272:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:265:62: note: expanded from macro 'INCREMENT_NODES' if (TrEngine_nodes(TR_ENGINE) > TrEngine_nodes_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:82:35: note: expanded from macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:272:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:266:32: note: expanded from macro 'INCREMENT_NODES' TrEngine_nodes_max(TR_ENGINE) = TrEngine_nodes(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:82:35: note: expanded from macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:272:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:266:60: note: expanded from macro 'INCREMENT_NODES' TrEngine_nodes_max(TR_ENGINE) = TrEngine_nodes(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:272:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:272:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:272:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:272:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:272:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(node, 0, NULL, NULL, TrEngine_trie(engine), AS_TR_NODE_NEXT(&TrEngine_trie(engine))); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:276:19: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_TRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:254:26: note: expanded from macro 'INCREMENT_TRIES' { TrEngine_tries(TR_ENGINE)++; \ ^ ../../../library/tries/core_tries.h:76:35: note: expanded from macro 'TrEngine_tries' #define TrEngine_tries(X) ((X)->tries_in_use) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:276:19: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_TRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:255:30: note: expanded from macro 'INCREMENT_TRIES' if (TrEngine_tries(TR_ENGINE) > TrEngine_tries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:76:35: note: expanded from macro 'TrEngine_tries' #define TrEngine_tries(X) ((X)->tries_in_use) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:276:19: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_TRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:255:62: note: expanded from macro 'INCREMENT_TRIES' if (TrEngine_tries(TR_ENGINE) > TrEngine_tries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:80:35: note: expanded from macro 'TrEngine_tries_max' #define TrEngine_tries_max(X) ((X)->tries_max_used) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:276:19: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_TRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:256:32: note: expanded from macro 'INCREMENT_TRIES' TrEngine_tries_max(TR_ENGINE) = TrEngine_tries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:80:35: note: expanded from macro 'TrEngine_tries_max' #define TrEngine_tries_max(X) ((X)->tries_max_used) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:276:19: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_TRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:256:60: note: expanded from macro 'INCREMENT_TRIES' TrEngine_tries_max(TR_ENGINE) = TrEngine_tries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:76:35: note: expanded from macro 'TrEngine_tries' #define TrEngine_tries(X) ((X)->tries_in_use) ^ ../../../library/tries/core_tries.h:289:1: note: use 'static' to give inline function 'core_trie_open' internal linkage inline TrNode core_trie_open(TrEngine engine); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:292:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_trie_node(node); ^ ../../../library/tries/core_tries.h:234:27: note: expanded from macro 'free_trie_node' DECREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:275:24: note: expanded from macro 'DECREMENT_NODES' TrEngine_nodes(TR_ENGINE)-- ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_tries.h:290:1: note: use 'static' to give inline function 'core_trie_close' internal linkage inline void core_trie_close(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:292:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_trie_node(node); ^ ../../../library/tries/core_tries.h:235:28: note: expanded from macro 'free_trie_node' DECREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_tries.h:290:1: note: use 'static' to give inline function 'core_trie_close' internal linkage inline void core_trie_close(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:293:19: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] DECREMENT_TRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:271:24: note: expanded from macro 'DECREMENT_TRIES' TrEngine_tries(TR_ENGINE)-- ^ ../../../library/tries/core_tries.h:76:35: note: expanded from macro 'TrEngine_tries' #define TrEngine_tries(X) ((X)->tries_in_use) ^ ../../../library/tries/core_tries.h:290:1: note: use 'static' to give inline function 'core_trie_close' internal linkage inline void core_trie_close(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:328:23: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:259:28: note: expanded from macro 'INCREMENT_ENTRIES' { TrEngine_entries(TR_ENGINE)++; \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_tries.h:294:1: note: use 'static' to give inline function 'core_trie_put_entry' internal linkage inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:328:23: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:260:32: note: expanded from macro 'INCREMENT_ENTRIES' if (TrEngine_entries(TR_ENGINE) > TrEngine_entries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_tries.h:294:1: note: use 'static' to give inline function 'core_trie_put_entry' internal linkage inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:328:23: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:260:66: note: expanded from macro 'INCREMENT_ENTRIES' if (TrEngine_entries(TR_ENGINE) > TrEngine_entries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:81:35: note: expanded from macro 'TrEngine_entries_max' #define TrEngine_entries_max(X) ((X)->entries_max_used) ^ ../../../library/tries/core_tries.h:294:1: note: use 'static' to give inline function 'core_trie_put_entry' internal linkage inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:328:23: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:261:34: note: expanded from macro 'INCREMENT_ENTRIES' TrEngine_entries_max(TR_ENGINE) = TrEngine_entries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:81:35: note: expanded from macro 'TrEngine_entries_max' #define TrEngine_entries_max(X) ((X)->entries_max_used) ^ ../../../library/tries/core_tries.h:294:1: note: use 'static' to give inline function 'core_trie_put_entry' internal linkage inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:328:23: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:261:64: note: expanded from macro 'INCREMENT_ENTRIES' TrEngine_entries_max(TR_ENGINE) = TrEngine_entries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_tries.h:294:1: note: use 'static' to give inline function 'core_trie_put_entry' internal linkage inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ ../../../library/tries/core_tries.c:331:26: warning: static variable 'stack_vars' is used in an inline function with external linkage [-Wstatic-in-inline] while (STACK_NOT_EMPTY(stack_vars++, stack_vars_base)) { ^ ../../../library/tries/core_tries.h:151:44: note: expanded from macro 'STACK_NOT_EMPTY' #define STACK_NOT_EMPTY(STACK, STACK_BASE) STACK != STACK_BASE ^ ../../../library/tries/core_tries.h:294:1: note: use 'static' to give inline function 'core_trie_put_entry' internal linkage inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); ^ static ../../../library/tries/core_tries.c:55:49: note: 'stack_vars' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ ../../../library/tries/core_tries.c:331:40: warning: static variable 'stack_vars_base' is used in an inline function with external linkage [-Wstatic-in-inline] while (STACK_NOT_EMPTY(stack_vars++, stack_vars_base)) { ^ ../../../library/tries/core_tries.h:151:53: note: expanded from macro 'STACK_NOT_EMPTY' #define STACK_NOT_EMPTY(STACK, STACK_BASE) STACK != STACK_BASE ^ ../../../library/tries/core_tries.h:294:1: note: use 'static' to give inline function 'core_trie_put_entry' internal linkage inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); ^ static ../../../library/tries/core_tries.c:55:62: note: 'stack_vars_base' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ ../../../library/tries/core_tries.c:332:21: warning: static variable 'stack_vars' is used in an inline function with external linkage [-Wstatic-in-inline] (void) POP_DOWN(stack_vars); ^ ../../../library/tries/core_tries.h:153:47: note: expanded from macro 'POP_DOWN' #define POP_DOWN(STACK) *++STACK ^ ../../../library/tries/core_tries.h:294:1: note: use 'static' to give inline function 'core_trie_put_entry' internal linkage inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); ^ static ../../../library/tries/core_tries.c:55:49: note: 'stack_vars' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ ../../../library/tries/core_tries.c:349:26: warning: static variable 'stack_vars' is used in an inline function with external linkage [-Wstatic-in-inline] while (STACK_NOT_EMPTY(stack_vars++, stack_vars_base)) { ^ ../../../library/tries/core_tries.h:151:44: note: expanded from macro 'STACK_NOT_EMPTY' #define STACK_NOT_EMPTY(STACK, STACK_BASE) STACK != STACK_BASE ^ ../../../library/tries/core_tries.h:295:1: note: use 'static' to give inline function 'core_trie_check_entry' internal linkage inline TrNode core_trie_check_entry(TrNode node, YAP_Term entry); ^ static ../../../library/tries/core_tries.c:55:49: note: 'stack_vars' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ ../../../library/tries/core_tries.c:349:40: warning: static variable 'stack_vars_base' is used in an inline function with external linkage [-Wstatic-in-inline] while (STACK_NOT_EMPTY(stack_vars++, stack_vars_base)) { ^ ../../../library/tries/core_tries.h:151:53: note: expanded from macro 'STACK_NOT_EMPTY' #define STACK_NOT_EMPTY(STACK, STACK_BASE) STACK != STACK_BASE ^ ../../../library/tries/core_tries.h:295:1: note: use 'static' to give inline function 'core_trie_check_entry' internal linkage inline TrNode core_trie_check_entry(TrNode node, YAP_Term entry); ^ static ../../../library/tries/core_tries.c:55:62: note: 'stack_vars_base' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ ../../../library/tries/core_tries.c:350:21: warning: static variable 'stack_vars' is used in an inline function with external linkage [-Wstatic-in-inline] (void) POP_DOWN(stack_vars); ^ ../../../library/tries/core_tries.h:153:47: note: expanded from macro 'POP_DOWN' #define POP_DOWN(STACK) *++STACK ^ ../../../library/tries/core_tries.h:295:1: note: use 'static' to give inline function 'core_trie_check_entry' internal linkage inline TrNode core_trie_check_entry(TrNode node, YAP_Term entry); ^ static ../../../library/tries/core_tries.c:55:49: note: 'stack_vars' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ ../../../library/tries/core_tries.c:372:21: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] DECREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:273:26: note: expanded from macro 'DECREMENT_ENTRIES' TrEngine_entries(TR_ENGINE)-- ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_tries.h:297:1: note: use 'static' to give inline function 'core_trie_remove_entry' internal linkage inline void core_trie_remove_entry(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:234:10: warning: static variable 'TRIE_DEPTH_BREADTH_MIN_PREFIX' is used in an inline function with external linkage [-Wstatic-in-inline] return TRIE_DEPTH_BREADTH_MIN_PREFIX; ^ ../../../library/tries/core_dbtries.h:228:1: note: use 'static' to give inline function 'core_get_trie_db_opt_min_prefix' internal linkage inline YAP_Int core_get_trie_db_opt_min_prefix(void); ^ static ../../../library/tries/core_dbtries.c:224:16: note: 'TRIE_DEPTH_BREADTH_MIN_PREFIX' declared here static YAP_Int TRIE_DEPTH_BREADTH_MIN_PREFIX = 2; ^ ../../../library/tries/core_dbtries.c:240:3: warning: static variable 'TRIE_DEPTH_BREADTH_MIN_PREFIX' is used in an inline function with external linkage [-Wstatic-in-inline] TRIE_DEPTH_BREADTH_MIN_PREFIX = min_prefix; ^ ../../../library/tries/core_dbtries.h:229:1: note: use 'static' to give inline function 'core_set_trie_db_opt_min_prefix' internal linkage inline void core_set_trie_db_opt_min_prefix(YAP_Int min_prefix); ^ static ../../../library/tries/core_dbtries.c:224:16: note: 'TRIE_DEPTH_BREADTH_MIN_PREFIX' declared here static YAP_Int TRIE_DEPTH_BREADTH_MIN_PREFIX = 2; ^ ../../../library/tries/core_dbtries.c:372:7: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:264:26: note: expanded from macro 'INCREMENT_NODES' { TrEngine_nodes(TR_ENGINE)++; \ ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:372:7: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:265:30: note: expanded from macro 'INCREMENT_NODES' if (TrEngine_nodes(TR_ENGINE) > TrEngine_nodes_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:372:7: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:265:62: note: expanded from macro 'INCREMENT_NODES' if (TrEngine_nodes(TR_ENGINE) > TrEngine_nodes_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:82:35: note: expanded from macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:372:7: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:266:32: note: expanded from macro 'INCREMENT_NODES' TrEngine_nodes_max(TR_ENGINE) = TrEngine_nodes(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:82:35: note: expanded from macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:372:7: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:266:60: note: expanded from macro 'INCREMENT_NODES' TrEngine_nodes_max(TR_ENGINE) = TrEngine_nodes(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:372:7: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:372:7: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:372:7: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:372:7: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:372:7: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnodef, new_term_functor, TrNode_parent(node), NULL, TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:376:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:264:26: note: expanded from macro 'INCREMENT_NODES' { TrEngine_nodes(TR_ENGINE)++; \ ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:376:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:265:30: note: expanded from macro 'INCREMENT_NODES' if (TrEngine_nodes(TR_ENGINE) > TrEngine_nodes_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:376:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:265:62: note: expanded from macro 'INCREMENT_NODES' if (TrEngine_nodes(TR_ENGINE) > TrEngine_nodes_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:82:35: note: expanded from macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:376:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:266:32: note: expanded from macro 'INCREMENT_NODES' TrEngine_nodes_max(TR_ENGINE) = TrEngine_nodes(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:82:35: note: expanded from macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:376:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:266:60: note: expanded from macro 'INCREMENT_NODES' TrEngine_nodes_max(TR_ENGINE) = TrEngine_nodes(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:376:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:376:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:376:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:376:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:376:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term_arg, newnodef, TrNode_child(child), TrNode_child(newnodef), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:381:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:264:26: note: expanded from macro 'INCREMENT_NODES' { TrEngine_nodes(TR_ENGINE)++; \ ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:381:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:265:30: note: expanded from macro 'INCREMENT_NODES' if (TrEngine_nodes(TR_ENGINE) > TrEngine_nodes_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:381:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:265:62: note: expanded from macro 'INCREMENT_NODES' if (TrEngine_nodes(TR_ENGINE) > TrEngine_nodes_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:82:35: note: expanded from macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:381:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:266:32: note: expanded from macro 'INCREMENT_NODES' TrEngine_nodes_max(TR_ENGINE) = TrEngine_nodes(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:82:35: note: expanded from macro 'TrEngine_nodes_max' #define TrEngine_nodes_max(X) ((X)->nodes_max_used) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:381:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:196:27: note: expanded from macro 'new_trie_node' INCREMENT_NODES(CURRENT_TRIE_ENGINE); \ ^ ../../../library/tries/core_tries.h:266:60: note: expanded from macro 'INCREMENT_NODES' TrEngine_nodes_max(TR_ENGINE) = TrEngine_nodes(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:78:35: note: expanded from macro 'TrEngine_nodes' #define TrEngine_nodes(X) ((X)->nodes_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:381:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:381:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:381:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:381:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:381:5: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_node(newnode, new_term, TrNode_parent(node), TrNode_child(child), TrNode_child(TrNode_parent(node)), NULL); ^ ../../../library/tries/core_tries.h:197:28: note: expanded from macro 'new_trie_node' INCREMENT_MEMORY(CURRENT_TRIE_ENGINE, SIZEOF_TR_NODE); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:407:3: warning: static function 'remove_entry' is used in an inline function with external linkage [-Wstatic-in-inline] remove_entry(child); ^ ../../../library/tries/core_dbtries.c:215:1: note: use 'static' to give inline function 'replace_nested_trie' internal linkage inline TrNode replace_nested_trie(TrNode node, TrNode child, YAP_Term new_term); ^ static ../../../library/tries/core_tries.c:29:17: note: 'remove_entry' declared here static void remove_entry(TrNode node); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:414:10: warning: static variable 'TRIE_DEPTH_BREADTH_RETURN_TERM' is used in an inline function with external linkage [-Wstatic-in-inline] return TRIE_DEPTH_BREADTH_RETURN_TERM; ^ ../../../library/tries/core_dbtries.h:224:1: note: use 'static' to give inline function 'core_get_trie_db_return_term' internal linkage inline YAP_Term core_get_trie_db_return_term(void); ^ static ../../../library/tries/core_dbtries.c:223:17: note: 'TRIE_DEPTH_BREADTH_RETURN_TERM' declared here static YAP_Term TRIE_DEPTH_BREADTH_RETURN_TERM; ^ ../../../library/tries/core_dbtries.c:420:3: warning: static variable 'TRIE_DEPTH_BREADTH_RETURN_TERM' is used in an inline function with external linkage [-Wstatic-in-inline] TRIE_DEPTH_BREADTH_RETURN_TERM = return_value; ^ ../../../library/tries/core_dbtries.h:225:1: note: use 'static' to give inline function 'core_set_trie_db_return_term' internal linkage inline void core_set_trie_db_return_term(YAP_Term return_value); ^ static ../../../library/tries/core_dbtries.c:223:17: note: 'TRIE_DEPTH_BREADTH_RETURN_TERM' declared here static YAP_Term TRIE_DEPTH_BREADTH_RETURN_TERM; ^ ../../../library/tries/core_dbtries.c:427:3: warning: static variable 'LABEL_COUNTER' is used in an inline function with external linkage [-Wstatic-in-inline] LABEL_COUNTER = value; // Initialize the counter ^ ../../../library/tries/core_dbtries.h:218:1: note: use 'static' to give inline function 'core_set_label_counter' internal linkage inline void core_set_label_counter(YAP_Int value); ^ static ../../../library/tries/core_dbtries.c:222:16: note: 'LABEL_COUNTER' declared here static YAP_Int LABEL_COUNTER; ^ ../../../library/tries/core_dbtries.c:433:10: warning: static variable 'LABEL_COUNTER' is used in an inline function with external linkage [-Wstatic-in-inline] return LABEL_COUNTER; ^ ../../../library/tries/core_dbtries.h:219:1: note: use 'static' to give inline function 'core_get_label_counter' internal linkage inline YAP_Int core_get_label_counter(void); ^ static ../../../library/tries/core_dbtries.c:222:16: note: 'LABEL_COUNTER' declared here static YAP_Int LABEL_COUNTER; ^ ../../../library/tries/core_dbtries.c:446:3: warning: static variable 'TRIE_DEPTH_BREADTH_OPT_COUNT' is used in an inline function with external linkage [-Wstatic-in-inline] TRIE_DEPTH_BREADTH_OPT_COUNT[0] = 0; ^ ../../../library/tries/core_dbtries.h:220:1: note: use 'static' to give inline function 'core_initialize_depth_breadth_trie' internal linkage inline void core_initialize_depth_breadth_trie(TrNode node, TrNode *depth_node, TrNode *breadth_node); ^ static ../../../library/tries/core_dbtries.c:225:16: note: 'TRIE_DEPTH_BREADTH_OPT_COUNT' declared here static YAP_Int TRIE_DEPTH_BREADTH_OPT_COUNT[3]; ^ ../../../library/tries/core_dbtries.c:447:3: warning: static variable 'TRIE_DEPTH_BREADTH_OPT_COUNT' is used in an inline function with external linkage [-Wstatic-in-inline] TRIE_DEPTH_BREADTH_OPT_COUNT[1] = 0; ^ ../../../library/tries/core_dbtries.h:220:1: note: use 'static' to give inline function 'core_initialize_depth_breadth_trie' internal linkage inline void core_initialize_depth_breadth_trie(TrNode node, TrNode *depth_node, TrNode *breadth_node); ^ static ../../../library/tries/core_dbtries.c:225:16: note: 'TRIE_DEPTH_BREADTH_OPT_COUNT' declared here static YAP_Int TRIE_DEPTH_BREADTH_OPT_COUNT[3]; ^ ../../../library/tries/core_dbtries.c:448:3: warning: static variable 'TRIE_DEPTH_BREADTH_OPT_COUNT' is used in an inline function with external linkage [-Wstatic-in-inline] TRIE_DEPTH_BREADTH_OPT_COUNT[2] = 0; ^ ../../../library/tries/core_dbtries.h:220:1: note: use 'static' to give inline function 'core_initialize_depth_breadth_trie' internal linkage inline void core_initialize_depth_breadth_trie(TrNode node, TrNode *depth_node, TrNode *breadth_node); ^ static ../../../library/tries/core_dbtries.c:225:16: note: 'TRIE_DEPTH_BREADTH_OPT_COUNT' declared here static YAP_Int TRIE_DEPTH_BREADTH_OPT_COUNT[3]; ^ ../../../library/tries/core_dbtries.c:458:3: warning: static function 'remove_entry' is used in an inline function with external linkage [-Wstatic-in-inline] remove_entry(depth_node); ^ ../../../library/tries/core_dbtries.h:221:1: note: use 'static' to give inline function 'core_finalize_depth_breadth_trie' internal linkage inline void core_finalize_depth_breadth_trie(TrNode depth_node, TrNode breadth_node); ^ static ../../../library/tries/core_tries.c:29:17: note: 'remove_entry' declared here static void remove_entry(TrNode node); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:462:3: warning: static function 'remove_entry' is used in an inline function with external linkage [-Wstatic-in-inline] remove_entry(breadth_node); ^ ../../../library/tries/core_dbtries.h:221:1: note: use 'static' to give inline function 'core_finalize_depth_breadth_trie' internal linkage inline void core_finalize_depth_breadth_trie(TrNode depth_node, TrNode breadth_node); ^ static ../../../library/tries/core_tries.c:29:17: note: 'remove_entry' declared here static void remove_entry(TrNode node); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:473:3: warning: static variable 'stack_args_base' is used in an inline function with external linkage [-Wstatic-in-inline] stack_args_base = stack_args = AUXILIARY_TERM_STACK; ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:31: note: 'stack_args_base' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:473:21: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] stack_args_base = stack_args = AUXILIARY_TERM_STACK; ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:473:34: warning: static variable 'AUXILIARY_TERM_STACK' is used in an inline function with external linkage [-Wstatic-in-inline] stack_args_base = stack_args = AUXILIARY_TERM_STACK; ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:54:18: note: 'AUXILIARY_TERM_STACK' declared here static YAP_Term *AUXILIARY_TERM_STACK; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:474:15: warning: static variable 'AUXILIARY_TERM_STACK' is used in an inline function with external linkage [-Wstatic-in-inline] stack_top = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:54:18: note: 'AUXILIARY_TERM_STACK' declared here static YAP_Term *AUXILIARY_TERM_STACK; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:474:38: warning: static variable 'CURRENT_AUXILIARY_TERM_STACK_SIZE' is used in an inline function with external linkage [-Wstatic-in-inline] stack_top = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:53:16: note: 'CURRENT_AUXILIARY_TERM_STACK_SIZE' declared here static YAP_Int CURRENT_AUXILIARY_TERM_STACK_SIZE, CURRENT_TRIE_MODE, CURRENT_LOAD_VERSION, CURRENT_DEPTH, CURRENT_INDEX; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:486:15: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(node), stack_top); ^ ../../../library/tries/core_tries.h:164:15: note: expanded from macro 'PUSH_DOWN' { if (STACK > STACK_TOP) { \ ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:486:15: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(node), stack_top); ^ ../../../library/tries/core_tries.h:169:12: note: expanded from macro 'PUSH_DOWN' *STACK = (YAP_Term)(ITEM); \ ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:486:15: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(node), stack_top); ^ ../../../library/tries/core_tries.h:170:11: note: expanded from macro 'PUSH_DOWN' STACK++; \ ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:494:15: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(node), stack_top); ^ ../../../library/tries/core_tries.h:164:15: note: expanded from macro 'PUSH_DOWN' { if (STACK > STACK_TOP) { \ ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:494:15: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(node), stack_top); ^ ../../../library/tries/core_tries.h:169:12: note: expanded from macro 'PUSH_DOWN' *STACK = (YAP_Term)(ITEM); \ ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:494:15: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(node), stack_top); ^ ../../../library/tries/core_tries.h:170:11: note: expanded from macro 'PUSH_DOWN' STACK++; \ ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:522:3: warning: static variable 'DATA_DESTRUCT_FUNCTION' is used in an inline function with external linkage [-Wstatic-in-inline] DATA_DESTRUCT_FUNCTION = destruct_function; ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:62:15: note: 'DATA_DESTRUCT_FUNCTION' declared here static void (*DATA_DESTRUCT_FUNCTION)(TrNode); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:525:21: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:259:28: note: expanded from macro 'INCREMENT_ENTRIES' { TrEngine_entries(TR_ENGINE)++; \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:525:21: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:260:32: note: expanded from macro 'INCREMENT_ENTRIES' if (TrEngine_entries(TR_ENGINE) > TrEngine_entries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:525:21: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:260:66: note: expanded from macro 'INCREMENT_ENTRIES' if (TrEngine_entries(TR_ENGINE) > TrEngine_entries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:81:35: note: expanded from macro 'TrEngine_entries_max' #define TrEngine_entries_max(X) ((X)->entries_max_used) ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:525:21: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:261:34: note: expanded from macro 'INCREMENT_ENTRIES' TrEngine_entries_max(TR_ENGINE) = TrEngine_entries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:81:35: note: expanded from macro 'TrEngine_entries_max' #define TrEngine_entries_max(X) ((X)->entries_max_used) ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:525:21: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:261:64: note: expanded from macro 'INCREMENT_ENTRIES' TrEngine_entries_max(TR_ENGINE) = TrEngine_entries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:527:3: warning: static function 'remove_child_nodes' is used in an inline function with external linkage [-Wstatic-in-inline] remove_child_nodes(TrNode_child(temp)); ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:30:17: note: 'remove_child_nodes' declared here static void remove_child_nodes(TrNode node); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:528:3: warning: static function 'remove_entry' is used in an inline function with external linkage [-Wstatic-in-inline] remove_entry(temp); ^ ../../../library/tries/core_dbtries.h:222:1: note: use 'static' to give inline function 'core_depth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:29:17: note: 'remove_entry' declared here static void remove_entry(TrNode node); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:539:3: warning: static variable 'stack_args_base' is used in an inline function with external linkage [-Wstatic-in-inline] stack_args_base = stack_args = AUXILIARY_TERM_STACK; ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:31: note: 'stack_args_base' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:539:21: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] stack_args_base = stack_args = AUXILIARY_TERM_STACK; ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:539:34: warning: static variable 'AUXILIARY_TERM_STACK' is used in an inline function with external linkage [-Wstatic-in-inline] stack_args_base = stack_args = AUXILIARY_TERM_STACK; ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:54:18: note: 'AUXILIARY_TERM_STACK' declared here static YAP_Term *AUXILIARY_TERM_STACK; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:540:15: warning: static variable 'AUXILIARY_TERM_STACK' is used in an inline function with external linkage [-Wstatic-in-inline] stack_top = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:54:18: note: 'AUXILIARY_TERM_STACK' declared here static YAP_Term *AUXILIARY_TERM_STACK; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:540:38: warning: static variable 'CURRENT_AUXILIARY_TERM_STACK_SIZE' is used in an inline function with external linkage [-Wstatic-in-inline] stack_top = AUXILIARY_TERM_STACK + CURRENT_AUXILIARY_TERM_STACK_SIZE - 1; ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:53:16: note: 'CURRENT_AUXILIARY_TERM_STACK_SIZE' declared here static YAP_Int CURRENT_AUXILIARY_TERM_STACK_SIZE, CURRENT_TRIE_MODE, CURRENT_LOAD_VERSION, CURRENT_DEPTH, CURRENT_INDEX; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:598:21: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(child), stack_top); ^ ../../../library/tries/core_tries.h:164:15: note: expanded from macro 'PUSH_DOWN' { if (STACK > STACK_TOP) { \ ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:598:21: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(child), stack_top); ^ ../../../library/tries/core_tries.h:169:12: note: expanded from macro 'PUSH_DOWN' *STACK = (YAP_Term)(ITEM); \ ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:598:21: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(child), stack_top); ^ ../../../library/tries/core_tries.h:170:11: note: expanded from macro 'PUSH_DOWN' STACK++; \ ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:603:25: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top); ^ ../../../library/tries/core_tries.h:164:15: note: expanded from macro 'PUSH_DOWN' { if (STACK > STACK_TOP) { \ ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:603:25: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top); ^ ../../../library/tries/core_tries.h:169:12: note: expanded from macro 'PUSH_DOWN' *STACK = (YAP_Term)(ITEM); \ ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:603:25: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top); ^ ../../../library/tries/core_tries.h:170:11: note: expanded from macro 'PUSH_DOWN' STACK++; \ ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:618:9: warning: static variable 'DATA_DESTRUCT_FUNCTION' is used in an inline function with external linkage [-Wstatic-in-inline] DATA_DESTRUCT_FUNCTION = destruct_function; ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:62:15: note: 'DATA_DESTRUCT_FUNCTION' declared here static void (*DATA_DESTRUCT_FUNCTION)(TrNode); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:619:9: warning: static function 'remove_child_nodes' is used in an inline function with external linkage [-Wstatic-in-inline] remove_child_nodes(TrNode_child(node)); ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:30:17: note: 'remove_child_nodes' declared here static void remove_child_nodes(TrNode node); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:622:27: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:259:28: note: expanded from macro 'INCREMENT_ENTRIES' { TrEngine_entries(TR_ENGINE)++; \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:622:27: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:260:32: note: expanded from macro 'INCREMENT_ENTRIES' if (TrEngine_entries(TR_ENGINE) > TrEngine_entries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:622:27: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:260:66: note: expanded from macro 'INCREMENT_ENTRIES' if (TrEngine_entries(TR_ENGINE) > TrEngine_entries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:81:35: note: expanded from macro 'TrEngine_entries_max' #define TrEngine_entries_max(X) ((X)->entries_max_used) ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:622:27: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:261:34: note: expanded from macro 'INCREMENT_ENTRIES' TrEngine_entries_max(TR_ENGINE) = TrEngine_entries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:81:35: note: expanded from macro 'TrEngine_entries_max' #define TrEngine_entries_max(X) ((X)->entries_max_used) ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:622:27: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:261:64: note: expanded from macro 'INCREMENT_ENTRIES' TrEngine_entries_max(TR_ENGINE) = TrEngine_entries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:668:17: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(child), stack_top); ^ ../../../library/tries/core_tries.h:164:15: note: expanded from macro 'PUSH_DOWN' { if (STACK > STACK_TOP) { \ ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:668:17: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(child), stack_top); ^ ../../../library/tries/core_tries.h:169:12: note: expanded from macro 'PUSH_DOWN' *STACK = (YAP_Term)(ITEM); \ ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:668:17: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(child), stack_top); ^ ../../../library/tries/core_tries.h:170:11: note: expanded from macro 'PUSH_DOWN' STACK++; \ ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:673:21: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top); ^ ../../../library/tries/core_tries.h:164:15: note: expanded from macro 'PUSH_DOWN' { if (STACK > STACK_TOP) { \ ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:673:21: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top); ^ ../../../library/tries/core_tries.h:169:12: note: expanded from macro 'PUSH_DOWN' *STACK = (YAP_Term)(ITEM); \ ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:673:21: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] PUSH_DOWN(stack_args, TrNode_entry(temp), stack_top); ^ ../../../library/tries/core_tries.h:170:11: note: expanded from macro 'PUSH_DOWN' STACK++; \ ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:689:5: warning: static function 'remove_child_nodes' is used in an inline function with external linkage [-Wstatic-in-inline] remove_child_nodes(TrNode_child(node)); ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:30:17: note: 'remove_child_nodes' declared here static void remove_child_nodes(TrNode node); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:697:3: warning: static variable 'DATA_DESTRUCT_FUNCTION' is used in an inline function with external linkage [-Wstatic-in-inline] DATA_DESTRUCT_FUNCTION = destruct_function; ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:62:15: note: 'DATA_DESTRUCT_FUNCTION' declared here static void (*DATA_DESTRUCT_FUNCTION)(TrNode); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:698:3: warning: static function 'remove_child_nodes' is used in an inline function with external linkage [-Wstatic-in-inline] remove_child_nodes(TrNode_child(node)); ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:30:17: note: 'remove_child_nodes' declared here static void remove_child_nodes(TrNode node); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:702:21: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:259:28: note: expanded from macro 'INCREMENT_ENTRIES' { TrEngine_entries(TR_ENGINE)++; \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:702:21: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:260:32: note: expanded from macro 'INCREMENT_ENTRIES' if (TrEngine_entries(TR_ENGINE) > TrEngine_entries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:702:21: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:260:66: note: expanded from macro 'INCREMENT_ENTRIES' if (TrEngine_entries(TR_ENGINE) > TrEngine_entries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:81:35: note: expanded from macro 'TrEngine_entries_max' #define TrEngine_entries_max(X) ((X)->entries_max_used) ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:702:21: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:261:34: note: expanded from macro 'INCREMENT_ENTRIES' TrEngine_entries_max(TR_ENGINE) = TrEngine_entries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:81:35: note: expanded from macro 'TrEngine_entries_max' #define TrEngine_entries_max(X) ((X)->entries_max_used) ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:702:21: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:261:64: note: expanded from macro 'INCREMENT_ENTRIES' TrEngine_entries_max(TR_ENGINE) = TrEngine_entries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.h:223:1: note: use 'static' to give inline function 'core_breadth_reduction' internal linkage 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)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:767:35: warning: static variable 'CURRENT_TRIE_MODE' is used in an inline function with external linkage [-Wstatic-in-inline] YAP_Int BAK_CURRENT_TRIE_MODE = CURRENT_TRIE_MODE; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:53:51: note: 'CURRENT_TRIE_MODE' declared here static YAP_Int CURRENT_AUXILIARY_TERM_STACK_SIZE, CURRENT_TRIE_MODE, CURRENT_LOAD_VERSION, CURRENT_DEPTH, CURRENT_INDEX; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:770:5: warning: static variable 'CURRENT_TRIE_MODE' is used in an inline function with external linkage [-Wstatic-in-inline] CURRENT_TRIE_MODE = TRIE_MODE_MINIMAL; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:53:51: note: 'CURRENT_TRIE_MODE' declared here static YAP_Int CURRENT_AUXILIARY_TERM_STACK_SIZE, CURRENT_TRIE_MODE, CURRENT_LOAD_VERSION, CURRENT_DEPTH, CURRENT_INDEX; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:772:5: warning: static variable 'CURRENT_TRIE_MODE' is used in an inline function with external linkage [-Wstatic-in-inline] CURRENT_TRIE_MODE = TRIE_MODE_STANDARD; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:53:51: note: 'CURRENT_TRIE_MODE' declared here static YAP_Int CURRENT_AUXILIARY_TERM_STACK_SIZE, CURRENT_TRIE_MODE, CURRENT_LOAD_VERSION, CURRENT_DEPTH, CURRENT_INDEX; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:773:3: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] CURRENT_TRIE_ENGINE = engine; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:774:3: warning: static variable 'DATA_DESTRUCT_FUNCTION' is used in an inline function with external linkage [-Wstatic-in-inline] DATA_DESTRUCT_FUNCTION = destruct_function; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:62:15: note: 'DATA_DESTRUCT_FUNCTION' declared here static void (*DATA_DESTRUCT_FUNCTION)(TrNode); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:775:3: warning: static variable 'DATA_COPY_FUNCTION' is used in an inline function with external linkage [-Wstatic-in-inline] DATA_COPY_FUNCTION = copy_function; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:61:15: note: 'DATA_COPY_FUNCTION' declared here static void (*DATA_COPY_FUNCTION)(TrNode, TrNode); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:777:16: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] t = POP_UP(stack_args); ^ ../../../library/tries/core_tries.h:152:47: note: expanded from macro 'POP_UP' #define POP_UP(STACK) *--STACK ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:789:15: warning: static variable 'stack_args_base' is used in an inline function with external linkage [-Wstatic-in-inline] if (stack_args_base != stack_args) { ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:55:31: note: 'stack_args_base' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:789:34: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] if (stack_args_base != stack_args) { ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:791:25: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] tt = POP_UP(stack_args); ^ ../../../library/tries/core_tries.h:152:47: note: expanded from macro 'POP_UP' #define POP_UP(STACK) *--STACK ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:812:9: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] stack_args += c_cnt; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:815:21: warning: static variable 'TRIE_DEPTH_BREADTH_MIN_PREFIX' is used in an inline function with external linkage [-Wstatic-in-inline] if (count > TRIE_DEPTH_BREADTH_MIN_PREFIX - 2) { ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_dbtries.c:224:16: note: 'TRIE_DEPTH_BREADTH_MIN_PREFIX' declared here static YAP_Int TRIE_DEPTH_BREADTH_MIN_PREFIX = 2; ^ ../../../library/tries/core_dbtries.c:816:11: warning: static variable 'TRIE_DEPTH_BREADTH_OPT_COUNT' is used in an inline function with external linkage [-Wstatic-in-inline] TRIE_DEPTH_BREADTH_OPT_COUNT[0]++; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_dbtries.c:225:16: note: 'TRIE_DEPTH_BREADTH_OPT_COUNT' declared here static YAP_Int TRIE_DEPTH_BREADTH_OPT_COUNT[3]; ^ ../../../library/tries/core_dbtries.c:829:11: warning: static variable 'CURRENT_TRIE_MODE' is used in an inline function with external linkage [-Wstatic-in-inline] CURRENT_TRIE_MODE = TRIE_MODE_STANDARD; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:53:51: note: 'CURRENT_TRIE_MODE' declared here static YAP_Int CURRENT_AUXILIARY_TERM_STACK_SIZE, CURRENT_TRIE_MODE, CURRENT_LOAD_VERSION, CURRENT_DEPTH, CURRENT_INDEX; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:831:11: warning: static variable 'CURRENT_TRIE_MODE' is used in an inline function with external linkage [-Wstatic-in-inline] CURRENT_TRIE_MODE = TRIE_MODE_MINIMAL; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:53:51: note: 'CURRENT_TRIE_MODE' declared here static YAP_Int CURRENT_AUXILIARY_TERM_STACK_SIZE, CURRENT_TRIE_MODE, CURRENT_LOAD_VERSION, CURRENT_DEPTH, CURRENT_INDEX; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:844:55: warning: static variable 'TRIE_DEPTH_BREADTH_MIN_PREFIX' is used in an inline function with external linkage [-Wstatic-in-inline] if ((remember == NULL) && (cnt > 0) && (cnt > TRIE_DEPTH_BREADTH_MIN_PREFIX - 2)) { ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_dbtries.c:224:16: note: 'TRIE_DEPTH_BREADTH_MIN_PREFIX' declared here static YAP_Int TRIE_DEPTH_BREADTH_MIN_PREFIX = 2; ^ ../../../library/tries/core_dbtries.c:845:11: warning: static variable 'TRIE_DEPTH_BREADTH_OPT_COUNT' is used in an inline function with external linkage [-Wstatic-in-inline] TRIE_DEPTH_BREADTH_OPT_COUNT[1]--; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_dbtries.c:225:16: note: 'TRIE_DEPTH_BREADTH_OPT_COUNT' declared here static YAP_Int TRIE_DEPTH_BREADTH_OPT_COUNT[3]; ^ ../../../library/tries/core_dbtries.c:846:11: warning: static variable 'TRIE_DEPTH_BREADTH_OPT_COUNT' is used in an inline function with external linkage [-Wstatic-in-inline] TRIE_DEPTH_BREADTH_OPT_COUNT[2]++; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_dbtries.c:225:16: note: 'TRIE_DEPTH_BREADTH_OPT_COUNT' declared here static YAP_Int TRIE_DEPTH_BREADTH_OPT_COUNT[3]; ^ ../../../library/tries/core_dbtries.c:854:12: warning: static variable 'stack_args_base' is used in an inline function with external linkage [-Wstatic-in-inline] } while (stack_args_base != stack_args); ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:55:31: note: 'stack_args_base' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:854:31: warning: static variable 'stack_args' is used in an inline function with external linkage [-Wstatic-in-inline] } while (stack_args_base != stack_args); ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:55:18: note: 'stack_args' declared here static YAP_Term *stack_args, *stack_args_base, *stack_vars, *stack_vars_base; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:866:104: warning: static variable 'TRIE_DEPTH_BREADTH_MIN_PREFIX' is used in an inline function with external linkage [-Wstatic-in-inline] if ((TrNode_child(node) != NULL) && (TrNode_entry(TrNode_child(node)) != PairEndTag) && (count > TRIE_DEPTH_BREADTH_MIN_PREFIX - 2)) { ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_dbtries.c:224:16: note: 'TRIE_DEPTH_BREADTH_MIN_PREFIX' declared here static YAP_Int TRIE_DEPTH_BREADTH_MIN_PREFIX = 2; ^ ../../../library/tries/core_dbtries.c:867:9: warning: static variable 'TRIE_DEPTH_BREADTH_OPT_COUNT' is used in an inline function with external linkage [-Wstatic-in-inline] TRIE_DEPTH_BREADTH_OPT_COUNT[1]++; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_dbtries.c:225:16: note: 'TRIE_DEPTH_BREADTH_OPT_COUNT' declared here static YAP_Int TRIE_DEPTH_BREADTH_OPT_COUNT[3]; ^ ../../../library/tries/core_dbtries.c:870:30: warning: static function 'copy_child_nodes' is used in an inline function with external linkage [-Wstatic-in-inline] TrNode_child(root) = copy_child_nodes(root, TrNode_child(node)); ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:31:17: note: 'copy_child_nodes' declared here static TrNode copy_child_nodes(TrNode parent_dest, TrNode node_source); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:871:9: warning: static function 'remove_child_nodes' is used in an inline function with external linkage [-Wstatic-in-inline] remove_child_nodes(TrNode_child(node)); ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:30:17: note: 'remove_child_nodes' declared here static void remove_child_nodes(TrNode node); ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:881:9: warning: static variable 'LABEL_COUNTER' is used in an inline function with external linkage [-Wstatic-in-inline] LABEL_COUNTER += count; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_dbtries.c:222:16: note: 'LABEL_COUNTER' declared here static YAP_Int LABEL_COUNTER; ^ ../../../library/tries/core_dbtries.c:882:28: warning: static variable 'LABEL_COUNTER' is used in an inline function with external linkage [-Wstatic-in-inline] t = generate_label(LABEL_COUNTER); ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_dbtries.c:222:16: note: 'LABEL_COUNTER' declared here static YAP_Int LABEL_COUNTER; ^ ../../../library/tries/core_dbtries.c:884:27: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:259:28: note: expanded from macro 'INCREMENT_ENTRIES' { TrEngine_entries(TR_ENGINE)++; \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:884:27: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:260:32: note: expanded from macro 'INCREMENT_ENTRIES' if (TrEngine_entries(TR_ENGINE) > TrEngine_entries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:884:27: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:260:66: note: expanded from macro 'INCREMENT_ENTRIES' if (TrEngine_entries(TR_ENGINE) > TrEngine_entries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:81:35: note: expanded from macro 'TrEngine_entries_max' #define TrEngine_entries_max(X) ((X)->entries_max_used) ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:884:27: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:261:34: note: expanded from macro 'INCREMENT_ENTRIES' TrEngine_entries_max(TR_ENGINE) = TrEngine_entries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:81:35: note: expanded from macro 'TrEngine_entries_max' #define TrEngine_entries_max(X) ((X)->entries_max_used) ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:884:27: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:261:64: note: expanded from macro 'INCREMENT_ENTRIES' TrEngine_entries_max(TR_ENGINE) = TrEngine_entries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:889:25: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:259:28: note: expanded from macro 'INCREMENT_ENTRIES' { TrEngine_entries(TR_ENGINE)++; \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:889:25: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:260:32: note: expanded from macro 'INCREMENT_ENTRIES' if (TrEngine_entries(TR_ENGINE) > TrEngine_entries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:889:25: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:260:66: note: expanded from macro 'INCREMENT_ENTRIES' if (TrEngine_entries(TR_ENGINE) > TrEngine_entries_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:81:35: note: expanded from macro 'TrEngine_entries_max' #define TrEngine_entries_max(X) ((X)->entries_max_used) ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:889:25: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:261:34: note: expanded from macro 'INCREMENT_ENTRIES' TrEngine_entries_max(TR_ENGINE) = TrEngine_entries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:81:35: note: expanded from macro 'TrEngine_entries_max' #define TrEngine_entries_max(X) ((X)->entries_max_used) ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:889:25: warning: static variable 'CURRENT_TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] INCREMENT_ENTRIES(CURRENT_TRIE_ENGINE); ^ ../../../library/tries/core_tries.h:261:64: note: expanded from macro 'INCREMENT_ENTRIES' TrEngine_entries_max(TR_ENGINE) = TrEngine_entries(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:77:35: note: expanded from macro 'TrEngine_entries' #define TrEngine_entries(X) ((X)->entries_in_use) ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:51:17: note: 'CURRENT_TRIE_ENGINE' declared here static TrEngine CURRENT_TRIE_ENGINE; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:901:3: warning: static variable 'CURRENT_TRIE_MODE' is used in an inline function with external linkage [-Wstatic-in-inline] CURRENT_TRIE_MODE = BAK_CURRENT_TRIE_MODE; ^ ../../../library/tries/core_dbtries.c:212:1: note: use 'static' to give inline function 'update_depth_breadth_trie' internal linkage inline YAP_Term update_depth_breadth_trie(TrEngine engine, TrNode root, YAP_Int opt_level, void (*construct_function)(TrNode), void (*destruct_function)(TrNode), void (*copy_function)(TrNode, TrNode), void (*correct_order_function)(void)); ^ static ../../../library/tries/core_tries.c:53:51: note: 'CURRENT_TRIE_MODE' declared here static YAP_Int CURRENT_AUXILIARY_TERM_STACK_SIZE, CURRENT_TRIE_MODE, CURRENT_LOAD_VERSION, CURRENT_DEPTH, CURRENT_INDEX; ^ In file included from ../../../library/tries/core_tries.c:1783: ../../../library/tries/core_dbtries.c:908:10: warning: static variable 'TRIE_DEPTH_BREADTH_OPT_COUNT' is used in an inline function with external linkage [-Wstatic-in-inline] return TRIE_DEPTH_BREADTH_OPT_COUNT[opt_level - 1]; ^ ../../../library/tries/core_dbtries.h:226:1: note: use 'static' to give inline function 'core_db_trie_get_optimization_level_count' internal linkage inline YAP_Int core_db_trie_get_optimization_level_count(YAP_Int opt_level); ^ static ../../../library/tries/core_dbtries.c:225:16: note: 'TRIE_DEPTH_BREADTH_OPT_COUNT' declared here static YAP_Int TRIE_DEPTH_BREADTH_OPT_COUNT[3]; ^ 163 warnings generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -I../../../library/tries -I../.. -I../../../library/tries/../../include -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../library/tries/base_tries.c -o base_tries.o clang: warning: argument unused during compilation: '-shared' clang: warning: argument unused during compilation: '-shared' ../../../library/tries/base_tries.c:55:23: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:75:50: note: expanded from macro 'new_trie_data' { TrData first_data = TrEntry_first_data(TR_ENTRY); \ ^ ../../../library/tries/base_tries.h:32:37: note: expanded from macro 'TrEntry_first_data' #define TrEntry_first_data(X) ((X)->first_trie_data) ^ ../../../library/tries/base_tries.h:110:1: note: use 'static' to give inline function 'trie_data_load' internal linkage inline void trie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:55:23: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:77:34: note: expanded from macro 'new_trie_data' TrData_trie(TR_DATA) = TR_ENTRY; \ ^ ../../../library/tries/base_tries.h:110:1: note: use 'static' to give inline function 'trie_data_load' internal linkage inline void trie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:55:23: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:81:50: note: expanded from macro 'new_trie_data' TrData last_data = TrEntry_last_data(TR_ENTRY); \ ^ ../../../library/tries/base_tries.h:33:37: note: expanded from macro 'TrEntry_last_data' #define TrEntry_last_data(X) ((X)->last_trie_data) ^ ../../../library/tries/base_tries.h:110:1: note: use 'static' to give inline function 'trie_data_load' internal linkage inline void trie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:55:23: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:85:76: note: expanded from macro 'new_trie_data' TrData_previous(TR_DATA) = AS_TR_DATA_NEXT(&TrEntry_first_data(TR_ENTRY)); \ ^ ../../../library/tries/base_tries.h:32:37: note: expanded from macro 'TrEntry_first_data' #define TrEntry_first_data(X) ((X)->first_trie_data) ^ ../../../library/tries/base_tries.h:56:61: note: expanded from macro 'AS_TR_DATA_NEXT' #define AS_TR_DATA_NEXT(ADDR) (TrData)((unsigned long int)(ADDR) - sizeof(struct trie_entry *) - sizeof(struct trie_node *)) ^ ../../../library/tries/base_tries.h:110:1: note: use 'static' to give inline function 'trie_data_load' internal linkage inline void trie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:55:23: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:86:32: note: expanded from macro 'new_trie_data' TrEntry_first_data(TR_ENTRY) = TR_DATA; \ ^ ../../../library/tries/base_tries.h:32:37: note: expanded from macro 'TrEntry_first_data' #define TrEntry_first_data(X) ((X)->first_trie_data) ^ ../../../library/tries/base_tries.h:110:1: note: use 'static' to give inline function 'trie_data_load' internal linkage inline void trie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:55:23: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:88:29: note: expanded from macro 'new_trie_data' TrEntry_last_data(TR_ENTRY) = TR_DATA; \ ^ ../../../library/tries/base_tries.h:33:37: note: expanded from macro 'TrEntry_last_data' #define TrEntry_last_data(X) ((X)->last_trie_data) ^ ../../../library/tries/base_tries.h:110:1: note: use 'static' to give inline function 'trie_data_load' internal linkage inline void trie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:55:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:110:1: note: use 'static' to give inline function 'trie_data_load' internal linkage inline void trie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:55:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:110:1: note: use 'static' to give inline function 'trie_data_load' internal linkage inline void trie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:55:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_tries.h:110:1: note: use 'static' to give inline function 'trie_data_load' internal linkage inline void trie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:55:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_tries.h:110:1: note: use 'static' to give inline function 'trie_data_load' internal linkage inline void trie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:55:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:110:1: note: use 'static' to give inline function 'trie_data_load' internal linkage inline void trie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:65:28: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data_dest, CURRENT_TRIE, node_dest); ^ ../../../library/tries/base_tries.h:75:50: note: expanded from macro 'new_trie_data' { TrData first_data = TrEntry_first_data(TR_ENTRY); \ ^ ../../../library/tries/base_tries.h:32:37: note: expanded from macro 'TrEntry_first_data' #define TrEntry_first_data(X) ((X)->first_trie_data) ^ ../../../library/tries/base_tries.h:111:1: note: use 'static' to give inline function 'trie_data_copy' internal linkage inline void trie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:65:28: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data_dest, CURRENT_TRIE, node_dest); ^ ../../../library/tries/base_tries.h:77:34: note: expanded from macro 'new_trie_data' TrData_trie(TR_DATA) = TR_ENTRY; \ ^ ../../../library/tries/base_tries.h:111:1: note: use 'static' to give inline function 'trie_data_copy' internal linkage inline void trie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:65:28: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data_dest, CURRENT_TRIE, node_dest); ^ ../../../library/tries/base_tries.h:81:50: note: expanded from macro 'new_trie_data' TrData last_data = TrEntry_last_data(TR_ENTRY); \ ^ ../../../library/tries/base_tries.h:33:37: note: expanded from macro 'TrEntry_last_data' #define TrEntry_last_data(X) ((X)->last_trie_data) ^ ../../../library/tries/base_tries.h:111:1: note: use 'static' to give inline function 'trie_data_copy' internal linkage inline void trie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:65:28: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data_dest, CURRENT_TRIE, node_dest); ^ ../../../library/tries/base_tries.h:85:76: note: expanded from macro 'new_trie_data' TrData_previous(TR_DATA) = AS_TR_DATA_NEXT(&TrEntry_first_data(TR_ENTRY)); \ ^ ../../../library/tries/base_tries.h:32:37: note: expanded from macro 'TrEntry_first_data' #define TrEntry_first_data(X) ((X)->first_trie_data) ^ ../../../library/tries/base_tries.h:56:61: note: expanded from macro 'AS_TR_DATA_NEXT' #define AS_TR_DATA_NEXT(ADDR) (TrData)((unsigned long int)(ADDR) - sizeof(struct trie_entry *) - sizeof(struct trie_node *)) ^ ../../../library/tries/base_tries.h:111:1: note: use 'static' to give inline function 'trie_data_copy' internal linkage inline void trie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:65:28: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data_dest, CURRENT_TRIE, node_dest); ^ ../../../library/tries/base_tries.h:86:32: note: expanded from macro 'new_trie_data' TrEntry_first_data(TR_ENTRY) = TR_DATA; \ ^ ../../../library/tries/base_tries.h:32:37: note: expanded from macro 'TrEntry_first_data' #define TrEntry_first_data(X) ((X)->first_trie_data) ^ ../../../library/tries/base_tries.h:111:1: note: use 'static' to give inline function 'trie_data_copy' internal linkage inline void trie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:65:28: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data_dest, CURRENT_TRIE, node_dest); ^ ../../../library/tries/base_tries.h:88:29: note: expanded from macro 'new_trie_data' TrEntry_last_data(TR_ENTRY) = TR_DATA; \ ^ ../../../library/tries/base_tries.h:33:37: note: expanded from macro 'TrEntry_last_data' #define TrEntry_last_data(X) ((X)->last_trie_data) ^ ../../../library/tries/base_tries.h:111:1: note: use 'static' to give inline function 'trie_data_copy' internal linkage inline void trie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:65:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data_dest, CURRENT_TRIE, node_dest); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:111:1: note: use 'static' to give inline function 'trie_data_copy' internal linkage inline void trie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:65:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data_dest, CURRENT_TRIE, node_dest); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:111:1: note: use 'static' to give inline function 'trie_data_copy' internal linkage inline void trie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:65:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data_dest, CURRENT_TRIE, node_dest); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_tries.h:111:1: note: use 'static' to give inline function 'trie_data_copy' internal linkage inline void trie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:65:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data_dest, CURRENT_TRIE, node_dest); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_tries.h:111:1: note: use 'static' to give inline function 'trie_data_copy' internal linkage inline void trie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:65:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data_dest, CURRENT_TRIE, node_dest); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:111:1: note: use 'static' to give inline function 'trie_data_copy' internal linkage inline void trie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:87:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_trie_data(data); ^ ../../../library/tries/base_tries.h:100:28: note: expanded from macro 'free_trie_data' DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:112:1: note: use 'static' to give inline function 'trie_data_destruct' internal linkage inline void trie_data_destruct(TrNode node); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:98:3: warning: static variable 'FIRST_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, node); ^ ../../../library/tries/base_tries.h:70:36: note: expanded from macro 'new_trie_entry' TrEntry_next(TR_ENTRY) = FIRST_TRIE; \ ^ ../../../library/tries/base_tries.h:113:1: note: use 'static' to give inline function 'trie_open' internal linkage inline TrEntry trie_open(void); ^ static ../../../library/tries/base_tries.c:33:16: note: 'FIRST_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:98:3: warning: static variable 'FIRST_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, node); ^ ../../../library/tries/base_tries.h:71:58: note: expanded from macro 'new_trie_entry' TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_TRIE); \ ^ ../../../library/tries/base_tries.h:55:62: note: expanded from 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 *)) ^ ../../../library/tries/base_tries.h:113:1: note: use 'static' to give inline function 'trie_open' internal linkage inline TrEntry trie_open(void); ^ static ../../../library/tries/base_tries.c:33:16: note: 'FIRST_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:98:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, node); ^ ../../../library/tries/base_tries.h:72:28: note: expanded from macro 'new_trie_entry' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:113:1: note: use 'static' to give inline function 'trie_open' internal linkage inline TrEntry trie_open(void); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:98:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, node); ^ ../../../library/tries/base_tries.h:72:28: note: expanded from macro 'new_trie_entry' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:113:1: note: use 'static' to give inline function 'trie_open' internal linkage inline TrEntry trie_open(void); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:98:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, node); ^ ../../../library/tries/base_tries.h:72:28: note: expanded from macro 'new_trie_entry' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_tries.h:113:1: note: use 'static' to give inline function 'trie_open' internal linkage inline TrEntry trie_open(void); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:98:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, node); ^ ../../../library/tries/base_tries.h:72:28: note: expanded from macro 'new_trie_entry' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_tries.h:113:1: note: use 'static' to give inline function 'trie_open' internal linkage inline TrEntry trie_open(void); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:98:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, node); ^ ../../../library/tries/base_tries.h:72:28: note: expanded from macro 'new_trie_entry' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:113:1: note: use 'static' to give inline function 'trie_open' internal linkage inline TrEntry trie_open(void); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:100:22: warning: static variable 'FIRST_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] TrEntry_previous(FIRST_TRIE) = trie; ^ ../../../library/tries/base_tries.h:36:37: note: expanded from macro 'TrEntry_previous' #define TrEntry_previous(X) ((X)->previous) ^ ../../../library/tries/base_tries.h:113:1: note: use 'static' to give inline function 'trie_open' internal linkage inline TrEntry trie_open(void); ^ static ../../../library/tries/base_tries.c:33:16: note: 'FIRST_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:114:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_trie_entry(trie); ^ ../../../library/tries/base_tries.h:96:28: note: expanded from macro 'free_trie_entry' DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:114:1: note: use 'static' to give inline function 'trie_close' internal linkage inline void trie_close(TrEntry trie); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:125:25: warning: static variable 'FIRST_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] trie = TrEntry_next(FIRST_TRIE); ^ ../../../library/tries/base_tries.h:35:37: note: expanded from macro 'TrEntry_next' #define TrEntry_next(X) ((X)->next) ^ ../../../library/tries/base_tries.h:115:1: note: use 'static' to give inline function 'trie_close_all' internal linkage inline void trie_close_all(void); ^ static ../../../library/tries/base_tries.c:33:16: note: 'FIRST_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:126:21: warning: static variable 'FIRST_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] free_trie_entry(FIRST_TRIE); ^ ../../../library/tries/base_tries.h:95:23: note: expanded from macro 'free_trie_entry' { free_struct(STR); \ ^ ../../../library/tries/core_tries.h:231:40: note: expanded from macro 'free_struct' YAP_FreeSpaceFromYap((char *) (STR)) ^ ../../../library/tries/base_tries.h:115:1: note: use 'static' to give inline function 'trie_close_all' internal linkage inline void trie_close_all(void); ^ static ../../../library/tries/base_tries.c:33:16: note: 'FIRST_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:126:5: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_trie_entry(FIRST_TRIE); ^ ../../../library/tries/base_tries.h:96:28: note: expanded from macro 'free_trie_entry' DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:115:1: note: use 'static' to give inline function 'trie_close_all' internal linkage inline void trie_close_all(void); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:153:5: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, trie, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:118:1: note: use 'static' to give inline function 'trie_put_entry' internal linkage inline TrData trie_put_entry(TrEntry trie, YAP_Term entry); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:153:5: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, trie, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:118:1: note: use 'static' to give inline function 'trie_put_entry' internal linkage inline TrData trie_put_entry(TrEntry trie, YAP_Term entry); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:153:5: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, trie, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_tries.h:118:1: note: use 'static' to give inline function 'trie_put_entry' internal linkage inline TrData trie_put_entry(TrEntry trie, YAP_Term entry); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:153:5: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, trie, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_tries.h:118:1: note: use 'static' to give inline function 'trie_put_entry' internal linkage inline TrData trie_put_entry(TrEntry trie, YAP_Term entry); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:153:5: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, trie, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:118:1: note: use 'static' to give inline function 'trie_put_entry' internal linkage inline TrData trie_put_entry(TrEntry trie, YAP_Term entry); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:285:3: warning: static variable 'FIRST_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, NULL); ^ ../../../library/tries/base_tries.h:70:36: note: expanded from macro 'new_trie_entry' TrEntry_next(TR_ENTRY) = FIRST_TRIE; \ ^ ../../../library/tries/base_tries.h:132:1: note: use 'static' to give inline function 'trie_load' internal linkage inline TrEntry trie_load(FILE *file); ^ static ../../../library/tries/base_tries.c:33:16: note: 'FIRST_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:285:3: warning: static variable 'FIRST_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, NULL); ^ ../../../library/tries/base_tries.h:71:58: note: expanded from macro 'new_trie_entry' TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_TRIE); \ ^ ../../../library/tries/base_tries.h:55:62: note: expanded from 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 *)) ^ ../../../library/tries/base_tries.h:132:1: note: use 'static' to give inline function 'trie_load' internal linkage inline TrEntry trie_load(FILE *file); ^ static ../../../library/tries/base_tries.c:33:16: note: 'FIRST_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:285:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, NULL); ^ ../../../library/tries/base_tries.h:72:28: note: expanded from macro 'new_trie_entry' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:132:1: note: use 'static' to give inline function 'trie_load' internal linkage inline TrEntry trie_load(FILE *file); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:285:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, NULL); ^ ../../../library/tries/base_tries.h:72:28: note: expanded from macro 'new_trie_entry' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:132:1: note: use 'static' to give inline function 'trie_load' internal linkage inline TrEntry trie_load(FILE *file); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:285:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, NULL); ^ ../../../library/tries/base_tries.h:72:28: note: expanded from macro 'new_trie_entry' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_tries.h:132:1: note: use 'static' to give inline function 'trie_load' internal linkage inline TrEntry trie_load(FILE *file); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:285:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, NULL); ^ ../../../library/tries/base_tries.h:72:28: note: expanded from macro 'new_trie_entry' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_tries.h:132:1: note: use 'static' to give inline function 'trie_load' internal linkage inline TrEntry trie_load(FILE *file); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:285:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_entry(trie, NULL); ^ ../../../library/tries/base_tries.h:72:28: note: expanded from macro 'new_trie_entry' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:132:1: note: use 'static' to give inline function 'trie_load' internal linkage inline TrEntry trie_load(FILE *file); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:288:5: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_trie_entry(trie); ^ ../../../library/tries/base_tries.h:96:28: note: expanded from macro 'free_trie_entry' DECREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:132:1: note: use 'static' to give inline function 'trie_load' internal linkage inline TrEntry trie_load(FILE *file); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:293:22: warning: static variable 'FIRST_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] TrEntry_previous(FIRST_TRIE) = trie; ^ ../../../library/tries/base_tries.h:36:37: note: expanded from macro 'TrEntry_previous' #define TrEntry_previous(X) ((X)->previous) ^ ../../../library/tries/base_tries.h:132:1: note: use 'static' to give inline function 'trie_load' internal linkage inline TrEntry trie_load(FILE *file); ^ static ../../../library/tries/base_tries.c:33:16: note: 'FIRST_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:331:23: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:75:50: note: expanded from macro 'new_trie_data' { TrData first_data = TrEntry_first_data(TR_ENTRY); \ ^ ../../../library/tries/base_tries.h:32:37: note: expanded from macro 'TrEntry_first_data' #define TrEntry_first_data(X) ((X)->first_trie_data) ^ ../../../library/tries/base_tries.h:138:1: note: use 'static' to give inline function 'trie_data_construct' internal linkage inline void trie_data_construct(TrNode node); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:331:23: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:77:34: note: expanded from macro 'new_trie_data' TrData_trie(TR_DATA) = TR_ENTRY; \ ^ ../../../library/tries/base_tries.h:138:1: note: use 'static' to give inline function 'trie_data_construct' internal linkage inline void trie_data_construct(TrNode node); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:331:23: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:81:50: note: expanded from macro 'new_trie_data' TrData last_data = TrEntry_last_data(TR_ENTRY); \ ^ ../../../library/tries/base_tries.h:33:37: note: expanded from macro 'TrEntry_last_data' #define TrEntry_last_data(X) ((X)->last_trie_data) ^ ../../../library/tries/base_tries.h:138:1: note: use 'static' to give inline function 'trie_data_construct' internal linkage inline void trie_data_construct(TrNode node); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:331:23: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:85:76: note: expanded from macro 'new_trie_data' TrData_previous(TR_DATA) = AS_TR_DATA_NEXT(&TrEntry_first_data(TR_ENTRY)); \ ^ ../../../library/tries/base_tries.h:32:37: note: expanded from macro 'TrEntry_first_data' #define TrEntry_first_data(X) ((X)->first_trie_data) ^ ../../../library/tries/base_tries.h:56:61: note: expanded from macro 'AS_TR_DATA_NEXT' #define AS_TR_DATA_NEXT(ADDR) (TrData)((unsigned long int)(ADDR) - sizeof(struct trie_entry *) - sizeof(struct trie_node *)) ^ ../../../library/tries/base_tries.h:138:1: note: use 'static' to give inline function 'trie_data_construct' internal linkage inline void trie_data_construct(TrNode node); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:331:23: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:86:32: note: expanded from macro 'new_trie_data' TrEntry_first_data(TR_ENTRY) = TR_DATA; \ ^ ../../../library/tries/base_tries.h:32:37: note: expanded from macro 'TrEntry_first_data' #define TrEntry_first_data(X) ((X)->first_trie_data) ^ ../../../library/tries/base_tries.h:138:1: note: use 'static' to give inline function 'trie_data_construct' internal linkage inline void trie_data_construct(TrNode node); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:331:23: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:88:29: note: expanded from macro 'new_trie_data' TrEntry_last_data(TR_ENTRY) = TR_DATA; \ ^ ../../../library/tries/base_tries.h:33:37: note: expanded from macro 'TrEntry_last_data' #define TrEntry_last_data(X) ((X)->last_trie_data) ^ ../../../library/tries/base_tries.h:138:1: note: use 'static' to give inline function 'trie_data_construct' internal linkage inline void trie_data_construct(TrNode node); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ ../../../library/tries/base_tries.c:331:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:138:1: note: use 'static' to give inline function 'trie_data_construct' internal linkage inline void trie_data_construct(TrNode node); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:331:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:138:1: note: use 'static' to give inline function 'trie_data_construct' internal linkage inline void trie_data_construct(TrNode node); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:331:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_tries.h:138:1: note: use 'static' to give inline function 'trie_data_construct' internal linkage inline void trie_data_construct(TrNode node); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:331:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_tries.h:138:1: note: use 'static' to give inline function 'trie_data_construct' internal linkage inline void trie_data_construct(TrNode node); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ ../../../library/tries/base_tries.c:331:3: warning: static variable 'TRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_trie_data(data, CURRENT_TRIE, node); ^ ../../../library/tries/base_tries.h:89:28: note: expanded from macro 'new_trie_data' INCREMENT_MEMORY(TRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_tries.h:138:1: note: use 'static' to give inline function 'trie_data_construct' internal linkage inline void trie_data_construct(TrNode node); ^ static ../../../library/tries/base_tries.c:32:17: note: 'TRIE_ENGINE' declared here static TrEngine TRIE_ENGINE; ^ In file included from ../../../library/tries/base_tries.c:408: ../../../library/tries/base_dbtries.c:234:3: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] CURRENT_TRIE = db_trie; ^ ../../../library/tries/base_dbtries.h:210:1: note: use 'static' to give inline function 'trie_depth_breadth' internal linkage inline YAP_Term trie_depth_breadth(TrEntry trie, TrEntry db_trie, YAP_Int opt_level, YAP_Int start_counter, YAP_Int *end_counter); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ In file included from ../../../library/tries/base_tries.c:408: ../../../library/tries/base_dbtries.c:239:19: warning: static function 'depth_reduction' is used in an inline function with external linkage [-Wstatic-in-inline] nested_trie = depth_reduction(trie, depth_node, opt_level); ^ ../../../library/tries/base_dbtries.h:210:1: note: use 'static' to give inline function 'trie_depth_breadth' internal linkage inline YAP_Term trie_depth_breadth(TrEntry trie, TrEntry db_trie, YAP_Int opt_level, YAP_Int start_counter, YAP_Int *end_counter); ^ static ../../../library/tries/base_dbtries.c:211:15: note: 'depth_reduction' declared here static TrNode depth_reduction(TrEntry trie, TrNode depth_node, YAP_Int opt_level); ^ ../../../library/tries/base_dbtries.c:241:48: warning: static function 'get_data_from_trie_node' is used in an inline function with external linkage [-Wstatic-in-inline] set_depth_breadth_reduction_current_data(get_data_from_trie_node(nested_trie)); ^ ../../../library/tries/base_dbtries.h:210:1: note: use 'static' to give inline function 'trie_depth_breadth' internal linkage inline YAP_Term trie_depth_breadth(TrEntry trie, TrEntry db_trie, YAP_Int opt_level, YAP_Int start_counter, YAP_Int *end_counter); ^ static ../../../library/tries/base_tries.c:25:15: note: 'get_data_from_trie_node' declared here static TrData get_data_from_trie_node(TrNode node); ^ In file included from ../../../library/tries/base_tries.c:408: ../../../library/tries/base_dbtries.c:246:19: warning: static function 'breadth_reduction' is used in an inline function with external linkage [-Wstatic-in-inline] nested_trie = breadth_reduction(trie, breadth_node, opt_level); ^ ../../../library/tries/base_dbtries.h:210:1: note: use 'static' to give inline function 'trie_depth_breadth' internal linkage inline YAP_Term trie_depth_breadth(TrEntry trie, TrEntry db_trie, YAP_Int opt_level, YAP_Int start_counter, YAP_Int *end_counter); ^ static ../../../library/tries/base_dbtries.c:212:15: note: 'breadth_reduction' declared here static TrNode breadth_reduction(TrEntry trie, TrNode breadth_node, YAP_Int opt_level); ^ ../../../library/tries/base_dbtries.c:248:48: warning: static function 'get_data_from_trie_node' is used in an inline function with external linkage [-Wstatic-in-inline] set_depth_breadth_reduction_current_data(get_data_from_trie_node(nested_trie)); ^ ../../../library/tries/base_dbtries.h:210:1: note: use 'static' to give inline function 'trie_depth_breadth' internal linkage inline YAP_Term trie_depth_breadth(TrEntry trie, TrEntry db_trie, YAP_Int opt_level, YAP_Int start_counter, YAP_Int *end_counter); ^ static ../../../library/tries/base_tries.c:25:15: note: 'get_data_from_trie_node' declared here static TrData get_data_from_trie_node(TrNode node); ^ In file included from ../../../library/tries/base_tries.c:408: ../../../library/tries/base_dbtries.c:268:10: warning: static variable 'CURRENT_DEPTH_BREADTH_DATA' is used in an inline function with external linkage [-Wstatic-in-inline] return CURRENT_DEPTH_BREADTH_DATA; ^ ../../../library/tries/base_dbtries.h:212:1: note: use 'static' to give inline function 'trie_get_depth_breadth_reduction_current_data' internal linkage inline TrData trie_get_depth_breadth_reduction_current_data(void); ^ static ../../../library/tries/base_dbtries.c:223:16: note: 'CURRENT_DEPTH_BREADTH_DATA' declared here static TrData CURRENT_DEPTH_BREADTH_DATA; ^ ../../../library/tries/base_dbtries.c:299:3: warning: static variable 'CURRENT_DEPTH_BREADTH_DATA' is used in an inline function with external linkage [-Wstatic-in-inline] CURRENT_DEPTH_BREADTH_DATA = data; ^ ../../../library/tries/base_dbtries.c:216:1: note: use 'static' to give inline function 'set_depth_breadth_reduction_current_data' internal linkage inline void set_depth_breadth_reduction_current_data(TrData data); ^ static ../../../library/tries/base_dbtries.c:223:16: note: 'CURRENT_DEPTH_BREADTH_DATA' declared here static TrData CURRENT_DEPTH_BREADTH_DATA; ^ ../../../library/tries/base_dbtries.c:364:18: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] TrEntry trie = CURRENT_TRIE; ^ ../../../library/tries/base_dbtries.c:215:1: note: use 'static' to give inline function 'move_last_data_after' internal linkage inline void move_last_data_after(TrData moveto_data); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ In file included from ../../../library/tries/base_tries.c:408: ../../../library/tries/base_dbtries.c:383:18: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] TrEntry trie = CURRENT_TRIE; ^ ../../../library/tries/base_dbtries.c:214:1: note: use 'static' to give inline function 'move_after' internal linkage inline void move_after(TrData data_source, TrData data_dest); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ In file included from ../../../library/tries/base_tries.c:408: ../../../library/tries/base_dbtries.c:412:18: warning: static variable 'CURRENT_TRIE' is used in an inline function with external linkage [-Wstatic-in-inline] TrEntry trie = CURRENT_TRIE; ^ ../../../library/tries/base_dbtries.h:211:1: note: use 'static' to give inline function 'trie_data_order_correction' internal linkage inline void trie_data_order_correction(void); ^ static ../../../library/tries/base_tries.c:33:28: note: 'CURRENT_TRIE' declared here static TrEntry FIRST_TRIE, CURRENT_TRIE; ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:288:17: warning: inline function 'core_trie_init_module' is not defined [-Wundefined-inline] inline TrEngine core_trie_init_module(void); ^ ../../../library/tries/base_tries.c:44:17: note: used here TRIE_ENGINE = core_trie_init_module(); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:289:17: warning: inline function 'core_trie_open' is not defined [-Wundefined-inline] inline TrNode core_trie_open(TrEngine engine); ^ ../../../library/tries/base_tries.c:97:10: note: used here node = core_trie_open(TRIE_ENGINE); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:290:17: warning: inline function 'core_trie_close' is not defined [-Wundefined-inline] inline void core_trie_close(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); ^ ../../../library/tries/base_tries.c:108:3: note: used here core_trie_close(TRIE_ENGINE, TrEntry_trie(trie), &trie_data_destruct); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:291:17: warning: inline function 'core_trie_close_all' is not defined [-Wundefined-inline] inline void core_trie_close_all(TrEngine engine, void (*destruct_function)(TrNode)); ^ ../../../library/tries/base_tries.c:123:3: note: used here core_trie_close_all(TRIE_ENGINE, &trie_data_destruct); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:292:17: warning: inline function 'core_trie_set_mode' is not defined [-Wundefined-inline] inline void core_trie_set_mode(YAP_Int mode); ^ ../../../library/tries/base_tries.c:135:3: note: used here core_trie_set_mode(mode); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:293:17: warning: inline function 'core_trie_get_mode' is not defined [-Wundefined-inline] inline YAP_Int core_trie_get_mode(void); ^ ../../../library/tries/base_tries.c:142:10: note: used here return core_trie_get_mode(); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:294:17: warning: inline function 'core_trie_put_entry' is not defined [-Wundefined-inline] inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); ^ ../../../library/tries/base_tries.c:151:10: note: used here node = core_trie_put_entry(TRIE_ENGINE, TrEntry_trie(trie), entry, NULL); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:295:17: warning: inline function 'core_trie_check_entry' is not defined [-Wundefined-inline] inline TrNode core_trie_check_entry(TrNode node, YAP_Term entry); ^ ../../../library/tries/base_tries.c:164:16: note: used here if (!(node = core_trie_check_entry(TrEntry_trie(trie), entry))) ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:296:17: warning: inline function 'core_trie_get_entry' is not defined [-Wundefined-inline] inline YAP_Term core_trie_get_entry(TrNode node); ^ ../../../library/tries/base_tries.c:172:10: note: used here return core_trie_get_entry(TrData_leaf(data)); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:297:17: warning: inline function 'core_trie_remove_entry' is not defined [-Wundefined-inline] inline void core_trie_remove_entry(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); ^ ../../../library/tries/base_tries.c:234:3: note: used here core_trie_remove_entry(TRIE_ENGINE, TrData_leaf(data), &trie_data_destruct); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:298:17: warning: inline function 'core_trie_remove_subtree' is not defined [-Wundefined-inline] inline void core_trie_remove_subtree(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); ^ ../../../library/tries/base_tries.c:241:3: note: used here core_trie_remove_subtree(TRIE_ENGINE, TrData_leaf(data), &trie_data_destruct); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:300:17: warning: inline function 'core_trie_join' is not defined [-Wundefined-inline] inline void core_trie_join(TrEngine engine, TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode), void (*copy_function)(TrNode, TrNode)); ^ ../../../library/tries/base_tries.c:249:3: note: used here core_trie_join(TRIE_ENGINE, TrEntry_trie(trie_dest), TrEntry_trie(trie_source), NULL, &trie_data_copy); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:301:17: warning: inline function 'core_trie_intersect' is not defined [-Wundefined-inline] inline void core_trie_intersect(TrEngine engine, TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode), void (*destruct_function)(TrNode)); ^ ../../../library/tries/base_tries.c:256:3: note: used here core_trie_intersect(TRIE_ENGINE, TrEntry_trie(trie_dest), TrEntry_trie(trie_source), NULL, &trie_data_destruct); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:302:17: warning: inline function 'core_trie_count_join' is not defined [-Wundefined-inline] inline YAP_Int core_trie_count_join(TrNode node1, TrNode node2); ^ ../../../library/tries/base_tries.c:263:10: note: used here return core_trie_count_join(TrEntry_trie(trie1), TrEntry_trie(trie2)); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:303:17: warning: inline function 'core_trie_count_intersect' is not defined [-Wundefined-inline] inline YAP_Int core_trie_count_intersect(TrNode node1, TrNode node2); ^ ../../../library/tries/base_tries.c:269:10: note: used here return core_trie_count_intersect(TrEntry_trie(trie1), TrEntry_trie(trie2)); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:304:17: warning: inline function 'core_trie_save' is not defined [-Wundefined-inline] inline void core_trie_save(TrNode node, FILE *file, void (*save_function)(TrNode, FILE *)); ^ ../../../library/tries/base_tries.c:275:3: note: used here core_trie_save(TrEntry_trie(trie), file, NULL); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:305:17: warning: inline function 'core_trie_load' is not defined [-Wundefined-inline] inline TrNode core_trie_load(TrEngine engine, FILE *file, void (*load_function)(TrNode, YAP_Int, FILE *)); ^ ../../../library/tries/base_tries.c:287:16: note: used here if (!(node = core_trie_load(TRIE_ENGINE, file, &trie_data_load))) { ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:306:17: warning: inline function 'core_trie_stats' is not defined [-Wundefined-inline] inline void core_trie_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); ^ ../../../library/tries/base_tries.c:301:3: note: used here core_trie_stats(TRIE_ENGINE, memory, tries, entries, nodes); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:307:17: warning: inline function 'core_trie_max_stats' is not defined [-Wundefined-inline] inline void core_trie_max_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); ^ ../../../library/tries/base_tries.c:308:3: note: used here core_trie_max_stats(TRIE_ENGINE, memory, tries, entries, nodes); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:308:17: warning: inline function 'core_trie_usage' is not defined [-Wundefined-inline] inline void core_trie_usage(TrNode node, YAP_Int *entries, YAP_Int *nodes, YAP_Int *virtual_nodes); ^ ../../../library/tries/base_tries.c:315:3: note: used here core_trie_usage(TrEntry_trie(trie), entries, nodes, virtual_nodes); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:309:17: warning: inline function 'core_trie_print' is not defined [-Wundefined-inline] inline void core_trie_print(TrNode node, void (*print_function)(TrNode)); ^ ../../../library/tries/base_tries.c:322:3: note: used here core_trie_print(TrEntry_trie(trie), NULL); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:311:17: warning: inline function 'core_disable_hash_table' is not defined [-Wundefined-inline] inline void core_disable_hash_table(void); ^ ../../../library/tries/base_tries.c:379:3: note: used here core_disable_hash_table(); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:312:17: warning: inline function 'core_enable_hash_table' is not defined [-Wundefined-inline] inline void core_enable_hash_table(void); ^ ../../../library/tries/base_tries.c:386:3: note: used here core_enable_hash_table(); ^ In file included from ../../../library/tries/base_tries.c:17: ../../../library/tries/core_tries.h:314:18: warning: inline function 'core_trie_to_list' is not defined [-Wundefined-inline] inline YAP_Term core_trie_to_list(TrNode node); ^ ../../../library/tries/base_tries.c:405:10: note: used here return core_trie_to_list(TrEntry_trie(trie)); ^ In file included from ../../../library/tries/base_tries.c:17: In file included from ../../../library/tries/core_tries.h:316: ../../../library/tries/core_dbtries.h:218:18: warning: inline function 'core_set_label_counter' is not defined [-Wundefined-inline] inline void core_set_label_counter(YAP_Int value); ^ ../../../library/tries/base_dbtries.c:233:3: note: used here core_set_label_counter(start_counter); ^ In file included from ../../../library/tries/base_tries.c:17: In file included from ../../../library/tries/core_tries.h:316: ../../../library/tries/core_dbtries.h:225:18: warning: inline function 'core_set_trie_db_return_term' is not defined [-Wundefined-inline] inline void core_set_trie_db_return_term(YAP_Term return_value); ^ ../../../library/tries/base_dbtries.c:235:3: note: used here core_set_trie_db_return_term(YAP_MkAtomTerm(YAP_LookupAtom("false"))); ^ In file included from ../../../library/tries/base_tries.c:17: In file included from ../../../library/tries/core_tries.h:316: ../../../library/tries/core_dbtries.h:220:18: warning: inline function 'core_initialize_depth_breadth_trie' is not defined [-Wundefined-inline] inline void core_initialize_depth_breadth_trie(TrNode node, TrNode *depth_node, TrNode *breadth_node); ^ ../../../library/tries/base_dbtries.c:236:3: note: used here core_initialize_depth_breadth_trie(TrEntry_trie(db_trie), &depth_node, &breadth_node); ^ In file included from ../../../library/tries/base_tries.c:17: In file included from ../../../library/tries/core_tries.h:316: ../../../library/tries/core_dbtries.h:221:18: warning: inline function 'core_finalize_depth_breadth_trie' is not defined [-Wundefined-inline] inline void core_finalize_depth_breadth_trie(TrNode depth_node, TrNode breadth_node); ^ ../../../library/tries/base_dbtries.c:242:7: note: used here core_finalize_depth_breadth_trie(depth_node, breadth_node); ^ In file included from ../../../library/tries/base_tries.c:17: In file included from ../../../library/tries/core_tries.h:316: ../../../library/tries/core_dbtries.h:219:18: warning: inline function 'core_get_label_counter' is not defined [-Wundefined-inline] inline YAP_Int core_get_label_counter(void); ^ ../../../library/tries/base_dbtries.c:243:22: note: used here *end_counter = core_get_label_counter(); ^ In file included from ../../../library/tries/base_tries.c:17: In file included from ../../../library/tries/core_tries.h:316: ../../../library/tries/core_dbtries.h:224:18: warning: inline function 'core_get_trie_db_return_term' is not defined [-Wundefined-inline] inline YAP_Term core_get_trie_db_return_term(void); ^ ../../../library/tries/base_dbtries.c:256:10: note: used here return core_get_trie_db_return_term(); ^ In file included from ../../../library/tries/base_tries.c:17: In file included from ../../../library/tries/core_tries.h:316: ../../../library/tries/core_dbtries.h:226:18: warning: inline function 'core_db_trie_get_optimization_level_count' is not defined [-Wundefined-inline] inline YAP_Int core_db_trie_get_optimization_level_count(YAP_Int opt_level); ^ ../../../library/tries/base_dbtries.c:262:10: note: used here return core_db_trie_get_optimization_level_count(opt_level); ^ In file included from ../../../library/tries/base_tries.c:17: In file included from ../../../library/tries/core_tries.h:316: ../../../library/tries/core_dbtries.h:227:18: warning: inline function 'core_depth_breadth_trie_replace_nested_trie' is not defined [-Wundefined-inline] inline void core_depth_breadth_trie_replace_nested_trie(TrNode node, YAP_Int nested_trie_id, YAP_Term new_term); ^ ../../../library/tries/base_dbtries.c:274:3: note: used here core_depth_breadth_trie_replace_nested_trie(TrNode_child(TrEntry_trie(trie)), nested_trie_id, new_term); ^ In file included from ../../../library/tries/base_tries.c:17: In file included from ../../../library/tries/core_tries.h:316: ../../../library/tries/core_dbtries.h:228:18: warning: inline function 'core_get_trie_db_opt_min_prefix' is not defined [-Wundefined-inline] inline YAP_Int core_get_trie_db_opt_min_prefix(void); ^ ../../../library/tries/base_dbtries.c:281:10: note: used here return core_get_trie_db_opt_min_prefix(); ^ In file included from ../../../library/tries/base_tries.c:17: In file included from ../../../library/tries/core_tries.h:316: ../../../library/tries/core_dbtries.h:229:18: warning: inline function 'core_set_trie_db_opt_min_prefix' is not defined [-Wundefined-inline] inline void core_set_trie_db_opt_min_prefix(YAP_Int min_prefix); ^ ../../../library/tries/base_dbtries.c:287:3: note: used here core_set_trie_db_opt_min_prefix(min_prefix); ^ In file included from ../../../library/tries/base_tries.c:17: In file included from ../../../library/tries/core_tries.h:316: ../../../library/tries/core_dbtries.h:222:18: warning: inline function 'core_depth_reduction' is not defined [-Wundefined-inline] 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)); ^ ../../../library/tries/base_dbtries.c:313:12: note: used here node = core_depth_reduction(TRIE_ENGINE, TrData_leaf(data), depth_node, opt_level, &trie_data_construct, &trie_data_destruct, &trie_data_copy, &trie_data_order_correction); ^ In file included from ../../../library/tries/base_tries.c:17: In file included from ../../../library/tries/core_tries.h:316: ../../../library/tries/core_dbtries.h:223:18: warning: inline function 'core_breadth_reduction' is not defined [-Wundefined-inline] 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)); ^ ../../../library/tries/base_dbtries.c:342:12: note: used here node = core_breadth_reduction(TRIE_ENGINE, TrData_leaf(data), breadth_node, opt_level, &trie_data_construct, &trie_data_destruct, &trie_data_copy, &trie_data_order_correction); ^ 106 warnings generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -I../../../library/tries -I../.. -I../../../library/tries/../../include -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../library/tries/tries.c -o tries.o clang: warning: argument unused during compilation: '-shared' clang: warning: argument unused during compilation: '-shared' ../../../library/tries/tries.c:906:52: warning: if statement has empty body [-Wempty-body] if (YAP_Unify(arg_opt_level, opt_level->value)); ^ ../../../library/tries/tries.c:906:52: note: put the semicolon on a separate line to silence this warning In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:109:17: warning: inline function 'trie_init_module' is not defined [-Wundefined-inline] inline void trie_init_module(void); ^ ../../../library/tries/tries.c:91:3: note: used here trie_init_module(); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:117:17: warning: inline function 'trie_get_mode' is not defined [-Wundefined-inline] inline YAP_Int trie_get_mode(void); ^ ../../../library/tries/tries.c:188:18: note: used here current_mode = trie_get_mode(); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:116:17: warning: inline function 'trie_set_mode' is not defined [-Wundefined-inline] inline void trie_set_mode(YAP_Int mode); ^ ../../../library/tries/tries.c:189:3: note: used here trie_set_mode(mode); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:118:17: warning: inline function 'trie_put_entry' is not defined [-Wundefined-inline] inline TrData trie_put_entry(TrEntry trie, YAP_Term entry); ^ ../../../library/tries/tries.c:190:10: note: used here data = trie_put_entry((TrEntry) YAP_IntOfTerm(arg_trie), arg_entry); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:120:17: warning: inline function 'trie_get_entry' is not defined [-Wundefined-inline] inline YAP_Term trie_get_entry(TrData data); ^ ../../../library/tries/tries.c:223:11: note: used here entry = trie_get_entry((TrData) YAP_IntOfTerm(arg_ref)); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:113:17: warning: inline function 'trie_open' is not defined [-Wundefined-inline] inline TrEntry trie_open(void); ^ ../../../library/tries/tries.c:259:10: note: used here trie = trie_open(); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:114:17: warning: inline function 'trie_close' is not defined [-Wundefined-inline] inline void trie_close(TrEntry trie); ^ ../../../library/tries/tries.c:273:3: note: used here trie_close((TrEntry) YAP_IntOfTerm(arg_trie)); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:115:17: warning: inline function 'trie_close_all' is not defined [-Wundefined-inline] inline void trie_close_all(void); ^ ../../../library/tries/tries.c:281:3: note: used here trie_close_all(); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:119:17: warning: inline function 'trie_check_entry' is not defined [-Wundefined-inline] inline TrData trie_check_entry(TrEntry trie, YAP_Term entry); ^ ../../../library/tries/tries.c:351:16: note: used here if (!(data = trie_check_entry((TrEntry) YAP_IntOfTerm(arg_trie), arg_entry))) ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:121:17: warning: inline function 'trie_get_first_entry' is not defined [-Wundefined-inline] inline TrData trie_get_first_entry(TrEntry trie); ^ ../../../library/tries/tries.c:389:16: note: used here if (!(data = trie_get_first_entry((TrEntry) YAP_IntOfTerm(arg_trie)))) ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:122:17: warning: inline function 'trie_get_last_entry' is not defined [-Wundefined-inline] inline TrData trie_get_last_entry(TrEntry trie); ^ ../../../library/tries/tries.c:408:16: note: used here if (!(data = trie_get_last_entry((TrEntry) YAP_IntOfTerm(arg_trie)))) ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:123:17: warning: inline function 'trie_traverse_init' is not defined [-Wundefined-inline] inline TrData trie_traverse_init(TrEntry trie, TrData init_data); ^ ../../../library/tries/tries.c:430:16: note: used here if (!(data = trie_traverse_init((TrEntry) YAP_IntOfTerm(arg_trie), (TrData) YAP_IntOfTerm(arg_init_ref)))) { ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:124:17: warning: inline function 'trie_traverse_cont' is not defined [-Wundefined-inline] inline TrData trie_traverse_cont(TrEntry trie); ^ ../../../library/tries/tries.c:449:16: note: used here if (!(data = trie_traverse_cont((TrEntry) YAP_IntOfTerm(arg_trie)))) { ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:125:17: warning: inline function 'trie_remove_entry' is not defined [-Wundefined-inline] inline void trie_remove_entry(TrData data); ^ ../../../library/tries/tries.c:468:3: note: used here trie_remove_entry((TrData) YAP_IntOfTerm(arg_ref)); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:126:17: warning: inline function 'trie_remove_subtree' is not defined [-Wundefined-inline] inline void trie_remove_subtree(TrData data); ^ ../../../library/tries/tries.c:482:3: note: used here trie_remove_subtree((TrData) YAP_IntOfTerm(arg_ref)); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:127:17: warning: inline function 'trie_join' is not defined [-Wundefined-inline] inline void trie_join(TrEntry trie_dest, TrEntry trie_source); ^ ../../../library/tries/tries.c:499:3: note: used here trie_join((TrEntry) YAP_IntOfTerm(arg_trie_dest), (TrEntry) YAP_IntOfTerm(arg_trie_source)); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:128:17: warning: inline function 'trie_intersect' is not defined [-Wundefined-inline] inline void trie_intersect(TrEntry trie_dest, TrEntry trie_source); ^ ../../../library/tries/tries.c:517:3: note: used here trie_intersect((TrEntry) YAP_IntOfTerm(arg_trie_dest), (TrEntry) YAP_IntOfTerm(arg_trie_source)); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:129:17: warning: inline function 'trie_count_join' is not defined [-Wundefined-inline] inline YAP_Int trie_count_join(TrEntry trie1, TrEntry trie2); ^ ../../../library/tries/tries.c:538:13: note: used here entries = trie_count_join((TrEntry) YAP_IntOfTerm(arg_trie1), (TrEntry) YAP_IntOfTerm(arg_trie2)); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:130:17: warning: inline function 'trie_count_intersect' is not defined [-Wundefined-inline] inline YAP_Int trie_count_intersect(TrEntry trie1, TrEntry trie2); ^ ../../../library/tries/tries.c:560:13: note: used here entries = trie_count_intersect((TrEntry) YAP_IntOfTerm(arg_trie1), (TrEntry) YAP_IntOfTerm(arg_trie2)); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:131:17: warning: inline function 'trie_save' is not defined [-Wundefined-inline] inline void trie_save(TrEntry trie, FILE *file); ^ ../../../library/tries/tries.c:587:3: note: used here trie_save((TrEntry) YAP_IntOfTerm(arg_trie), file); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:132:17: warning: inline function 'trie_load' is not defined [-Wundefined-inline] inline TrEntry trie_load(FILE *file); ^ ../../../library/tries/tries.c:616:16: note: used here if (!(data = trie_load(file))) ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:133:17: warning: inline function 'trie_stats' is not defined [-Wundefined-inline] inline void trie_stats(YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); ^ ../../../library/tries/tries.c:635:3: note: used here trie_stats(&memory, &tries, &entries, &nodes); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:134:17: warning: inline function 'trie_max_stats' is not defined [-Wundefined-inline] inline void trie_max_stats(YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); ^ ../../../library/tries/tries.c:661:3: note: used here trie_max_stats(&memory, &tries, &entries, &nodes); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:135:17: warning: inline function 'trie_usage' is not defined [-Wundefined-inline] inline void trie_usage(TrEntry trie, YAP_Int *entries, YAP_Int *nodes, YAP_Int *virtual_nodes); ^ ../../../library/tries/tries.c:691:3: note: used here trie_usage((TrEntry) YAP_IntOfTerm(arg_trie), &entries, &nodes, &virtualnodes); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:136:17: warning: inline function 'trie_print' is not defined [-Wundefined-inline] inline void trie_print(TrEntry trie); ^ ../../../library/tries/tries.c:714:3: note: used here trie_print((TrEntry) YAP_IntOfTerm(arg_trie)); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:140:17: warning: inline function 'trie_get_traverse_mode' is not defined [-Wundefined-inline] inline YAP_Int trie_get_traverse_mode(void); ^ ../../../library/tries/tries.c:729:12: note: used here mode = trie_get_traverse_mode(); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:139:17: warning: inline function 'trie_set_traverse_mode' is not defined [-Wundefined-inline] inline void trie_set_traverse_mode(YAP_Int mode); ^ ../../../library/tries/tries.c:747:3: note: used here trie_set_traverse_mode(mode); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:141:17: warning: inline function 'trie_traverse_first' is not defined [-Wundefined-inline] inline TrData trie_traverse_first(TrEntry trie); ^ ../../../library/tries/tries.c:764:16: note: used here if (!(data = trie_traverse_first((TrEntry) YAP_IntOfTerm(arg_trie)))) { ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:142:17: warning: inline function 'trie_traverse_next' is not defined [-Wundefined-inline] inline TrData trie_traverse_next(TrData data); ^ ../../../library/tries/tries.c:784:16: note: used here if (!(data = trie_traverse_next((TrData) YAP_IntOfTerm(arg_cur)))) { ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:143:17: warning: inline function 'trie_disable_hash_table' is not defined [-Wundefined-inline] inline void trie_disable_hash_table(void); ^ ../../../library/tries/tries.c:795:3: note: used here trie_disable_hash_table(); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:144:17: warning: inline function 'trie_enable_hash_table' is not defined [-Wundefined-inline] inline void trie_enable_hash_table(void); ^ ../../../library/tries/tries.c:802:3: note: used here trie_enable_hash_table(); ^ In file included from ../../../library/tries/tries.c:18: ../../../library/tries/base_tries.h:146:17: warning: inline function 'trie_to_list' is not defined [-Wundefined-inline] inline YAP_Term trie_to_list(TrEntry trie); ^ ../../../library/tries/tries.c:818:10: note: used here list = trie_to_list((TrEntry) YAP_IntOfTerm(arg_trie)); ^ In file included from ../../../library/tries/tries.c:18: In file included from ../../../library/tries/base_tries.h:148: ../../../library/tries/base_dbtries.h:210:17: warning: inline function 'trie_depth_breadth' is not defined [-Wundefined-inline] inline YAP_Term trie_depth_breadth(TrEntry trie, TrEntry db_trie, YAP_Int opt_level, YAP_Int start_counter, YAP_Int *end_counter); ^ ../../../library/tries/tries.c:839:16: note: used here YAP_Term t = trie_depth_breadth((TrEntry) YAP_IntOfTerm(arg_trie), (TrEntry) YAP_IntOfTerm(arg_db_trie), YAP_IntOfTerm(arg_opt_level), YAP_IntOfTerm(arg_start_counter), &End); ^ In file included from ../../../library/tries/tries.c:18: In file included from ../../../library/tries/base_tries.h:148: ../../../library/tries/base_dbtries.h:212:17: warning: inline function 'trie_get_depth_breadth_reduction_current_data' is not defined [-Wundefined-inline] inline TrData trie_get_depth_breadth_reduction_current_data(void); ^ ../../../library/tries/tries.c:855:17: note: used here TrData data = trie_get_depth_breadth_reduction_current_data(); ^ In file included from ../../../library/tries/tries.c:18: In file included from ../../../library/tries/base_tries.h:148: ../../../library/tries/base_dbtries.h:213:17: warning: inline function 'trie_get_db_opt_level_count' is not defined [-Wundefined-inline] inline YAP_Int trie_get_db_opt_level_count(YAP_Int opt_level); ^ ../../../library/tries/tries.c:871:46: note: used here if (YAP_Unify(arg_count, YAP_MkIntTerm(trie_get_db_opt_level_count(YAP_IntOfTerm(arg_opt_level))))) { ^ In file included from ../../../library/tries/tries.c:18: In file included from ../../../library/tries/base_tries.h:148: ../../../library/tries/base_dbtries.h:214:17: warning: inline function 'trie_replace_nested_trie' is not defined [-Wundefined-inline] inline void trie_replace_nested_trie(TrEntry trie, YAP_Int nested_trie_id, YAP_Term new_term); ^ ../../../library/tries/tries.c:928:3: note: used here trie_replace_nested_trie((TrEntry) YAP_IntOfTerm(arg_trie), YAP_IntOfTerm(arg_nested_id), arg_term); ^ In file included from ../../../library/tries/tries.c:18: In file included from ../../../library/tries/base_tries.h:148: ../../../library/tries/base_dbtries.h:215:17: warning: inline function 'trie_get_db_opt_min_prefix' is not defined [-Wundefined-inline] inline YAP_Int trie_get_db_opt_min_prefix(void); ^ ../../../library/tries/tries.c:943:18: note: used here min_prefix = trie_get_db_opt_min_prefix(); ^ In file included from ../../../library/tries/tries.c:18: In file included from ../../../library/tries/base_tries.h:148: ../../../library/tries/base_dbtries.h:216:17: warning: inline function 'trie_set_db_opt_min_prefix' is not defined [-Wundefined-inline] inline void trie_set_db_opt_min_prefix(YAP_Int min_prefix); ^ ../../../library/tries/tries.c:951:7: note: used here trie_set_db_opt_min_prefix(min_prefix); ^ 39 warnings generated. x86_64-linux-gnu-gcc -shared -export-dynamic -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o tries.so core_tries.o base_tries.o tries.o -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -I../../../library/tries -I../.. -I../../../library/tries/../../include -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../library/tries/base_itries.c -o base_itries.o clang: warning: argument unused during compilation: '-shared' clang: warning: argument unused during compilation: '-shared' ../../../library/tries/base_itries.c:59:24: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:111:35: note: expanded from macro 'new_itrie_data' TrData_itrie(TR_DATA) = TR_ENTRY; \ ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:59:24: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:113:44: note: expanded from macro 'new_itrie_data' if (DEPTH >= TrEntry_num_buckets(TR_ENTRY)) { \ ^ ../../../library/tries/base_itries.h:47:38: note: expanded from macro 'TrEntry_num_buckets' #define TrEntry_num_buckets(X) ((X)->number_of_buckets) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:59:24: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:115:38: note: expanded from macro 'new_itrie_data' bucket = TrEntry_buckets(TR_ENTRY); \ ^ ../../../library/tries/base_itries.h:40:38: note: expanded from macro 'TrEntry_buckets' #define TrEntry_buckets(X) ((X)->trie_data_buckets) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:59:24: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:116:31: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:99:27: note: expanded from macro 'new_itrie_buckets' TrEntry_buckets(TR_ENTRY) = (TYPE_TR_DATA **) ptr; \ ^ ../../../library/tries/base_itries.h:40:38: note: expanded from macro 'TrEntry_buckets' #define TrEntry_buckets(X) ((X)->trie_data_buckets) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:59:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:59:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:59:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:59:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:59:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:59:24: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:117:36: note: expanded from macro 'new_itrie_data' memcpy(TrEntry_buckets(TR_ENTRY), bucket, \ ^ ../../../library/tries/base_itries.h:40:38: note: expanded from macro 'TrEntry_buckets' #define TrEntry_buckets(X) ((X)->trie_data_buckets) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:59:24: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:118:40: note: expanded from macro 'new_itrie_data' TrEntry_num_buckets(TR_ENTRY) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/base_itries.h:47:38: note: expanded from macro 'TrEntry_num_buckets' #define TrEntry_num_buckets(X) ((X)->number_of_buckets) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:59:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:119:13: note: expanded from macro 'new_itrie_data' free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY)); \ ^ ../../../library/tries/base_itries.h:158:28: note: expanded from macro 'free_itrie_buckets' DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:59:24: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:119:60: note: expanded from macro 'new_itrie_data' free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY)); \ ^ ../../../library/tries/base_itries.h:47:38: note: expanded from macro 'TrEntry_num_buckets' #define TrEntry_num_buckets(X) ((X)->number_of_buckets) ^ ../../../library/tries/base_itries.h:158:43: note: expanded from macro 'free_itrie_buckets' DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:269:39: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:59:24: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:120:38: note: expanded from macro 'new_itrie_data' bucket = TrEntry_buckets(TR_ENTRY); \ ^ ../../../library/tries/base_itries.h:40:38: note: expanded from macro 'TrEntry_buckets' #define TrEntry_buckets(X) ((X)->trie_data_buckets) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:59:24: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:121:50: note: expanded from macro 'new_itrie_data' for (i = 0; i != TrEntry_num_buckets(TR_ENTRY); i++) { \ ^ ../../../library/tries/base_itries.h:47:38: note: expanded from macro 'TrEntry_num_buckets' #define TrEntry_num_buckets(X) ((X)->number_of_buckets) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:59:24: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:126:33: note: expanded from macro 'new_itrie_data' TrEntry_num_buckets(TR_ENTRY) = new_num_buckets; \ ^ ../../../library/tries/base_itries.h:47:38: note: expanded from macro 'TrEntry_num_buckets' #define TrEntry_num_buckets(X) ((X)->number_of_buckets) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:59:24: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:128:35: note: expanded from macro 'new_itrie_data' bucket = TrEntry_bucket(TR_ENTRY, DEPTH); \ ^ ../../../library/tries/base_itries.h:41:38: note: expanded from macro 'TrEntry_bucket' #define TrEntry_bucket(X,N) ((X)->trie_data_buckets + N) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:59:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:59:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:59:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:59:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:59:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, CURRENT_ITRIE, node, pos, neg, timestamp, depth); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:173:1: note: use 'static' to give inline function 'itrie_data_load' internal linkage inline void itrie_data_load(TrNode node, YAP_Int depth, FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:80:29: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:111:35: note: expanded from macro 'new_itrie_data' TrData_itrie(TR_DATA) = TR_ENTRY; \ ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:80:29: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:113:44: note: expanded from macro 'new_itrie_data' if (DEPTH >= TrEntry_num_buckets(TR_ENTRY)) { \ ^ ../../../library/tries/base_itries.h:47:38: note: expanded from macro 'TrEntry_num_buckets' #define TrEntry_num_buckets(X) ((X)->number_of_buckets) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:80:29: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:115:38: note: expanded from macro 'new_itrie_data' bucket = TrEntry_buckets(TR_ENTRY); \ ^ ../../../library/tries/base_itries.h:40:38: note: expanded from macro 'TrEntry_buckets' #define TrEntry_buckets(X) ((X)->trie_data_buckets) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:80:29: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:116:31: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:99:27: note: expanded from macro 'new_itrie_buckets' TrEntry_buckets(TR_ENTRY) = (TYPE_TR_DATA **) ptr; \ ^ ../../../library/tries/base_itries.h:40:38: note: expanded from macro 'TrEntry_buckets' #define TrEntry_buckets(X) ((X)->trie_data_buckets) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:80:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:80:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:80:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:80:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:80:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:80:29: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:117:36: note: expanded from macro 'new_itrie_data' memcpy(TrEntry_buckets(TR_ENTRY), bucket, \ ^ ../../../library/tries/base_itries.h:40:38: note: expanded from macro 'TrEntry_buckets' #define TrEntry_buckets(X) ((X)->trie_data_buckets) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:80:29: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:118:40: note: expanded from macro 'new_itrie_data' TrEntry_num_buckets(TR_ENTRY) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/base_itries.h:47:38: note: expanded from macro 'TrEntry_num_buckets' #define TrEntry_num_buckets(X) ((X)->number_of_buckets) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:80:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:119:13: note: expanded from macro 'new_itrie_data' free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY)); \ ^ ../../../library/tries/base_itries.h:158:28: note: expanded from macro 'free_itrie_buckets' DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:80:29: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:119:60: note: expanded from macro 'new_itrie_data' free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY)); \ ^ ../../../library/tries/base_itries.h:47:38: note: expanded from macro 'TrEntry_num_buckets' #define TrEntry_num_buckets(X) ((X)->number_of_buckets) ^ ../../../library/tries/base_itries.h:158:43: note: expanded from macro 'free_itrie_buckets' DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:269:39: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:80:29: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:120:38: note: expanded from macro 'new_itrie_data' bucket = TrEntry_buckets(TR_ENTRY); \ ^ ../../../library/tries/base_itries.h:40:38: note: expanded from macro 'TrEntry_buckets' #define TrEntry_buckets(X) ((X)->trie_data_buckets) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:80:29: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:121:50: note: expanded from macro 'new_itrie_data' for (i = 0; i != TrEntry_num_buckets(TR_ENTRY); i++) { \ ^ ../../../library/tries/base_itries.h:47:38: note: expanded from macro 'TrEntry_num_buckets' #define TrEntry_num_buckets(X) ((X)->number_of_buckets) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:80:29: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:126:33: note: expanded from macro 'new_itrie_data' TrEntry_num_buckets(TR_ENTRY) = new_num_buckets; \ ^ ../../../library/tries/base_itries.h:47:38: note: expanded from macro 'TrEntry_num_buckets' #define TrEntry_num_buckets(X) ((X)->number_of_buckets) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:80:29: warning: static variable 'CURRENT_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:128:35: note: expanded from macro 'new_itrie_data' bucket = TrEntry_bucket(TR_ENTRY, DEPTH); \ ^ ../../../library/tries/base_itries.h:41:38: note: expanded from macro 'TrEntry_bucket' #define TrEntry_bucket(X,N) ((X)->trie_data_buckets + N) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:27:29: note: 'CURRENT_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:80:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:80:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:80:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:80:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:80:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] 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)); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:175:1: note: use 'static' to give inline function 'itrie_data_copy' internal linkage inline void itrie_data_copy(TrNode node_dest, TrNode node_source); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:100:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_itrie_data(data); ^ ../../../library/tries/base_itries.h:162:28: note: expanded from macro 'free_itrie_data' DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:176:1: note: use 'static' to give inline function 'itrie_data_destruct' internal linkage inline void itrie_data_destruct(TrNode node); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:139:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, node); ^ ../../../library/tries/base_itries.h:90:11: note: expanded from macro 'new_itrie_entry' new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:139:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, node); ^ ../../../library/tries/base_itries.h:90:11: note: expanded from macro 'new_itrie_entry' new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:139:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, node); ^ ../../../library/tries/base_itries.h:90:11: note: expanded from macro 'new_itrie_entry' new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:139:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, node); ^ ../../../library/tries/base_itries.h:90:11: note: expanded from macro 'new_itrie_entry' new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:139:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, node); ^ ../../../library/tries/base_itries.h:90:11: note: expanded from macro 'new_itrie_entry' new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:139:3: warning: static variable 'FIRST_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, node); ^ ../../../library/tries/base_itries.h:92:36: note: expanded from macro 'new_itrie_entry' TrEntry_next(TR_ENTRY) = FIRST_ITRIE; \ ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:27:16: note: 'FIRST_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:139:3: warning: static variable 'FIRST_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, node); ^ ../../../library/tries/base_itries.h:93:58: note: expanded from macro 'new_itrie_entry' TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_ITRIE); \ ^ ../../../library/tries/base_itries.h:76:62: note: expanded from 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 *)) ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:27:16: note: 'FIRST_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:139:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, node); ^ ../../../library/tries/base_itries.h:94:28: note: expanded from macro 'new_itrie_entry' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:139:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, node); ^ ../../../library/tries/base_itries.h:94:28: note: expanded from macro 'new_itrie_entry' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:139:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, node); ^ ../../../library/tries/base_itries.h:94:28: note: expanded from macro 'new_itrie_entry' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:139:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, node); ^ ../../../library/tries/base_itries.h:94:28: note: expanded from macro 'new_itrie_entry' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:139:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, node); ^ ../../../library/tries/base_itries.h:94:28: note: expanded from macro 'new_itrie_entry' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:141:22: warning: static variable 'FIRST_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] TrEntry_previous(FIRST_ITRIE) = itrie; ^ ../../../library/tries/base_itries.h:44:38: note: expanded from macro 'TrEntry_previous' #define TrEntry_previous(X) ((X)->previous) ^ ../../../library/tries/base_itries.h:179:1: note: use 'static' to give inline function 'itrie_open' internal linkage inline TrEntry itrie_open(void); ^ static ../../../library/tries/base_itries.c:27:16: note: 'FIRST_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:155:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_itrie_entry(itrie); ^ ../../../library/tries/base_itries.h:152:11: note: expanded from macro 'free_itrie_entry' { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR)); \ ^ ../../../library/tries/base_itries.h:158:28: note: expanded from macro 'free_itrie_buckets' DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:180:1: note: use 'static' to give inline function 'itrie_close' internal linkage inline void itrie_close(TrEntry itrie); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:155:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_itrie_entry(itrie); ^ ../../../library/tries/base_itries.h:154:28: note: expanded from macro 'free_itrie_entry' DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:180:1: note: use 'static' to give inline function 'itrie_close' internal linkage inline void itrie_close(TrEntry itrie); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:166:26: warning: static variable 'FIRST_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] itrie = TrEntry_next(FIRST_ITRIE); ^ ../../../library/tries/base_itries.h:43:38: note: expanded from macro 'TrEntry_next' #define TrEntry_next(X) ((X)->next) ^ ../../../library/tries/base_itries.h:181:1: note: use 'static' to give inline function 'itrie_close_all' internal linkage inline void itrie_close_all(void); ^ static ../../../library/tries/base_itries.c:27:16: note: 'FIRST_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:167:22: warning: static variable 'FIRST_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] free_itrie_entry(FIRST_ITRIE); ^ ../../../library/tries/base_itries.h:152:46: note: expanded from macro 'free_itrie_entry' { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR)); \ ^ ../../../library/tries/base_itries.h:40:38: note: expanded from macro 'TrEntry_buckets' #define TrEntry_buckets(X) ((X)->trie_data_buckets) ^ ../../../library/tries/base_itries.h:157:23: note: expanded from macro 'free_itrie_buckets' { free_struct(STR); \ ^ ../../../library/tries/core_tries.h:231:40: note: expanded from macro 'free_struct' YAP_FreeSpaceFromYap((char *) (STR)) ^ ../../../library/tries/base_itries.h:181:1: note: use 'static' to give inline function 'itrie_close_all' internal linkage inline void itrie_close_all(void); ^ static ../../../library/tries/base_itries.c:27:16: note: 'FIRST_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:167:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_itrie_entry(FIRST_ITRIE); ^ ../../../library/tries/base_itries.h:152:11: note: expanded from macro 'free_itrie_entry' { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR)); \ ^ ../../../library/tries/base_itries.h:158:28: note: expanded from macro 'free_itrie_buckets' DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:181:1: note: use 'static' to give inline function 'itrie_close_all' internal linkage inline void itrie_close_all(void); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:167:22: warning: static variable 'FIRST_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] free_itrie_entry(FIRST_ITRIE); ^ ../../../library/tries/base_itries.h:152:72: note: expanded from macro 'free_itrie_entry' { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR)); \ ^ ../../../library/tries/base_itries.h:47:38: note: expanded from macro 'TrEntry_num_buckets' #define TrEntry_num_buckets(X) ((X)->number_of_buckets) ^ ../../../library/tries/base_itries.h:158:43: note: expanded from macro 'free_itrie_buckets' DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:269:39: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/base_itries.h:181:1: note: use 'static' to give inline function 'itrie_close_all' internal linkage inline void itrie_close_all(void); ^ static ../../../library/tries/base_itries.c:27:16: note: 'FIRST_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:167:22: warning: static variable 'FIRST_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] free_itrie_entry(FIRST_ITRIE); ^ ../../../library/tries/base_itries.h:153:23: note: expanded from macro 'free_itrie_entry' free_struct(STR); \ ^ ../../../library/tries/core_tries.h:231:40: note: expanded from macro 'free_struct' YAP_FreeSpaceFromYap((char *) (STR)) ^ ../../../library/tries/base_itries.h:181:1: note: use 'static' to give inline function 'itrie_close_all' internal linkage inline void itrie_close_all(void); ^ static ../../../library/tries/base_itries.c:27:16: note: 'FIRST_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:167:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_itrie_entry(FIRST_ITRIE); ^ ../../../library/tries/base_itries.h:154:28: note: expanded from macro 'free_itrie_entry' DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:181:1: note: use 'static' to give inline function 'itrie_close_all' internal linkage inline void itrie_close_all(void); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:208:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, itrie, node, 0, 0, -1, depth); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:186:1: note: use 'static' to give inline function 'itrie_put_entry' internal linkage inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:208:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, itrie, node, 0, 0, -1, depth); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:186:1: note: use 'static' to give inline function 'itrie_put_entry' internal linkage inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:208:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, itrie, node, 0, 0, -1, depth); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:186:1: note: use 'static' to give inline function 'itrie_put_entry' internal linkage inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:208:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, itrie, node, 0, 0, -1, depth); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:186:1: note: use 'static' to give inline function 'itrie_put_entry' internal linkage inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:208:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, itrie, node, 0, 0, -1, depth); ^ ../../../library/tries/base_itries.h:116:13: note: expanded from macro 'new_itrie_data' new_itrie_buckets(TR_ENTRY, new_num_buckets); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:186:1: note: use 'static' to give inline function 'itrie_put_entry' internal linkage inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:208:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, itrie, node, 0, 0, -1, depth); ^ ../../../library/tries/base_itries.h:119:13: note: expanded from macro 'new_itrie_data' free_itrie_buckets(bucket, TrEntry_num_buckets(TR_ENTRY)); \ ^ ../../../library/tries/base_itries.h:158:28: note: expanded from macro 'free_itrie_buckets' DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:186:1: note: use 'static' to give inline function 'itrie_put_entry' internal linkage inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:208:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, itrie, node, 0, 0, -1, depth); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:186:1: note: use 'static' to give inline function 'itrie_put_entry' internal linkage inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:208:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, itrie, node, 0, 0, -1, depth); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:186:1: note: use 'static' to give inline function 'itrie_put_entry' internal linkage inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:208:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, itrie, node, 0, 0, -1, depth); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:186:1: note: use 'static' to give inline function 'itrie_put_entry' internal linkage inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:208:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, itrie, node, 0, 0, -1, depth); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:186:1: note: use 'static' to give inline function 'itrie_put_entry' internal linkage inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:208:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_data(data, itrie, node, 0, 0, -1, depth); ^ ../../../library/tries/base_itries.h:134:28: note: expanded from macro 'new_itrie_data' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_DATA); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:186:1: note: use 'static' to give inline function 'itrie_put_entry' internal linkage inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:371:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, NULL); ^ ../../../library/tries/base_itries.h:90:11: note: expanded from macro 'new_itrie_entry' new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:371:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, NULL); ^ ../../../library/tries/base_itries.h:90:11: note: expanded from macro 'new_itrie_entry' new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:371:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, NULL); ^ ../../../library/tries/base_itries.h:90:11: note: expanded from macro 'new_itrie_entry' new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:371:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, NULL); ^ ../../../library/tries/base_itries.h:90:11: note: expanded from macro 'new_itrie_entry' new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:371:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, NULL); ^ ../../../library/tries/base_itries.h:90:11: note: expanded from macro 'new_itrie_entry' new_itrie_buckets(TR_ENTRY, BASE_TR_DATA_BUCKETS); \ ^ ../../../library/tries/base_itries.h:102:28: note: expanded from macro 'new_itrie_buckets' INCREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:371:3: warning: static variable 'FIRST_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, NULL); ^ ../../../library/tries/base_itries.h:92:36: note: expanded from macro 'new_itrie_entry' TrEntry_next(TR_ENTRY) = FIRST_ITRIE; \ ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:27:16: note: 'FIRST_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:371:3: warning: static variable 'FIRST_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, NULL); ^ ../../../library/tries/base_itries.h:93:58: note: expanded from macro 'new_itrie_entry' TrEntry_previous(TR_ENTRY) = AS_TR_ENTRY_NEXT(&FIRST_ITRIE); \ ^ ../../../library/tries/base_itries.h:76:62: note: expanded from 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 *)) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:27:16: note: 'FIRST_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ ../../../library/tries/base_itries.c:371:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, NULL); ^ ../../../library/tries/base_itries.h:94:28: note: expanded from macro 'new_itrie_entry' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:249:27: note: expanded from macro 'INCREMENT_MEMORY' { TrEngine_memory(TR_ENGINE) += SIZE; \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:371:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, NULL); ^ ../../../library/tries/base_itries.h:94:28: note: expanded from macro 'new_itrie_entry' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:250:31: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:371:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, NULL); ^ ../../../library/tries/base_itries.h:94:28: note: expanded from macro 'new_itrie_entry' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:250:64: note: expanded from macro 'INCREMENT_MEMORY' if (TrEngine_memory(TR_ENGINE) > TrEngine_memory_max(TR_ENGINE)) \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:371:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, NULL); ^ ../../../library/tries/base_itries.h:94:28: note: expanded from macro 'new_itrie_entry' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:251:33: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:79:35: note: expanded from macro 'TrEngine_memory_max' #define TrEngine_memory_max(X) ((X)->memory_max_used) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:371:3: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] new_itrie_entry(itrie, NULL); ^ ../../../library/tries/base_itries.h:94:28: note: expanded from macro 'new_itrie_entry' INCREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:251:62: note: expanded from macro 'INCREMENT_MEMORY' TrEngine_memory_max(TR_ENGINE) = TrEngine_memory(TR_ENGINE); \ ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:374:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_itrie_entry(itrie); ^ ../../../library/tries/base_itries.h:152:11: note: expanded from macro 'free_itrie_entry' { free_itrie_buckets(TrEntry_buckets(STR), TrEntry_num_buckets(STR)); \ ^ ../../../library/tries/base_itries.h:158:28: note: expanded from macro 'free_itrie_buckets' DECREMENT_MEMORY(ITRIE_ENGINE, (NUM_BUCKETS) * SIZEOF_TR_DATA_BUCKET); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:374:5: warning: static variable 'ITRIE_ENGINE' is used in an inline function with external linkage [-Wstatic-in-inline] free_itrie_entry(itrie); ^ ../../../library/tries/base_itries.h:154:28: note: expanded from macro 'free_itrie_entry' DECREMENT_MEMORY(ITRIE_ENGINE, SIZEOF_TR_ENTRY); \ ^ ../../../library/tries/core_tries.h:269:25: note: expanded from macro 'DECREMENT_MEMORY' TrEngine_memory(TR_ENGINE) -= SIZE ^ ../../../library/tries/core_tries.h:75:35: note: expanded from macro 'TrEngine_memory' #define TrEngine_memory(X) ((X)->memory_in_use) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:26:17: note: 'ITRIE_ENGINE' declared here static TrEngine ITRIE_ENGINE; ^ ../../../library/tries/base_itries.c:379:22: warning: static variable 'FIRST_ITRIE' is used in an inline function with external linkage [-Wstatic-in-inline] TrEntry_previous(FIRST_ITRIE) = itrie; ^ ../../../library/tries/base_itries.h:44:38: note: expanded from macro 'TrEntry_previous' #define TrEntry_previous(X) ((X)->previous) ^ ../../../library/tries/base_itries.h:203:1: note: use 'static' to give inline function 'itrie_load' internal linkage inline TrEntry itrie_load(FILE *file); ^ static ../../../library/tries/base_itries.c:27:16: note: 'FIRST_ITRIE' declared here static TrEntry FIRST_ITRIE, CURRENT_ITRIE; ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:288:17: warning: inline function 'core_trie_init_module' is not defined [-Wundefined-inline] inline TrEngine core_trie_init_module(void); ^ ../../../library/tries/base_itries.c:37:18: note: used here ITRIE_ENGINE = core_trie_init_module(); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:289:17: warning: inline function 'core_trie_open' is not defined [-Wundefined-inline] inline TrNode core_trie_open(TrEngine engine); ^ ../../../library/tries/base_itries.c:138:10: note: used here node = core_trie_open(ITRIE_ENGINE); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:290:17: warning: inline function 'core_trie_close' is not defined [-Wundefined-inline] inline void core_trie_close(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); ^ ../../../library/tries/base_itries.c:149:3: note: used here core_trie_close(ITRIE_ENGINE, TrEntry_trie(itrie), &itrie_data_destruct); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:291:17: warning: inline function 'core_trie_close_all' is not defined [-Wundefined-inline] inline void core_trie_close_all(TrEngine engine, void (*destruct_function)(TrNode)); ^ ../../../library/tries/base_itries.c:164:3: note: used here core_trie_close_all(ITRIE_ENGINE, &itrie_data_destruct); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:294:17: warning: inline function 'core_trie_put_entry' is not defined [-Wundefined-inline] inline TrNode core_trie_put_entry(TrEngine engine, TrNode node, YAP_Term entry, YAP_Int *depth); ^ ../../../library/tries/base_itries.c:206:10: note: used here node = core_trie_put_entry(ITRIE_ENGINE, TrEntry_trie(itrie), entry, &depth); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:295:17: warning: inline function 'core_trie_check_entry' is not defined [-Wundefined-inline] inline TrNode core_trie_check_entry(TrNode node, YAP_Term entry); ^ ../../../library/tries/base_itries.c:221:15: note: used here if ((node = core_trie_check_entry(TrEntry_trie(itrie), entry)) != NULL) { ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:296:17: warning: inline function 'core_trie_get_entry' is not defined [-Wundefined-inline] inline YAP_Term core_trie_get_entry(TrNode node); ^ ../../../library/tries/base_itries.c:241:10: note: used here return core_trie_get_entry(TrData_leaf(data)); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:297:17: warning: inline function 'core_trie_remove_entry' is not defined [-Wundefined-inline] inline void core_trie_remove_entry(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); ^ ../../../library/tries/base_itries.c:299:3: note: used here core_trie_remove_entry(ITRIE_ENGINE, TrData_leaf(data), &itrie_data_destruct); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:298:17: warning: inline function 'core_trie_remove_subtree' is not defined [-Wundefined-inline] inline void core_trie_remove_subtree(TrEngine engine, TrNode node, void (*destruct_function)(TrNode)); ^ ../../../library/tries/base_itries.c:306:3: note: used here core_trie_remove_subtree(ITRIE_ENGINE, TrData_leaf(data), &itrie_data_destruct); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:299:17: warning: inline function 'core_trie_add' is not defined [-Wundefined-inline] inline void core_trie_add(TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode)); ^ ../../../library/tries/base_itries.c:313:3: note: used here core_trie_add(TrEntry_trie(itrie_dest), TrEntry_trie(itrie_source), &itrie_data_add); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:300:17: warning: inline function 'core_trie_join' is not defined [-Wundefined-inline] inline void core_trie_join(TrEngine engine, TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode), void (*copy_function)(TrNode, TrNode)); ^ ../../../library/tries/base_itries.c:328:3: note: used here core_trie_join(ITRIE_ENGINE, TrEntry_trie(itrie_dest), TrEntry_trie(itrie_source), &itrie_data_add, &itrie_data_copy); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:301:17: warning: inline function 'core_trie_intersect' is not defined [-Wundefined-inline] inline void core_trie_intersect(TrEngine engine, TrNode node_dest, TrNode node_source, void (*add_function)(TrNode, TrNode), void (*destruct_function)(TrNode)); ^ ../../../library/tries/base_itries.c:335:3: note: used here core_trie_intersect(ITRIE_ENGINE, TrEntry_trie(itrie_dest), TrEntry_trie(itrie_source), &itrie_data_add, &itrie_data_destruct); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:302:17: warning: inline function 'core_trie_count_join' is not defined [-Wundefined-inline] inline YAP_Int core_trie_count_join(TrNode node1, TrNode node2); ^ ../../../library/tries/base_itries.c:342:10: note: used here return core_trie_count_join(TrEntry_trie(itrie1), TrEntry_trie(itrie2)); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:303:17: warning: inline function 'core_trie_count_intersect' is not defined [-Wundefined-inline] inline YAP_Int core_trie_count_intersect(TrNode node1, TrNode node2); ^ ../../../library/tries/base_itries.c:348:10: note: used here return core_trie_count_intersect(TrEntry_trie(itrie1), TrEntry_trie(itrie2)); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:304:17: warning: inline function 'core_trie_save' is not defined [-Wundefined-inline] inline void core_trie_save(TrNode node, FILE *file, void (*save_function)(TrNode, FILE *)); ^ ../../../library/tries/base_itries.c:354:3: note: used here core_trie_save(TrEntry_trie(itrie), file, &itrie_data_save); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:305:17: warning: inline function 'core_trie_load' is not defined [-Wundefined-inline] inline TrNode core_trie_load(TrEngine engine, FILE *file, void (*load_function)(TrNode, YAP_Int, FILE *)); ^ ../../../library/tries/base_itries.c:373:16: note: used here if (!(node = core_trie_load(ITRIE_ENGINE, file, &itrie_data_load))) { ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:306:17: warning: inline function 'core_trie_stats' is not defined [-Wundefined-inline] inline void core_trie_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); ^ ../../../library/tries/base_itries.c:387:3: note: used here core_trie_stats(ITRIE_ENGINE, memory, tries, entries, nodes); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:307:17: warning: inline function 'core_trie_max_stats' is not defined [-Wundefined-inline] inline void core_trie_max_stats(TrEngine engine, YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); ^ ../../../library/tries/base_itries.c:394:3: note: used here core_trie_max_stats(ITRIE_ENGINE, memory, tries, entries, nodes); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:308:17: warning: inline function 'core_trie_usage' is not defined [-Wundefined-inline] inline void core_trie_usage(TrNode node, YAP_Int *entries, YAP_Int *nodes, YAP_Int *virtual_nodes); ^ ../../../library/tries/base_itries.c:401:3: note: used here core_trie_usage(TrEntry_trie(itrie), entries, nodes, virtual_nodes); ^ In file included from ../../../library/tries/base_itries.c:17: ../../../library/tries/core_tries.h:309:17: warning: inline function 'core_trie_print' is not defined [-Wundefined-inline] inline void core_trie_print(TrNode node, void (*print_function)(TrNode)); ^ ../../../library/tries/base_itries.c:408:3: note: used here core_trie_print(TrEntry_trie(itrie), &itrie_data_print); ^ 112 warnings generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -I../../../library/tries -I../.. -I../../../library/tries/../../include -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../library/tries/itries.c -o itries.o clang: warning: argument unused during compilation: '-shared' clang: warning: argument unused during compilation: '-shared' In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:171:17: warning: inline function 'itrie_init_module' is not defined [-Wundefined-inline] inline void itrie_init_module(void); ^ ../../../library/tries/itries.c:64:3: note: used here itrie_init_module(); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:179:17: warning: inline function 'itrie_open' is not defined [-Wundefined-inline] inline TrEntry itrie_open(void); ^ ../../../library/tries/itries.c:113:11: note: used here itrie = itrie_open(); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:180:17: warning: inline function 'itrie_close' is not defined [-Wundefined-inline] inline void itrie_close(TrEntry itrie); ^ ../../../library/tries/itries.c:127:3: note: used here itrie_close((TrEntry) YAP_IntOfTerm(arg_itrie)); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:181:17: warning: inline function 'itrie_close_all' is not defined [-Wundefined-inline] inline void itrie_close_all(void); ^ ../../../library/tries/itries.c:135:3: note: used here itrie_close_all(); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:183:17: warning: inline function 'itrie_get_mode' is not defined [-Wundefined-inline] inline YAP_Int itrie_get_mode(TrEntry itrie); ^ ../../../library/tries/itries.c:154:12: note: used here mode = itrie_get_mode((TrEntry) YAP_IntOfTerm(arg_itrie)); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:182:17: warning: inline function 'itrie_set_mode' is not defined [-Wundefined-inline] inline void itrie_set_mode(TrEntry itrie, YAP_Int mode); ^ ../../../library/tries/itries.c:184:3: note: used here itrie_set_mode((TrEntry) YAP_IntOfTerm(arg_itrie), mode); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:185:17: warning: inline function 'itrie_get_timestamp' is not defined [-Wundefined-inline] inline YAP_Int itrie_get_timestamp(TrEntry itrie); ^ ../../../library/tries/itries.c:203:12: note: used here time = itrie_get_timestamp((TrEntry) YAP_IntOfTerm(arg_itrie)); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:184:17: warning: inline function 'itrie_set_timestamp' is not defined [-Wundefined-inline] inline void itrie_set_timestamp(TrEntry itrie, YAP_Int timestamp); ^ ../../../library/tries/itries.c:210:5: note: used here itrie_set_timestamp((TrEntry) YAP_IntOfTerm(arg_itrie), time); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:186:17: warning: inline function 'itrie_put_entry' is not defined [-Wundefined-inline] inline void itrie_put_entry(TrEntry itrie, YAP_Term entry); ^ ../../../library/tries/itries.c:229:3: note: used here itrie_put_entry((TrEntry) YAP_IntOfTerm(arg_itrie), arg_entry); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:187:17: warning: inline function 'itrie_update_entry' is not defined [-Wundefined-inline] inline void itrie_update_entry(TrEntry itrie, YAP_Term entry); ^ ../../../library/tries/itries.c:245:3: note: used here itrie_update_entry((TrEntry) YAP_IntOfTerm(arg_itrie), arg_entry); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:188:17: warning: inline function 'itrie_check_entry' is not defined [-Wundefined-inline] inline TrData itrie_check_entry(TrEntry itrie, YAP_Term entry); ^ ../../../library/tries/itries.c:264:16: note: used here if (!(data = itrie_check_entry((TrEntry) YAP_IntOfTerm(arg_itrie), arg_entry))) ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:189:17: warning: inline function 'itrie_get_entry' is not defined [-Wundefined-inline] inline YAP_Term itrie_get_entry(TrData data); ^ ../../../library/tries/itries.c:284:11: note: used here entry = itrie_get_entry((TrData) YAP_IntOfTerm(arg_ref)); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:190:17: warning: inline function 'itrie_get_data' is not defined [-Wundefined-inline] inline void itrie_get_data(TrData data, YAP_Int *pos, YAP_Int *neg, YAP_Int *timestamp); ^ ../../../library/tries/itries.c:305:3: note: used here itrie_get_data((TrData) YAP_IntOfTerm(arg_ref), &pos, &neg, &time); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:191:17: warning: inline function 'itrie_traverse_init' is not defined [-Wundefined-inline] inline TrData itrie_traverse_init(TrEntry itrie); ^ ../../../library/tries/itries.c:336:16: note: used here if (!(data = itrie_traverse_init((TrEntry) YAP_IntOfTerm(arg_itrie)))) { ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:192:17: warning: inline function 'itrie_traverse_cont' is not defined [-Wundefined-inline] inline TrData itrie_traverse_cont(TrEntry itrie); ^ ../../../library/tries/itries.c:353:16: note: used here if (!(data = itrie_traverse_cont((TrEntry) YAP_IntOfTerm(arg_itrie)))) { ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:193:17: warning: inline function 'itrie_remove_entry' is not defined [-Wundefined-inline] inline void itrie_remove_entry(TrData data); ^ ../../../library/tries/itries.c:371:3: note: used here itrie_remove_entry((TrData) YAP_IntOfTerm(arg_ref)); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:194:17: warning: inline function 'itrie_remove_subtree' is not defined [-Wundefined-inline] inline void itrie_remove_subtree(TrData data); ^ ../../../library/tries/itries.c:385:3: note: used here itrie_remove_subtree((TrData) YAP_IntOfTerm(arg_ref)); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:195:17: warning: inline function 'itrie_add' is not defined [-Wundefined-inline] inline void itrie_add(TrEntry itrie_dest, TrEntry itrie_source); ^ ../../../library/tries/itries.c:402:3: note: used here itrie_add((TrEntry) YAP_IntOfTerm(arg_itrie_dest), (TrEntry) YAP_IntOfTerm(arg_itrie_source)); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:196:17: warning: inline function 'itrie_subtract' is not defined [-Wundefined-inline] inline void itrie_subtract(TrEntry itrie_dest, TrEntry itrie_source); ^ ../../../library/tries/itries.c:420:3: note: used here itrie_subtract((TrEntry) YAP_IntOfTerm(arg_itrie_dest), (TrEntry) YAP_IntOfTerm(arg_itrie_source)); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:197:17: warning: inline function 'itrie_join' is not defined [-Wundefined-inline] inline void itrie_join(TrEntry itrie_dest, TrEntry itrie_source); ^ ../../../library/tries/itries.c:438:3: note: used here itrie_join((TrEntry) YAP_IntOfTerm(arg_itrie_dest), (TrEntry) YAP_IntOfTerm(arg_itrie_source)); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:198:17: warning: inline function 'itrie_intersect' is not defined [-Wundefined-inline] inline void itrie_intersect(TrEntry itrie_dest, TrEntry itrie_source); ^ ../../../library/tries/itries.c:456:3: note: used here itrie_intersect((TrEntry) YAP_IntOfTerm(arg_itrie_dest), (TrEntry) YAP_IntOfTerm(arg_itrie_source)); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:199:17: warning: inline function 'itrie_count_join' is not defined [-Wundefined-inline] inline YAP_Int itrie_count_join(TrEntry itrie1, TrEntry itrie2); ^ ../../../library/tries/itries.c:477:13: note: used here entries = itrie_count_join((TrEntry) YAP_IntOfTerm(arg_itrie1), (TrEntry) YAP_IntOfTerm(arg_itrie2)); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:200:17: warning: inline function 'itrie_count_intersect' is not defined [-Wundefined-inline] inline YAP_Int itrie_count_intersect(TrEntry itrie1, TrEntry itrie2); ^ ../../../library/tries/itries.c:499:13: note: used here entries = itrie_count_intersect((TrEntry) YAP_IntOfTerm(arg_itrie1), (TrEntry) YAP_IntOfTerm(arg_itrie2)); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:201:17: warning: inline function 'itrie_save' is not defined [-Wundefined-inline] inline void itrie_save(TrEntry itrie, FILE *file); ^ ../../../library/tries/itries.c:526:3: note: used here itrie_save((TrEntry) YAP_IntOfTerm(arg_itrie), file); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:202:17: warning: inline function 'itrie_save_as_trie' is not defined [-Wundefined-inline] inline void itrie_save_as_trie(TrEntry itrie, FILE *file); ^ ../../../library/tries/itries.c:554:3: note: used here itrie_save_as_trie((TrEntry) YAP_IntOfTerm(arg_itrie), file); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:203:17: warning: inline function 'itrie_load' is not defined [-Wundefined-inline] inline TrEntry itrie_load(FILE *file); ^ ../../../library/tries/itries.c:583:17: note: used here if (!(itrie = itrie_load(file))) ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:204:17: warning: inline function 'itrie_stats' is not defined [-Wundefined-inline] inline void itrie_stats(YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); ^ ../../../library/tries/itries.c:644:3: note: used here itrie_stats(&memory, &tries, &entries, &nodes); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:205:17: warning: inline function 'itrie_max_stats' is not defined [-Wundefined-inline] inline void itrie_max_stats(YAP_Int *memory, YAP_Int *tries, YAP_Int *entries, YAP_Int *nodes); ^ ../../../library/tries/itries.c:670:3: note: used here itrie_max_stats(&memory, &tries, &entries, &nodes); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:206:17: warning: inline function 'itrie_usage' is not defined [-Wundefined-inline] inline void itrie_usage(TrEntry itrie, YAP_Int *entries, YAP_Int *nodes, YAP_Int *virtual_nodes); ^ ../../../library/tries/itries.c:700:3: note: used here itrie_usage((TrEntry) YAP_IntOfTerm(arg_itrie), &entries, &nodes, &virtualnodes); ^ In file included from ../../../library/tries/itries.c:18: ../../../library/tries/base_itries.h:207:17: warning: inline function 'itrie_print' is not defined [-Wundefined-inline] inline void itrie_print(TrEntry itrie); ^ ../../../library/tries/itries.c:723:3: note: used here itrie_print((TrEntry) YAP_IntOfTerm(arg_itrie)); ^ 30 warnings generated. x86_64-linux-gnu-gcc -shared -export-dynamic -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o itries.so core_tries.o base_itries.o itries.o -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib clang: warning: argument unused during compilation: '-e xport-dynamic' make[2]: Leaving directory `/«PKGBUILDDIR»/arch/library/tries' (cd packages/clib; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/packages/clib' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/error.c -o error.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/error.c:88:11: warning: unused variable 'argn' [-Wunused-variable] { int argn = va_arg(args, int); ^ 1 warning generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/unix.c -o unix.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/unix.c:33:23: warning: extra tokens at end of #include directive [-Wextra-tokens] #include u ^ // ../../../packages/clib/unix.c:372:1: warning: no previous prototype for function 'install_unix' [-Wmissing-prototypes] install_unix() ^ 2 warnings generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o unix.so error.o unix.o clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/random.c -o random.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/random.c:148:1: warning: no previous prototype for function 'install_random' [-Wmissing-prototypes] install_random() ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o random.so random.o clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/socket.c -o socket.o clang: warning: argument unused during compilation: '-shared' In file included from ../../../packages/clib/socket.c:43: ../../../packages/clib/nonblockio.h:74:9: warning: 'h_errno' macro redefined #define h_errno errno ^ /usr/include/netdb.h:58:10: note: previous definition is here # define h_errno (*__h_errno_location ()) ^ ../../../packages/clib/socket.c:78:1: warning: no previous prototype for function 'tcp_get_socket' [-Wmissing-prototypes] tcp_get_socket(term_t Socket, int *id) ^ ../../../packages/clib/socket.c:386:53: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] if ( getsockname(fd, (struct sockaddr *) &addr, &len) ) ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:129:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ ../../../packages/clib/socket.c:645:1: warning: no previous prototype for function 'uninstall_socket' [-Wmissing-prototypes] uninstall_socket() ^ 4 warnings generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/nonblockio.c -o nonblockio.o clang: warning: argument unused during compilation: '-shared' In file included from ../../../packages/clib/nonblockio.c:115: ../../../packages/clib/nonblockio.h:74:9: warning: 'h_errno' macro redefined #define h_errno errno ^ /usr/include/netdb.h:58:10: note: previous definition is here # define h_errno (*__h_errno_location ()) ^ ../../../packages/clib/nonblockio.c:281:1: warning: no previous prototype for function 'tcp_debug' [-Wmissing-prototypes] tcp_debug() ^ ../../../packages/clib/nonblockio.c:2007:37: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] slave = accept(m->socket, addr, addrlen); ^~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:245:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ ../../../packages/clib/nonblockio.c:2331:56: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] n = recvfrom(s->socket, buf, bufSize, flags, from, fromlen); ^~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:177:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ 4 warnings generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o socket.so error.o socket.o nonblockio.o -lpthread clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/form.c -o form.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/form.c:238:1: warning: no previous prototype for function 'next_line' [-Wmissing-prototypes] next_line(const char *in) ^ 1 warning generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/cgi.c -o cgi.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/cgi.c:183:1: warning: no previous prototype for function 'install_cgi' [-Wmissing-prototypes] install_cgi() ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o cgi.so error.o form.o cgi.o -lpthread clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/memfile.c -o memfile.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/memfile.c:192:1: warning: no previous prototype for function 'atom_to_encoding' [-Wmissing-prototypes] atom_to_encoding(atom_t a) ^ ../../../packages/clib/memfile.c:480:1: warning: no previous prototype for function 'install_memfile' [-Wmissing-prototypes] install_memfile() ^ 2 warnings generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o memfile.so error.o memfile.o clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/files.c -o files.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/files.c:156:1: warning: no previous prototype for function 'install_files' [-Wmissing-prototypes] install_files() ^ ../../../packages/clib/files.c:82:1: warning: unused function 'get_time_option' [-Wunused-function] get_time_option(term_t list, functor_t f, time_t def, time_t *tme) ^ 2 warnings generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o files.so error.o files.o clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/mime.c -o mime.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/mime.c:321:1: warning: no previous prototype for function 'mime_parse' [-Wmissing-prototypes] mime_parse(term_t handle, term_t result) ^ ../../../packages/clib/mime.c:374:1: warning: no previous prototype for function 'install_mime' [-Wmissing-prototypes] install_mime() ^ 2 warnings generated. (cd maildrop/rfc2045 && make) make[3]: Entering directory `/«PKGBUILDDIR»/arch/packages/clib/maildrop/rfc2045' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045.c -o rfc2045.o clang: warning: argument unused during compilation: '-shared' ../../../../../packages/clib/maildrop/rfc2045/rfc2045.c:38:17: warning: no previous prototype for function 'rfc2045_alloc' [-Wmissing-prototypes] struct rfc2045 *rfc2045_alloc() ^ ../../../../../packages/clib/maildrop/rfc2045/rfc2045.h:97:17: note: this declaration is not a prototype; add 'void' to make it a prototype for a zero-parameter function struct rfc2045 *rfc2045_alloc(); ^ void ../../../../../packages/clib/maildrop/rfc2045/rfc2045.c:179:6: warning: no previous prototype for function 'rfc2045_add_buf' [-Wmissing-prototypes] void rfc2045_add_buf( ^ ../../../../../packages/clib/maildrop/rfc2045/rfc2045.c:207:6: warning: no previous prototype for function 'rfc2045_add_workbuf' [-Wmissing-prototypes] void rfc2045_add_workbuf(struct rfc2045 *h, const char *p, size_t len) ^ ../../../../../packages/clib/maildrop/rfc2045/rfc2045.c:214:6: warning: no previous prototype for function 'rfc2045_add_workbufch' [-Wmissing-prototypes] void rfc2045_add_workbufch(struct rfc2045 *h, int c) ^ ../../../../../packages/clib/maildrop/rfc2045/rfc2045.c:1144:13: warning: no previous prototype for function 'rfc2045_getdefaultcharset' [-Wmissing-prototypes] const char *rfc2045_getdefaultcharset() ^ ../../../../../packages/clib/maildrop/rfc2045/rfc2045.h:146:13: note: this declaration is not a prototype; add 'void' to make it a prototype for a zero-parameter function const char *rfc2045_getdefaultcharset(); ^ void 5 warnings generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045acchk.c -o rfc2045acchk.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045acprep.c -o rfc2045acprep.o clang: warning: argument unused during compilation: '-shared' ../../../../../packages/clib/maildrop/rfc2045/rfc2045acprep.c:37:17: warning: no previous prototype for function 'rfc2045_alloc_ac' [-Wmissing-prototypes] struct rfc2045 *rfc2045_alloc_ac() ^ ../../../../../packages/clib/maildrop/rfc2045/rfc2045.h:160:17: note: this declaration is not a prototype; add 'void' to make it a prototype for a zero-parameter function struct rfc2045 *rfc2045_alloc_ac(); ^ void 1 warning generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045appendurl.c -o rfc2045appendurl.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045cdecode.c -o rfc2045cdecode.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045decode.c -o rfc2045decode.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045enomem.c -o rfc2045enomem.o clang: warning: argument unused during compilation: '-shared' ../../../../../packages/clib/maildrop/rfc2045/rfc2045enomem.c:6:6: warning: no previous prototype for function 'rfc2045_enomem' [-Wmissing-prototypes] void rfc2045_enomem() ^ 1 warning generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045_base64encode.c -o rfc2045_base64encode.o clang: warning: argument unused during compilation: '-shared' ../../../../../packages/clib/maildrop/rfc2045/rfc2045_base64encode.c:47:6: warning: no previous prototype for function 'rfc2045_base64encode_end' [-Wmissing-prototypes] void rfc2045_base64encode_end() ^ ../../../../../packages/clib/maildrop/rfc2045/rfc2045.h:144:6: note: this declaration is not a prototype; add 'void' to make it a prototype for a zero-parameter function void rfc2045_base64encode_end(); ^ void 1 warning generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045_fromfd.c -o rfc2045_fromfd.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045find.c -o rfc2045find.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045mkboundary.c -o rfc2045mkboundary.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045rewrite.c -o rfc2045rewrite.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045tryboundary.c -o rfc2045tryboundary.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../../../packages/clib/maildrop/rfc2045 -I../../../../../packages/clib/maildrop/rfc2045/.. -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc2045/rfc2045xdump.c -o rfc2045xdump.o clang: warning: argument unused during compilation: '-shared' rm -f librfc2045.a ar r librfc2045.a rfc2045.o rfc2045acchk.o rfc2045acprep.o rfc2045appendurl.o rfc2045cdecode.o rfc2045decode.o rfc2045enomem.o rfc2045_base64encode.o rfc2045_fromfd.o rfc2045find.o rfc2045mkboundary.o rfc2045rewrite.o rfc2045tryboundary.o rfc2045xdump.o ar: creating librfc2045.a ranlib librfc2045.a make[3]: Leaving directory `/«PKGBUILDDIR»/arch/packages/clib/maildrop/rfc2045' (cd maildrop/rfc822 && make) make[3]: Entering directory `/«PKGBUILDDIR»/arch/packages/clib/maildrop/rfc822' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc822/rfc822.c -o rfc822.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc822/rfc822_getaddr.c -o rfc822_getaddr.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc822/rfc822_getaddrs.c -o rfc822_getaddrs.o clang: warning: argument unused during compilation: '-shared' ../../../../../packages/clib/maildrop/rfc822/rfc822_getaddrs.c:14:3: warning: explicitly assigning a variable of type 'char' to itself [-Wself-assign] c=c; ~^~ 1 warning generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc822/rfc822_mkdate.c -o rfc822_mkdate.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc822/rfc822_parsedt.c -o rfc822_parsedt.o clang: warning: argument unused during compilation: '-shared' ../../../../../packages/clib/maildrop/rfc822/rfc822_parsedt.c:113:8: warning: no previous prototype for function 'rfc822_parsedt' [-Wmissing-prototypes] time_t rfc822_parsedt(const char *rfcdt) ^ ../../../../../packages/clib/maildrop/rfc822/rfc822_parsedt.c:225:13: warning: no previous prototype for function 'rfc822_mkdt' [-Wmissing-prototypes] const char *rfc822_mkdt(time_t t) ^ 2 warnings generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc822/rfc2047u.c -o rfc2047u.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc822/rfc2047.c -o rfc2047.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc822/imapsubj.c -o imapsubj.o clang: warning: argument unused during compilation: '-shared' ../../../../../packages/clib/maildrop/rfc822/imapsubj.c:73:20: warning: implicit declaration of function 'strnicmp' is invalid in C99 [-Wimplicit-function-declaration] if (p-s >= 5 && strncasecmp(p-5, "(FWD)", 5) == 0) ^ ../../../../../packages/clib/maildrop/rfc822/imapsubj.c:27:21: note: expanded from macro 'strncasecmp' #define strncasecmp strnicmp ^ 1 warning generated. x86_64-linux-gnu-gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I../../../.. -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes ../../../../../packages/clib/maildrop/rfc822/imaprefs.c -o imaprefs.o clang: warning: argument unused during compilation: '-shared' rm -f librfc822.a ar r librfc822.a rfc822.o rfc822_getaddr.o rfc822_getaddrs.o rfc822_mkdate.o rfc822_parsedt.o rfc2047u.o rfc2047.o imapsubj.o imaprefs.o ar: creating librfc822.a ranlib librfc822.a make[3]: Leaving directory `/«PKGBUILDDIR»/arch/packages/clib/maildrop/rfc822' x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o mime.so error.o mime.o maildrop/rfc2045/librfc2045.a maildrop/rfc822/librfc822.a clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/crypt.c -o crypt.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/crypt.c:163:1: warning: no previous prototype for function 'install_crypt' [-Wmissing-prototypes] install_crypt() ^ 1 warning generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/md5.c -o md5.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/md5passwd.c -o md5passwd.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/md5passwd.c:56:1: warning: no previous prototype for function 'md5_crypt' [-Wmissing-prototypes] md5_crypt(pw, salt) ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o crypt.so error.o crypt.o md5.o md5passwd.o -lcrypt -lresolv -lnss_dns -lnss_files -lcrypt -lstdc++ -lm -lreadline -lncurses -ldl -lnsl -lpthread clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/time.c -o time.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/time.c:672:1: warning: no previous prototype for function 'alarm_error' [-Wmissing-prototypes] alarm_error(term_t alarm, int err) ^ ../../../packages/clib/time.c:970:1: warning: no previous prototype for function 'install_time' [-Wmissing-prototypes] install_time() ^ ../../../packages/clib/time.c:1005:1: warning: no previous prototype for function 'uninstall_time' [-Wmissing-prototypes] uninstall_time() ^ 3 warnings generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o time.so error.o time.o -lpthread clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/readutil.c -o readutil.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/readutil.c:163:1: warning: no previous prototype for function 'install_readutil' [-Wmissing-prototypes] install_readutil() ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o readutil.so readutil.o clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/streaminfo.c -o streaminfo.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/streaminfo.c:107:1: warning: no previous prototype for function 'install_streaminfo' [-Wmissing-prototypes] install_streaminfo() ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o streaminfo.so error.o streaminfo.o clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/process.c -o process.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/process.c:1594:1: warning: no previous prototype for function 'install_process' [-Wmissing-prototypes] install_process() ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o process.so error.o process.o clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/sha4pl.c -o sha4pl.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/sha4pl.c:259:1: warning: no previous prototype for function 'install_sha4pl' [-Wmissing-prototypes] install_sha4pl() ^ 1 warning generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/sha1/sha1.c -o sha1/sha1.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/sha1/sha2.c -o sha1/sha2.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 -DUSE_SHA1 -o sha1/hmac_sha1.o ../../../packages/clib/sha1/hmac.c clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 -DUSE_SHA256 -o sha1/hmac_sha256.o ../../../packages/clib/sha1/hmac.c clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o sha4pl.so error.o sha4pl.o sha1/sha1.o sha1/sha2.o sha1/hmac_sha1.o sha1/hmac_sha256.o clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/clib -I../.. -I../../../packages/clib/../../include -I. -I../../../packages/clib/maildrop/rfc2045 -I../../../packages/clib/maildrop/rfc822 ../../../packages/clib/uri.c -o uri.o clang: warning: argument unused during compilation: '-shared' ../../../packages/clib/uri.c:1568:1: warning: no previous prototype for function 'install_uri' [-Wmissing-prototypes] install_uri() ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o uri.so uri.o -lpthread clang: warning: argument unused during compilation: '-e xport-dynamic' make[2]: Leaving directory `/«PKGBUILDDIR»/arch/packages/clib' (cd packages/http; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/packages/http' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/http -I../.. -I../../../packages/http/../../include ../../../packages/http/http_stream.c -o http_stream.o clang: warning: argument unused during compilation: '-shared' ../../../packages/http/http_stream.c:31:1: warning: no previous prototype for function 'install_http_stream' [-Wmissing-prototypes] install_http_stream() ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o http_stream.so http_stream.o clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/http -I../.. -I../../../packages/http/../../include ../../../packages/http/json.c -o json.o clang: warning: argument unused during compilation: '-shared' ../../../packages/http/json.c:149:1: warning: no previous prototype for function 'install_json' [-Wmissing-prototypes] install_json() ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o json.so json.o clang: warning: argument unused during compilation: '-e xport-dynamic' make[2]: Leaving directory `/«PKGBUILDDIR»/arch/packages/http' (cd packages/plunit; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/packages/plunit' Nothing to do for this package make[2]: Leaving directory `/«PKGBUILDDIR»/arch/packages/plunit' (cd packages/RDF; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/packages/RDF' Nothing to do for this package make[2]: Leaving directory `/«PKGBUILDDIR»/arch/packages/RDF' (cd packages/semweb; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/packages/semweb' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/semweb -I../.. -I../../../packages/semweb/../../include ../../../packages/semweb/rdf_db.c -o rdf_db.o clang: warning: argument unused during compilation: '-shared' ../../../packages/semweb/rdf_db.c:2649:1: warning: no previous prototype for function 'next_table_size' [-Wmissing-prototypes] next_table_size(long s0) ^ ../../../packages/semweb/rdf_db.c:4390:1: warning: no previous prototype for function 'put_begin_end' [-Wmissing-prototypes] put_begin_end(term_t t, functor_t be, int level) ^ ../../../packages/semweb/rdf_db.c:6569:1: warning: no previous prototype for function 'install_rdf_db' [-Wmissing-prototypes] install_rdf_db() ^ 3 warnings generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/semweb -I../.. -I../../../packages/semweb/../../include ../../../packages/semweb/atom.c -o atom.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/semweb -I../.. -I../../../packages/semweb/../../include ../../../packages/semweb/lock.c -o lock.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/semweb -I../.. -I../../../packages/semweb/../../include ../../../packages/semweb/md5.c -o md5.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/semweb -I../.. -I../../../packages/semweb/../../include ../../../packages/semweb/avl.c -o avl.o clang: warning: argument unused during compilation: '-shared' ../../../packages/semweb/avl.c:611:28: warning: implicit conversion from enumeration type 'VISIT' to different enumeration type 'SIBLING_ORDER' [-Wenum-conversion] { (*action) (tree->data, PREORDER, node, level, (int)tree->bal); ~ ^~~~~~~~ ../../../packages/semweb/avl.c:617:28: warning: implicit conversion from enumeration type 'VISIT' to different enumeration type 'SIBLING_ORDER' [-Wenum-conversion] (*action) (tree->data, INORDER, node, level, (int)tree->bal); ~ ^~~~~~~ ../../../packages/semweb/avl.c:623:28: warning: implicit conversion from enumeration type 'VISIT' to different enumeration type 'SIBLING_ORDER' [-Wenum-conversion] (*action) (tree->data, POSTORDER, node, level, (int)tree->bal); ~ ^~~~~~~~~ 3 warnings generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/semweb -I../.. -I../../../packages/semweb/../../include ../../../packages/semweb/atom_map.c -o atom_map.o clang: warning: argument unused during compilation: '-shared' ../../../packages/semweb/atom_map.c:1117:1: warning: no previous prototype for function 'rdf_statistics_literal_map' [-Wmissing-prototypes] rdf_statistics_literal_map(term_t map, term_t key) ^ ../../../packages/semweb/atom_map.c:1147:1: warning: no previous prototype for function 'install_atom_map' [-Wmissing-prototypes] install_atom_map() ^ 2 warnings generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/semweb -I../.. -I../../../packages/semweb/../../include ../../../packages/semweb/debug.c -o debug.o clang: warning: argument unused during compilation: '-shared' ../../../packages/semweb/debug.c:33:1: warning: no previous prototype for function 'rdf_debuglevel' [-Wmissing-prototypes] rdf_debuglevel() ^ ../../../packages/semweb/debug.h:31:6: note: this declaration is not a prototype; add 'void' to make it a prototype for a zero-parameter function int rdf_debuglevel(); ^ void 1 warning generated. x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/semweb -I../.. -I../../../packages/semweb/../../include ../../../packages/semweb/hash.c -o hash.o clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/semweb -I../.. -I../../../packages/semweb/../../include ../../../packages/semweb/murmur.c -o murmur.o clang: warning: argument unused during compilation: '-shared' ../../../packages/semweb/murmur.c:69:1: warning: no previous prototype for function 'rdf_murmer_hash' [-Wmissing-prototypes] rdf_murmer_hash(const void *key, int len, unsigned int seed) ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o rdf_db.so rdf_db.o atom.o lock.o md5.o avl.o atom_map.o debug.o hash.o murmur.o clang: warning: argument unused during compilation: '-e xport-dynamic' x86_64-linux-gnu-gcc -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/semweb -I../.. -I../../../packages/semweb/../../include ../../../packages/semweb/turtle.c -o turtle.o clang: warning: argument unused during compilation: '-shared' ../../../packages/semweb/turtle.c:591:1: warning: no previous prototype for function 'install_turtle' [-Wmissing-prototypes] install_turtle() ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -o turtle.so turtle.o clang: warning: argument unused during compilation: '-e xport-dynamic' make[2]: Leaving directory `/«PKGBUILDDIR»/arch/packages/semweb' (cd packages/sgml; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/packages/sgml' x86_64-linux-gnu-gcc -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/sgml -I../.. -I../../../packages/sgml/../../include -o parser.o -c ../../../packages/sgml/parser.c clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/sgml -I../.. -I../../../packages/sgml/../../include -o util.o -c ../../../packages/sgml/util.c clang: warning: argument unused during compilation: '-shared' ../../../packages/sgml/util.c:802:1: warning: no previous prototype for function 'wputs' [-Wmissing-prototypes] wputs(ichar *s) ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/sgml -I../.. -I../../../packages/sgml/../../include -o charmap.o -c ../../../packages/sgml/charmap.c clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/sgml -I../.. -I../../../packages/sgml/../../include -o catalog.o -c ../../../packages/sgml/catalog.c clang: warning: argument unused during compilation: '-shared' ../../../packages/sgml/catalog.c:159:1: warning: no previous prototype for function 'register_catalog_file_unlocked' [-Wmissing-prototypes] register_catalog_file_unlocked(const ichar *file, catalog_location where) ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/sgml -I../.. -I../../../packages/sgml/../../include -o model.o -c ../../../packages/sgml/model.c clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/sgml -I../.. -I../../../packages/sgml/../../include -o xmlns.o -c ../../../packages/sgml/xmlns.c clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/sgml -I../.. -I../../../packages/sgml/../../include -o utf8.o -c ../../../packages/sgml/utf8.c clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/sgml -I../.. -I../../../packages/sgml/../../include -o xml_unicode.o -c ../../../packages/sgml/xml_unicode.c clang: warning: argument unused during compilation: '-shared' ../../../packages/sgml/xml_unicode.c:41:1: warning: no previous prototype for function 'xml_basechar' [-Wmissing-prototypes] xml_basechar(int c) ^ ../../../packages/sgml/xml_unicode.c:798:1: warning: no previous prototype for function 'xml_ideographic' [-Wmissing-prototypes] xml_ideographic(int c) ^ ../../../packages/sgml/xml_unicode.c:810:1: warning: no previous prototype for function 'xml_combining_char' [-Wmissing-prototypes] xml_combining_char(int c) ^ ../../../packages/sgml/xml_unicode.c:1162:1: warning: no previous prototype for function 'xml_digit' [-Wmissing-prototypes] xml_digit(int c) ^ ../../../packages/sgml/xml_unicode.c:1223:1: warning: no previous prototype for function 'xml_extender' [-Wmissing-prototypes] xml_extender(int c) ^ 5 warnings generated. x86_64-linux-gnu-gcc -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/sgml -I../.. -I../../../packages/sgml/../../include -o error.o -c ../../../packages/sgml/error.c clang: warning: argument unused during compilation: '-shared' x86_64-linux-gnu-gcc -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/sgml -I../.. -I../../../packages/sgml/../../include -o sgml2pl.o -c ../../../packages/sgml/sgml2pl.c clang: warning: argument unused during compilation: '-shared' ../../../packages/sgml/sgml2pl.c:2582:1: warning: no previous prototype for function 'install' [-Wmissing-prototypes] install() ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -fPIC -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../packages/sgml -I../.. -I../../../packages/sgml/../../include -o quote.o -c ../../../packages/sgml/quote.c clang: warning: argument unused during compilation: '-shared' ../../../packages/sgml/quote.c:468:1: warning: no previous prototype for function 'install_xml_quote' [-Wmissing-prototypes] install_xml_quote() ^ 1 warning generated. x86_64-linux-gnu-gcc -shared -export-dynamic -rdynamic -Wl,-z,relro -L/«PKGBUILDDIR»/arch -Wl,-R/usr/lib -Wl,-R,/usr/lib/Yap -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 -Wl,-R,/usr/lib/Yap -Wl,-R,/usr/lib -L/«PKGBUILDDIR»/arch/packages/PLStream -lplstream clang: warning: argument unused during compilation: '-e xport-dynamic' make[2]: Leaving directory `/«PKGBUILDDIR»/arch/packages/sgml' (cd packages/swi-minisat2/C; make) make[2]: Entering directory `/«PKGBUILDDIR»/arch/packages/swi-minisat2/C' x86_64-linux-gnu-g++ -c -shared -fPIC -O3 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I../../../../packages/swi-minisat2/C -I../../.. -I../../../../packages/swi-minisat2/C/../../../include ../../../../packages/swi-minisat2/C/Solver.C -o Solver.o clang: warning: argument unused during compilation: '-shared' ../../../../packages/swi-minisat2/C/Solver.C:123:21: error: use of undeclared identifier 'Clause_new' Clause* c = Clause_new(ps, false); ^ ../../../../packages/swi-minisat2/C/Solver.C:602:29: error: use of undeclared identifier 'Clause_new' Clause* c = Clause_new(learnt_clause, true); ^ 2 errors generated. make[2]: *** [Solver.o] Error 1 make[2]: Leaving directory `/«PKGBUILDDIR»/arch/packages/swi-minisat2/C' make[1]: *** [all] Error 2 make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 make[1]: Leaving directory `/«PKGBUILDDIR»/arch' ──────────────────────────────────────────────────────────────────────────────── Build finished at 20130715-1316 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 45136 Build-Time: 145 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 12 Job: yap_6.2.2-1 Machine Architecture: amd64 Package: yap Package-Time: 206 Source-Version: 6.2.2-1 Space: 45136 Status: attempted Version: 6.2.2-1clang1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20130715-1316 Build needed 00:03:26, 45136k disc space DC-Status: Failed 207.821574508s DC-Time-Estimation: 207.821574508 versus expected 1 (r/m: 206.821574508 ; m: 1.0)