Diff of the two buildlogs: -- --- b1/build.log 2020-12-14 02:54:03.408534251 +0000 +++ b2/build.log 2020-12-14 02:55:58.984954175 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Dec 13 14:52:20 -12 2020 -I: pbuilder-time-stamp: 1607914340 +I: Current time: Sun Jan 16 23:17:22 +14 2022 +I: pbuilder-time-stamp: 1642324642 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Wed May 9 23:01:48 2018 -12 +gpgv: Signature made Fri May 11 01:01:48 2018 +14 gpgv: using RSA key 0B29D88E42E6B765B8D8EA507839619DD439668E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./sigscheme_0.9.0-1.dsc @@ -35,136 +35,170 @@ dpkg-source: info: applying aarch64.diff I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/63063/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3982/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3982/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3982/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='5f61e6cecfb340709ec4d7a441f1c41b' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='63063' - PS1='# ' - PS2='> ' + INVOCATION_ID=96d6cf33fe084e3fb60a624a5e460030 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3982 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.uTn9lXR1Ko/pbuilderrc_lYTZ --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.uTn9lXR1Ko/b1 --logfile b1/build.log sigscheme_0.9.0-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.uTn9lXR1Ko/pbuilderrc_hhyJ --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.uTn9lXR1Ko/b2 --logfile b2/build.log sigscheme_0.9.0-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.9.0-0.bpo.2-amd64 #1 SMP Debian 5.9.6-1~bpo10+1 (2020-11-19) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Dec 6 20:24 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/63063/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jan 16 23:17 sh -> bash + lrwxrwxrwx 1 root root 4 Jan 10 04:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/3982/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -236,7 +270,7 @@ Get: 32 http://deb.debian.org/debian buster/main amd64 po-debconf all 1.0.21 [248 kB] Get: 33 http://deb.debian.org/debian buster/main amd64 debhelper all 12.1.1 [1016 kB] Get: 34 http://deb.debian.org/debian buster/main amd64 pkg-config amd64 0.29-6 [63.5 kB] -Fetched 19.1 MB in 0s (53.4 MB/s) +Fetched 19.1 MB in 0s (71.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19195 files and directories currently installed.) @@ -395,7 +429,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/sigscheme-0.9.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/sigscheme-0.9.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package sigscheme dpkg-buildpackage: info: source version 0.9.0-1 dpkg-buildpackage: info: source distribution unstable @@ -964,7 +998,7 @@ config.status: executing depfiles commands config.status: executing libtool commands === configuring in libgcroots (/build/sigscheme-0.9.0/libgcroots) -configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' --cache-file=/dev/null --srcdir=. +configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' --cache-file=/dev/null --srcdir=. 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 @@ -1177,7 +1211,7 @@ Compiler version: gcc (Debian 8.3.0-6) 8.3.0 CFLAGS='-g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG' dh_auto_build - make -j15 + make -j16 make[1]: Entering directory '/build/sigscheme-0.9.0' Making all in doc make[2]: Entering directory '/build/sigscheme-0.9.0/doc' @@ -1198,12 +1232,12 @@ make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/sigscheme-0.9.0/libgcroots/m4' make[3]: Entering directory '/build/sigscheme-0.9.0/libgcroots' -/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" -DPACKAGE_STRING=\"gcroots\ 0.3.1\" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c -o mark.lo mark.c -/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" -DPACKAGE_STRING=\"gcroots\ 0.3.1\" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c -o gcroots.lo gcroots.c -/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" -DPACKAGE_STRING=\"gcroots\ 0.3.1\" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c -o mach_dep.lo mach_dep.c -libtool: compile: gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" "-DPACKAGE_STRING=\"gcroots 0.3.1\"" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c mark.c -fPIC -DPIC -o .libs/mark.o -libtool: compile: gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" "-DPACKAGE_STRING=\"gcroots 0.3.1\"" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c mach_dep.c -fPIC -DPIC -o .libs/mach_dep.o +/bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" -DPACKAGE_STRING=\"gcroots\ 0.3.1\" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c -o mark.lo mark.c +/bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" -DPACKAGE_STRING=\"gcroots\ 0.3.1\" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c -o gcroots.lo gcroots.c +/bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" -DPACKAGE_STRING=\"gcroots\ 0.3.1\" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c -o mach_dep.lo mach_dep.c libtool: compile: gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" "-DPACKAGE_STRING=\"gcroots 0.3.1\"" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c gcroots.c -fPIC -DPIC -o .libs/gcroots.o +libtool: compile: gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" "-DPACKAGE_STRING=\"gcroots 0.3.1\"" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c mach_dep.c -fPIC -DPIC -o .libs/mach_dep.o +libtool: compile: gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" "-DPACKAGE_STRING=\"gcroots 0.3.1\"" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c mark.c -fPIC -DPIC -o .libs/mark.o mark.c: In function 'GCROOTS_noop1': mark.c:35:26: warning: variable 'sink' set but not used [-Wunused-but-set-variable] static volatile word sink; @@ -1211,7 +1245,7 @@ libtool: compile: gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" "-DPACKAGE_STRING=\"gcroots 0.3.1\"" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c mark.c -o mark.o >/dev/null 2>&1 libtool: compile: gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" "-DPACKAGE_STRING=\"gcroots 0.3.1\"" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c mach_dep.c -o mach_dep.o >/dev/null 2>&1 libtool: compile: gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.3.1\" "-DPACKAGE_STRING=\"gcroots 0.3.1\"" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c gcroots.c -o gcroots.o >/dev/null 2>&1 -/bin/bash ./libtool --tag=CC --mode=link gcc -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -version-info 1:0:1 -Wl,-z,relro -Wl,-z,now -o libgcroots.la -rpath /usr/lib/x86_64-linux-gnu mark.lo gcroots.lo mach_dep.lo -ldl +/bin/sh ./libtool --tag=CC --mode=link gcc -fexceptions -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -version-info 1:0:1 -Wl,-z,relro -Wl,-z,now -o libgcroots.la -rpath /usr/lib/x86_64-linux-gnu mark.lo gcroots.lo mach_dep.lo -ldl libtool: link: gcc -shared -fPIC -DPIC .libs/mark.o .libs/gcroots.o .libs/mach_dep.o -ldl -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libgcroots.so.0 -o .libs/libgcroots.so.0.1.0 libtool: link: (cd ".libs" && rm -f "libgcroots.so.0" && ln -s "libgcroots.so.0.1.0" "libgcroots.so.0") libtool: link: (cd ".libs" && rm -f "libgcroots.so" && ln -s "libgcroots.so.0.1.0" "libgcroots.so") @@ -1228,23 +1262,23 @@ rm -f config.h rm -f config-old.h rm -f scmint.h -rm -f global.h ln -s ../../src/config.h config.h ln -s ../../src/config-old.h config-old.h +rm -f global.h ln -s ../../src/scmint.h scmint.h -ln -s ../../src/global.h global.h rm -f encoding.h +ln -s ../../src/global.h global.h rm -f encoding-dummy.h -rm -f sigscheme.h ln -s ../../src/encoding.h encoding.h +rm -f sigscheme.h ln -s ../../src/encoding-dummy.h encoding-dummy.h -ln -s ../../src/sigscheme.h sigscheme.h rm -f storage-common.h +ln -s ../../src/sigscheme.h sigscheme.h rm -f storage-fatty.h +ln -s ../../src/storage-common.h storage-common.h rm -f storage-compact.h ln -s ../../src/storage-fatty.h storage-fatty.h ln -s ../../src/storage-compact.h storage-compact.h -ln -s ../../src/storage-common.h storage-common.h make all-am make[4]: Entering directory '/build/sigscheme-0.9.0/include/sigscheme' make[4]: Nothing to be done for 'all-am'. @@ -1259,56 +1293,57 @@ make all-am make[3]: Entering directory '/build/sigscheme-0.9.0/src' gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/sigscheme-0.9.0/libgcroots/include -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o sscm-main.o `test -f 'main.c' || echo './'`main.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-alloc.lo `test -f 'alloc.c' || echo './'`alloc.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-storage.lo `test -f 'storage.c' || echo './'`storage.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-storage-gc.lo `test -f 'storage-gc.c' || echo './'`storage-gc.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-error.lo `test -f 'error.c' || echo './'`error.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-symbol.lo `test -f 'symbol.c' || echo './'`symbol.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-env.lo `test -f 'env.c' || echo './'`env.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-eval.lo `test -f 'eval.c' || echo './'`eval.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-syntax.lo `test -f 'syntax.c' || echo './'`syntax.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-procedure.lo `test -f 'procedure.c' || echo './'`procedure.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-list.lo `test -f 'list.c' || echo './'`list.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module.lo `test -f 'module.c' || echo './'`module.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-sigscheme.lo `test -f 'sigscheme.c' || echo './'`sigscheme.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-continuation.lo `test -f 'continuation.c' || echo './'`continuation.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-scmport-file.lo `test -f 'scmport-file.c' || echo './'`scmport-file.c -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c syntax.c -fPIC -DPIC -o .libs/libsscm_la-syntax.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-alloc.lo `test -f 'alloc.c' || echo './'`alloc.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-storage.lo `test -f 'storage.c' || echo './'`storage.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-storage-gc.lo `test -f 'storage-gc.c' || echo './'`storage-gc.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-error.lo `test -f 'error.c' || echo './'`error.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-symbol.lo `test -f 'symbol.c' || echo './'`symbol.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-env.lo `test -f 'env.c' || echo './'`env.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-eval.lo `test -f 'eval.c' || echo './'`eval.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-syntax.lo `test -f 'syntax.c' || echo './'`syntax.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-procedure.lo `test -f 'procedure.c' || echo './'`procedure.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-list.lo `test -f 'list.c' || echo './'`list.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module.lo `test -f 'module.c' || echo './'`module.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-sigscheme.lo `test -f 'sigscheme.c' || echo './'`sigscheme.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-continuation.lo `test -f 'continuation.c' || echo './'`continuation.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-scmport-file.lo `test -f 'scmport-file.c' || echo './'`scmport-file.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-scmport-basechar.lo `test -f 'scmport-basechar.c' || echo './'`scmport-basechar.c +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module.c -fPIC -DPIC -o .libs/libsscm_la-module.o libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c error.c -fPIC -DPIC -o .libs/libsscm_la-error.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c storage-gc.c -fPIC -DPIC -o .libs/libsscm_la-storage-gc.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c eval.c -fPIC -DPIC -o .libs/libsscm_la-eval.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c procedure.c -fPIC -DPIC -o .libs/libsscm_la-procedure.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-basechar.c -fPIC -DPIC -o .libs/libsscm_la-scmport-basechar.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c syntax.c -fPIC -DPIC -o .libs/libsscm_la-syntax.o In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/limits.h:26, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, - from sigscheme.h:43, - from syntax.c:40: + from /usr/include/stdlib.h:25, + from error.c:39: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c alloc.c -fPIC -DPIC -o .libs/libsscm_la-alloc.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c procedure.c -fPIC -DPIC -o .libs/libsscm_la-procedure.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c storage-gc.c -fPIC -DPIC -o .libs/libsscm_la-storage-gc.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c continuation.c -fPIC -DPIC -o .libs/libsscm_la-continuation.o libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c env.c -fPIC -DPIC -o .libs/libsscm_la-env.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c storage.c -fPIC -DPIC -o .libs/libsscm_la-storage.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c symbol.c -fPIC -DPIC -o .libs/libsscm_la-symbol.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c list.c -fPIC -DPIC -o .libs/libsscm_la-list.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module.c -fPIC -DPIC -o .libs/libsscm_la-module.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c eval.c -fPIC -DPIC -o .libs/libsscm_la-eval.o In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from storage-gc.c:62: + from /usr/include/string.h:26, + from module.c:41: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from alloc.c:40: + from /usr/include/limits.h:26, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, + from sigscheme.h:43, + from eval.c:40: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c symbol.c -fPIC -DPIC -o .libs/libsscm_la-symbol.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c storage.c -fPIC -DPIC -o .libs/libsscm_la-storage.o In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, - from error.c:39: + from scmport-basechar.c:44: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ @@ -1328,7 +1363,13 @@ from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from env.c:72: + from syntax.c:40: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from storage-gc.c:62: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ @@ -1339,12 +1380,8 @@ # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/limits.h:26, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, - from sigscheme.h:43, - from list.c:76: + from /usr/include/stdlib.h:25, + from continuation.c:40: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ @@ -1354,43 +1391,7 @@ from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from eval.c:40: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -In file included from syntax.c:41: -syntax.c: In function 'scm_s_quote': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -syntax.c:160:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("quote", syntax_fixed_1); - ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -syntax.c:160:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("quote", syntax_fixed_1); - ^~~~~~~~~~~~~~~~ -syntax.c: In function 'scm_s_lambda': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -syntax.c:180:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("lambda", syntax_variadic_1); - ^~~~~~~~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from module.c:41: + from env.c:72: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ @@ -1400,48 +1401,9 @@ /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -syntax.c: In function 'scm_s_setx': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -syntax.c:250:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("set!", syntax_fixed_2); - ^~~~~~~~~~~~~~~~ -syntax.c: In function 'scm_s_cond_internal': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -syntax.c:285:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("cond" /* , syntax_variadic_tailrec_0 */); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -syntax.c: In function 'scm_s_cond': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -syntax.c:378:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cond", syntax_variadic_tailrec_0); - ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -syntax.c:378:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cond", syntax_variadic_tailrec_0); - ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-file.c -fPIC -DPIC -o .libs/libsscm_la-scmport-file.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c list.c -fPIC -DPIC -o .libs/libsscm_la-list.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c alloc.c -fPIC -DPIC -o .libs/libsscm_la-alloc.o In file included from error.c:44: error.c: In function 'scm_p_error_objectp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -1462,18 +1424,8 @@ error.c:196:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("%%error-object?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -syntax.c: In function 'scm_s_case': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -syntax.c:388:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("case", syntax_variadic_tailrec_1); - ^~~~~~~~~~~~~~~~ -In file included from env.c:73: -env.c: In function 'scm_extend_environment': +In file included from eval.c:41: +eval.c: In function 'call_continuation': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -1483,8 +1435,8 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -env.c:233:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_extend_environment"); +eval.c:144:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("call_continuation"); ^~~~~~~~~~~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -1495,10 +1447,10 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -env.c:233:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_extend_environment"); +eval.c:144:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("call_continuation"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -env.c: In function 'scm_replace_environment': +eval.c: In function 'call_closure': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -1508,22 +1460,10 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -env.c:253:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_replace_environment"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -env.c:253:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_replace_environment"); +eval.c:166:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("call_closure"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -env.c: In function 'scm_update_environment': +error.c: In function 'scm_make_error_obj': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -1533,50 +1473,41 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -env.c:277:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_update_environment"); +error.c:205:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_make_error_obj"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] +error.c: In function 'scm_raise_error': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -env.c:277:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_update_environment"); +error.c:219:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_raise_error"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from list.c:77: -list.c: In function 'scm_p_pairp': +error.c: In function 'scm_p_fatal_error': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:104:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("pair?", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -list.c:104:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("pair?", procedure_fixed_1); +error.c:259:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("%%fatal-error", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_cons': +error.c: In function 'scm_p_backtrace': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:112:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cons", procedure_fixed_2); +error.c:329:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("%%backtrace", procedure_fixed_0); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -1584,59 +1515,73 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -list.c:112:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cons", procedure_fixed_2); +error.c:329:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("%%backtrace", procedure_fixed_0); ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_car': +eval.c: In function 'scm_p_eval': +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from scmport-file.c:45: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:120:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("car", procedure_fixed_1); +eval.c:462:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("eval", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_cdr': +eval.c: In function 'map_eval': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:134:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cdr", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_set_carx': +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +eval.c:560:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("(function call)"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +eval.c: In function 'scm_p_scheme_report_environment': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:148:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("set-car!", procedure_fixed_2); +eval.c:590:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("scheme-report-environment", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_set_cdrx': -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c sigscheme.c -fPIC -DPIC -o .libs/libsscm_la-sigscheme.o +eval.c: In function 'scm_p_null_environment': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:165:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("set-cdr!", procedure_fixed_2); +eval.c:609:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("null-environment", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_caar': +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from alloc.c:40: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ +eval.c: In function 'scm_p_interaction_environment': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:182:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("caar", procedure_fixed_1); +eval.c:628:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("interaction-environment", procedure_fixed_0); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -1644,88 +1589,91 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -list.c:182:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("caar", procedure_fixed_1); +eval.c:628:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("interaction-environment", procedure_fixed_0); ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_cadr': +In file included from symbol.c:44: +symbol.c: In function 'scm_intern': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:190:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cadr", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +symbol.c:75:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_intern"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -list.c:190:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cadr", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_cdar': -error.c: In function 'scm_make_error_obj': +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +symbol.c:75:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_intern"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +symbol.c: In function 'scm_symbol_bound_to': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:198:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cdar", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +symbol.c:108:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_symbol_bound_to"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -list.c:198:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cdar", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -error.c:205:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_make_error_obj"); +symbol.c:108:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_symbol_bound_to"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_cddr': +In file included from module.c:44: +module.c: In function 'scm_s_use': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:206:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cddr", procedure_fixed_1); +module.c:208:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("use", syntax_fixed_1); ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] +module.c: In function 'scm_p_require_module': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -list.c:206:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cddr", procedure_fixed_1); +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +module.c:245:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("%%require-module", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_caddr': +In file included from syntax.c:41: +syntax.c: In function 'scm_s_quote': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:214:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("caddr", procedure_fixed_1); +syntax.c:160:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("quote", syntax_fixed_1); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -1733,20 +1681,21 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -list.c:214:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("caddr", procedure_fixed_1); +syntax.c:160:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("quote", syntax_fixed_1); ^~~~~~~~~~~~~~~~ -error.c: In function 'scm_raise_error': -list.c: In function 'scm_p_cdddr': +syntax.c: In function 'scm_s_lambda': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:222:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cdddr", procedure_fixed_1); +syntax.c:180:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("lambda", syntax_variadic_1); ^~~~~~~~~~~~~~~~ +In file included from env.c:73: +env.c: In function 'scm_extend_environment': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -1756,8 +1705,8 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -error.c:219:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_raise_error"); +env.c:233:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_extend_environment"); ^~~~~~~~~~~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -1765,10 +1714,13 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -list.c:222:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("cdddr", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -env.c: In function 'scm_add_environment': +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +env.c:233:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_extend_environment"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +env.c: In function 'scm_replace_environment': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -1778,8 +1730,8 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -env.c:294:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_add_environment"); +env.c:253:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_replace_environment"); ^~~~~~~~~~~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -1790,66 +1742,44 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -env.c:294:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_add_environment"); +env.c:253:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_replace_environment"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -syntax.c: In function 'scm_s_let': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -syntax.c:494:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("let", syntax_variadic_tailrec_1); - ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_nullp': +env.c: In function 'scm_update_environment': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:230:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("null?", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -syntax.c:494:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("let", syntax_variadic_tailrec_1); - ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +env.c:277:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_update_environment"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -list.c:230:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("null?", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -error.c: In function 'scm_p_fatal_error': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -error.c:259:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("%%fatal-error", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_listp': +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +env.c:277:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_update_environment"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from procedure.c:41: +procedure.c: In function 'scm_p_eqp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:238:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("list?", procedure_fixed_1); +procedure.c:71:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("eq?", procedure_fixed_2); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -1857,18 +1787,18 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -list.c:238:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("list?", procedure_fixed_1); +procedure.c:71:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("eq?", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_list': +procedure.c: In function 'scm_p_eqvp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:252:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("list", procedure_variadic_0); +procedure.c:90:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("eqv?", procedure_fixed_2); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -1876,10 +1806,10 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -list.c:252:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("list", procedure_variadic_0); +procedure.c:90:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("eqv?", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -env.c: In function 'scm_lookup_environment': +env.c: In function 'scm_add_environment': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -1889,8 +1819,8 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -env.c:329:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_lookup_environment"); +env.c:294:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_add_environment"); ^~~~~~~~~~~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -1901,10 +1831,10 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -env.c:329:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_lookup_environment"); +env.c:294:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_add_environment"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -env.c: In function 'scm_lookup_frame': +env.c: In function 'scm_lookup_environment': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -1914,8 +1844,8 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -env.c:374:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_lookup_frame"); +env.c:329:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_lookup_environment"); ^~~~~~~~~~~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -1926,38 +1856,44 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -env.c:374:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_lookup_frame"); +env.c:329:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_lookup_environment"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_length': +syntax.c: In function 'scm_s_setx': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:314:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("length", procedure_fixed_1); +syntax.c:250:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("set!", syntax_fixed_2); ^~~~~~~~~~~~~~~~ -error.c: In function 'scm_p_backtrace': +env.c: In function 'scm_lookup_frame': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -error.c:329:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("%%backtrace", procedure_fixed_0); - ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +env.c:374:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_lookup_frame"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -error.c:329:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("%%backtrace", procedure_fixed_0); - ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +env.c:374:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_lookup_frame"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ env.c: In function 'scm_symbol_value': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -1971,16 +1907,6 @@ env.c:398:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' DECLARE_INTERNAL_FUNCTION("scm_symbol_value"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_reverse': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -list.c:354:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("reverse", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ env.c: In function 'scm_valid_environmentp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2006,16 +1932,6 @@ env.c:431:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' DECLARE_INTERNAL_FUNCTION("scm_valid_environmentp"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_list_tail': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -list.c:386:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("list-tail", procedure_fixed_2); - ^~~~~~~~~~~~~~~~ env.c: In function 'valid_framep': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2041,37 +1957,114 @@ env.c:456:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' DECLARE_INTERNAL_FUNCTION("valid_framep"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_list_ref': +env.c: In function 'scm_validate_formals': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:401:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("list-ref", procedure_fixed_2); - ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_memq': +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +env.c:505:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_validate_formals"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +env.c:505:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_validate_formals"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/limits.h:26, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, + from sigscheme.h:43, + from list.c:76: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ +In file included from continuation.c:44: +continuation.c: In function 'enter_dynamic_extent': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +continuation.c:179:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("enter_dynamic_extent"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +continuation.c: In function 'exit_dynamic_extent': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +continuation.c:197:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("exit_dynamic_extent"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +continuation.c: In function 'continuation_stack_pop': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +continuation.c:246:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("continuation_stack_pop"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +syntax.c: In function 'scm_s_cond_internal': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:426:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("memq", procedure_fixed_2); - ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_memv': +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +syntax.c:285:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("cond" /* , syntax_variadic_tailrec_0 */); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +syntax.c: In function 'scm_s_cond': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:434:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("memv", procedure_fixed_2); +syntax.c:378:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cond", syntax_variadic_tailrec_0); ^~~~~~~~~~~~~~~~ -env.c: In function 'scm_validate_formals': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +syntax.c:378:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cond", syntax_variadic_tailrec_0); + ^~~~~~~~~~~~~~~~ +continuation.c: In function 'scm_call_continuation': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -2081,51 +2074,66 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -env.c:505:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_validate_formals"); +continuation.c:330:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_call_continuation"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_member': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] +syntax.c: In function 'scm_s_case': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -env.c:505:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_validate_formals"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +syntax.c:388:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("case", syntax_variadic_tailrec_1); + ^~~~~~~~~~~~~~~~ +procedure.c: In function 'scm_p_equalp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:446:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("member", procedure_fixed_2); +procedure.c:133:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("equal?", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -In file included from procedure.c:41: -procedure.c: In function 'scm_p_eqp': -list.c: In function 'scm_p_assq': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +procedure.c:133:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("equal?", procedure_fixed_2); + ^~~~~~~~~~~~~~~~ +procedure.c: In function 'scm_p_not': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:471:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("assq", procedure_fixed_2); +procedure.c:219:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("not", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +procedure.c:219:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("not", procedure_fixed_1); ^~~~~~~~~~~~~~~~ +procedure.c: In function 'scm_p_booleanp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:71:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("eq?", procedure_fixed_2); +procedure.c:227:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("boolean?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2133,18 +2141,18 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -procedure.c:71:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("eq?", procedure_fixed_2); +procedure.c:227:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("boolean?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_p_eqvp': +procedure.c: In function 'scm_p_symbolp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:90:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("eqv?", procedure_fixed_2); +procedure.c:238:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("symbol?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2152,48 +2160,57 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -procedure.c:90:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("eqv?", procedure_fixed_2); +procedure.c:238:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("symbol?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_assv': +syntax.c: In function 'scm_s_let': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:479:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("assv", procedure_fixed_2); +syntax.c:494:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("let", syntax_variadic_tailrec_1); ^~~~~~~~~~~~~~~~ -list.c: In function 'scm_p_assoc': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +syntax.c:494:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("let", syntax_variadic_tailrec_1); + ^~~~~~~~~~~~~~~~ +procedure.c: In function 'scm_p_symbol2string': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -list.c:491:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("assoc", procedure_fixed_2); +procedure.c:246:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("symbol->string", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -syntax.c: In function 'scm_s_letstar': +procedure.c: In function 'scm_p_string2symbol': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -syntax.c:584:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("let*", syntax_variadic_tailrec_1); +procedure.c:256:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("string->symbol", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -syntax.c: In function 'scm_s_letrec': +procedure.c: In function 'scm_p_procedurep': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -syntax.c:627:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("letrec", syntax_variadic_tailrec_1); +procedure.c:269:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("procedure?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2201,36 +2218,33 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -syntax.c:627:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("letrec", syntax_variadic_tailrec_1); +procedure.c:269:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("procedure?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -In file included from symbol.c:44: -symbol.c: In function 'scm_intern': +procedure.c: In function 'scm_p_map': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -symbol.c:75:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_intern"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] +procedure.c:277:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("map", procedure_variadic_1); + ^~~~~~~~~~~~~~~~ +procedure.c: In function 'scm_map_single_arg': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -symbol.c:75:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_intern"); +procedure.c:295:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("map"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -syntax.c: In function 'scm_s_letrec_internal': +procedure.c: In function 'scm_map_multiple_args': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -2240,50 +2254,37 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -syntax.c:637:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("letrec" /* , syntax_variadic_tailrec_1 */); +procedure.c:313:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("map"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -symbol.c: In function 'scm_symbol_bound_to': +procedure.c: In function 'scm_p_for_each': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -symbol.c:108:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_symbol_bound_to"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ +procedure.c:359:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("for-each", procedure_variadic_1); + ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -symbol.c:108:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_symbol_bound_to"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -syntax.c: In function 'filter_definitions': -sigschemeinternal.h:350:53: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (SCM_MANGLE(tmp) = CAR(_lst), (_lst) = CDR(_lst), SCM_MANGLE(tmp)) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -syntax.c:720:25: note: in expansion of macro 'POP' - for (; CONSP(body); POP(body)) { - ^~~ -procedure.c: In function 'scm_p_equalp': +procedure.c:359:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("for-each", procedure_variadic_1); + ^~~~~~~~~~~~~~~~ +procedure.c: In function 'scm_p_call_with_current_continuation': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:133:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("equal?", procedure_fixed_2); +procedure.c:370:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("call-with-current-continuation", ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2291,18 +2292,18 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -procedure.c:133:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("equal?", procedure_fixed_2); +procedure.c:370:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("call-with-current-continuation", ^~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_p_not': +procedure.c: In function 'scm_p_values': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:219:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("not", procedure_fixed_1); +procedure.c:380:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("values", procedure_variadic_0); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2310,18 +2311,18 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -procedure.c:219:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("not", procedure_fixed_1); +procedure.c:380:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("values", procedure_variadic_0); ^~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_p_booleanp': +procedure.c: In function 'scm_p_call_with_values': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:227:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("boolean?", procedure_fixed_1); +procedure.c:396:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("call-with-values", procedure_fixed_tailrec_2); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2329,18 +2330,28 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -procedure.c:227:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("boolean?", procedure_fixed_1); +procedure.c:396:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("call-with-values", procedure_fixed_tailrec_2); ^~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_p_symbolp': +syntax.c: In function 'scm_s_letstar': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:238:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("symbol?", procedure_fixed_1); +syntax.c:584:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("let*", syntax_variadic_tailrec_1); + ^~~~~~~~~~~~~~~~ +syntax.c: In function 'scm_s_letrec': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +syntax.c:627:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("letrec", syntax_variadic_tailrec_1); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2348,31 +2359,41 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -procedure.c:238:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("symbol?", procedure_fixed_1); +syntax.c:627:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("letrec", syntax_variadic_tailrec_1); ^~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_p_symbol2string': +syntax.c: In function 'scm_s_letrec_internal': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:246:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("symbol->string", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_p_string2symbol': +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +syntax.c:637:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("letrec" /* , syntax_variadic_tailrec_1 */); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +syntax.c: In function 'filter_definitions': +sigschemeinternal.h:350:53: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (SCM_MANGLE(tmp) = CAR(_lst), (_lst) = CDR(_lst), SCM_MANGLE(tmp)) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +syntax.c:720:25: note: in expansion of macro 'POP' + for (; CONSP(body); POP(body)) { + ^~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c sigscheme.c -fPIC -DPIC -o .libs/libsscm_la-sigscheme.o +procedure.c: In function 'scm_p_dynamic_wind': +syntax.c: In function 'scm_s_body': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:256:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("string->symbol", procedure_fixed_1); +procedure.c:407:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("dynamic-wind", procedure_fixed_3); ^~~~~~~~~~~~~~~~ -In file included from eval.c:41: -eval.c: In function 'call_continuation': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -2382,123 +2403,154 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -eval.c:144:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("call_continuation"); +syntax.c:775:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("(body)" /* , syntax_variadic_tailrec_0 */); ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from list.c:77: +list.c: In function 'scm_p_pairp': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +list.c:104:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("pair?", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -eval.c:144:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("call_continuation"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -syntax.c: In function 'scm_s_body': +list.c:104:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("pair?", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +list.c: In function 'scm_p_cons': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -syntax.c:775:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("(body)" /* , syntax_variadic_tailrec_0 */); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-file.c -fPIC -DPIC -o .libs/libsscm_la-scmport-file.o -procedure.c: In function 'scm_p_procedurep': +list.c:112:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cons", procedure_fixed_2); + ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +list.c:112:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cons", procedure_fixed_2); + ^~~~~~~~~~~~~~~~ +list.c: In function 'scm_p_car': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:269:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("procedure?", procedure_fixed_1); +list.c:120:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("car", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] +list.c: In function 'scm_p_cdr': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -procedure.c:269:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("procedure?", procedure_fixed_1); +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +list.c:134:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cdr", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_p_map': +list.c: In function 'scm_p_set_carx': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:277:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("map", procedure_variadic_1); +list.c:148:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("set-car!", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -eval.c: In function 'call_closure': +list.c: In function 'scm_p_set_cdrx': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -eval.c:166:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("call_closure"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from module.c:44: -module.c: In function 'scm_s_use': +list.c:165:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("set-cdr!", procedure_fixed_2); + ^~~~~~~~~~~~~~~~ +list.c: In function 'scm_p_caar': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -module.c:208:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("use", syntax_fixed_1); +list.c:182:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("caar", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_map_single_arg': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +list.c:182:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("caar", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +list.c: In function 'scm_p_cadr': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -procedure.c:295:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("map"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_map_multiple_args': +list.c:190:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cadr", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +list.c:190:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cadr", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +list.c: In function 'scm_p_cdar': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -procedure.c:313:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("map"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_p_for_each': +list.c:198:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cdar", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +list.c:198:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cdar", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +list.c: In function 'scm_p_cddr': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:359:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("for-each", procedure_variadic_1); +list.c:206:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cddr", procedure_fixed_1); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2506,18 +2558,18 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -procedure.c:359:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("for-each", procedure_variadic_1); +list.c:206:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cddr", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_p_call_with_current_continuation': +list.c: In function 'scm_p_caddr': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:370:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("call-with-current-continuation", +list.c:214:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("caddr", procedure_fixed_1); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2525,18 +2577,18 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -procedure.c:370:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("call-with-current-continuation", +list.c:214:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("caddr", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_p_values': +list.c: In function 'scm_p_cdddr': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:380:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("values", procedure_variadic_0); +list.c:222:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cdddr", procedure_fixed_1); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2544,18 +2596,18 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -procedure.c:380:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("values", procedure_variadic_0); +list.c:222:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("cdddr", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_p_call_with_values': +list.c: In function 'scm_p_nullp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:396:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("call-with-values", procedure_fixed_tailrec_2); +list.c:230:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("null?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2563,161 +2615,180 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -procedure.c:396:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("call-with-values", procedure_fixed_tailrec_2); +list.c:230:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("null?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -module.c: In function 'scm_p_require_module': +list.c: In function 'scm_p_listp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -module.c:245:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("%%require-module", procedure_fixed_1); +list.c:238:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("list?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -eval.c: In function 'scm_p_eval': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +list.c:238:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("list?", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +list.c: In function 'scm_p_list': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -eval.c:462:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("eval", procedure_fixed_2); +list.c:252:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("list", procedure_variadic_0); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c continuation.c -fPIC -DPIC -o .libs/libsscm_la-continuation.o -syntax.c: In function 'scm_s_define_internal': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +list.c:252:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("list", procedure_variadic_0); + ^~~~~~~~~~~~~~~~ +list.c: In function 'scm_p_length': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -syntax.c:959:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("define"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -procedure.c: In function 'scm_p_dynamic_wind': +list.c:314:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("length", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +list.c: In function 'scm_p_reverse': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -procedure.c:407:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("dynamic-wind", procedure_fixed_3); +list.c:354:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("reverse", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -syntax.c: In function 'scm_s_define': +list.c: In function 'scm_p_list_tail': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -syntax.c:979:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("define", syntax_variadic_tailrec_1); +list.c:386:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("list-tail", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -eval.c: In function 'map_eval': +list.c: In function 'scm_p_list_ref': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -eval.c:560:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("(function call)"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -eval.c: In function 'scm_p_scheme_report_environment': +list.c:401:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("list-ref", procedure_fixed_2); + ^~~~~~~~~~~~~~~~ +list.c: In function 'scm_p_memq': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -eval.c:590:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("scheme-report-environment", procedure_fixed_1); +list.c:426:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("memq", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -eval.c: In function 'scm_p_null_environment': +list.c: In function 'scm_p_memv': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -eval.c:609:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("null-environment", procedure_fixed_1); +list.c:434:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("memv", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -eval.c: In function 'scm_p_interaction_environment': +list.c: In function 'scm_p_member': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -eval.c:628:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("interaction-environment", procedure_fixed_0); +list.c:446:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("member", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] +list.c: In function 'scm_p_assq': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -eval.c:628:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("interaction-environment", procedure_fixed_0); +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +list.c:471:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("assq", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from sigscheme.c:40: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from scmport-file.c:45: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from continuation.c:40: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c alloc.c -o libsscm_la-alloc.o >/dev/null 2>&1 -In file included from continuation.c:44: -continuation.c: In function 'enter_dynamic_extent': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] +list.c: In function 'scm_p_assv': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -continuation.c:179:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("enter_dynamic_extent"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -continuation.c: In function 'exit_dynamic_extent': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +list.c:479:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("assv", procedure_fixed_2); + ^~~~~~~~~~~~~~~~ +list.c: In function 'scm_p_assoc': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +list.c:491:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("assoc", procedure_fixed_2); + ^~~~~~~~~~~~~~~~ +syntax.c: In function 'scm_s_define_internal': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -continuation.c:197:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("exit_dynamic_extent"); +syntax.c:959:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("define"); ^~~~~~~~~~~~~~~~~~~~~~~~~ +syntax.c: In function 'scm_s_define': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +syntax.c:979:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("define", syntax_variadic_tailrec_1); + ^~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from sigscheme.c:40: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c symbol.c -o libsscm_la-symbol.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-basechar.c -o libsscm_la-scmport-basechar.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c error.c -o libsscm_la-error.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module.c -o libsscm_la-module.o >/dev/null 2>&1 In file included from sigscheme.c:45: sigscheme.c: In function 'scm_array2list': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -2744,19 +2815,6 @@ sigscheme.c:423:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' DECLARE_INTERNAL_FUNCTION("scm_array2list"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -continuation.c: In function 'continuation_stack_pop': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -continuation.c:246:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("continuation_stack_pop"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ sigscheme.c: In function 'scm_list2array': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2796,99 +2854,88 @@ sigscheme.c:485:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' DECLARE_INTERNAL_FUNCTION("scm_interpret_argv"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c symbol.c -o libsscm_la-symbol.o >/dev/null 2>&1 -continuation.c: In function 'scm_call_continuation': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -continuation.c:330:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_call_continuation"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c continuation.c -o libsscm_la-continuation.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c env.c -o libsscm_la-env.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c error.c -o libsscm_la-error.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c list.c -o libsscm_la-list.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module.c -o libsscm_la-module.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-scmport-basechar.lo `test -f 'scmport-basechar.c' || echo './'`scmport-basechar.c libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c storage.c -o libsscm_la-storage.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c storage-gc.c -o libsscm_la-storage-gc.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c procedure.c -o libsscm_la-procedure.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c continuation.c -o libsscm_la-continuation.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c sigscheme.c -o libsscm_la-sigscheme.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c alloc.c -o libsscm_la-alloc.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-file.c -o libsscm_la-scmport-file.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-encoding.lo `test -f 'encoding.c' || echo './'`encoding.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-scmport-mbchar.lo `test -f 'scmport-mbchar.c' || echo './'`scmport-mbchar.c libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c eval.c -o libsscm_la-eval.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-format.lo `test -f 'format.c' || echo './'`format.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-qquote.lo `test -f 'qquote.c' || echo './'`qquote.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-legacy-macro.lo `test -f 'legacy-macro.c' || echo './'`legacy-macro.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-promise.lo `test -f 'promise.c' || echo './'`promise.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-number.lo `test -f 'number.c' || echo './'`number.c -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-basechar.c -fPIC -DPIC -o .libs/libsscm_la-scmport-basechar.o -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-number-io.lo `test -f 'number-io.c' || echo './'`number-io.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-char.lo `test -f 'char.c' || echo './'`char.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-encoding.lo `test -f 'encoding.c' || echo './'`encoding.c +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c procedure.c -o libsscm_la-procedure.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c list.c -o libsscm_la-list.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c storage-gc.c -o libsscm_la-storage-gc.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-scmport-mbchar.lo `test -f 'scmport-mbchar.c' || echo './'`scmport-mbchar.c +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c sigscheme.c -o libsscm_la-sigscheme.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-format.lo `test -f 'format.c' || echo './'`format.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-qquote.lo `test -f 'qquote.c' || echo './'`qquote.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-legacy-macro.lo `test -f 'legacy-macro.c' || echo './'`legacy-macro.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-promise.lo `test -f 'promise.c' || echo './'`promise.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-number.lo `test -f 'number.c' || echo './'`number.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-number-io.lo `test -f 'number-io.c' || echo './'`number-io.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-char.lo `test -f 'char.c' || echo './'`char.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-string.lo `test -f 'string.c' || echo './'`string.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-string-procedure.lo `test -f 'string-procedure.c' || echo './'`string-procedure.c +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c encoding.c -fPIC -DPIC -o .libs/libsscm_la-encoding.o In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, - from scmport-basechar.c:44: + from encoding.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-string.lo `test -f 'string.c' || echo './'`string.c -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c syntax.c -o libsscm_la-syntax.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-string-procedure.lo `test -f 'string-procedure.c' || echo './'`string-procedure.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-vector.lo `test -f 'vector.c' || echo './'`vector.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-vector.lo `test -f 'vector.c' || echo './'`vector.c +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c format.c -fPIC -DPIC -o .libs/libsscm_la-format.o libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-mbchar.c -fPIC -DPIC -o .libs/libsscm_la-scmport-mbchar.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-port.lo `test -f 'port.c' || echo './'`port.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-read.lo `test -f 'read.c' || echo './'`read.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, - from scmport-mbchar.c:44: + from format.c:65: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c encoding.c -fPIC -DPIC -o .libs/libsscm_la-encoding.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-basechar.c -o libsscm_la-scmport-basechar.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-write.lo `test -f 'write.c' || echo './'`write.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, - from encoding.c:49: + from scmport-mbchar.c:44: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c format.c -fPIC -DPIC -o .libs/libsscm_la-format.o libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c qquote.c -fPIC -DPIC -o .libs/libsscm_la-qquote.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c number.c -fPIC -DPIC -o .libs/libsscm_la-number.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c legacy-macro.c -fPIC -DPIC -o .libs/libsscm_la-legacy-macro.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c promise.c -fPIC -DPIC -o .libs/libsscm_la-promise.o In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from format.c:65: + from /usr/include/limits.h:26, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, + from sigscheme.h:43, + from number.c:40: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c promise.c -fPIC -DPIC -o .libs/libsscm_la-promise.o In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from qquote.c:40: + from legacy-macro.c:37: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c legacy-macro.c -fPIC -DPIC -o .libs/libsscm_la-legacy-macro.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c number-io.c -fPIC -DPIC -o .libs/libsscm_la-number-io.o In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from promise.c:38: + from qquote.c:40: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c number.c -fPIC -DPIC -o .libs/libsscm_la-number.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c number-io.c -fPIC -DPIC -o .libs/libsscm_la-number-io.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c char.c -fPIC -DPIC -o .libs/libsscm_la-char.o In file included from format.c:70: format.c: In function 'read_width': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -2935,11 +2982,11 @@ from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from number.c:40: + from promise.c:38: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-port.lo `test -f 'port.c' || echo './'`port.c +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c syntax.c -o libsscm_la-syntax.o >/dev/null 2>&1 format.c: In function 'format_internal': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -2965,112 +3012,10 @@ from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from legacy-macro.c:37: + from char.c:40: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -In file included from qquote.c:41: -qquote.c: In function 'scm_listran': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -qquote.c:267:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("(list translator)"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -qquote.c: In function 'scm_vectran': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -qquote.c:326:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("(vector translator)"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from promise.c:39: -promise.c: In function 'scm_s_delay': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -promise.c:90:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("delay", syntax_fixed_1); - ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -promise.c:90:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("delay", syntax_fixed_1); - ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-mbchar.c -o libsscm_la-scmport-mbchar.o >/dev/null 2>&1 -promise.c: In function 'scm_p_force': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -promise.c:105:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("force", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -qquote.c: In function 'qquote_internal': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -qquote.c:428:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("quasiquote"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -qquote.c: In function 'scm_s_quasiquote': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -qquote.c:539:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("quasiquote", syntax_fixed_1); - ^~~~~~~~~~~~~~~~ -qquote.c: In function 'scm_s_unquote': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -qquote.c:562:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("unquote", syntax_fixed_1); - ^~~~~~~~~~~~~~~~ -qquote.c: In function 'scm_s_unquote_splicing': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -qquote.c:572:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("unquote-splicing", syntax_fixed_1); - ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c char.c -fPIC -DPIC -o .libs/libsscm_la-char.o In file included from number.c:41: number.c: In function 'scm_p_add': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -3150,6 +3095,26 @@ number.c:198:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("integer?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ +In file included from promise.c:39: +promise.c: In function 'scm_s_delay': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +promise.c:90:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("delay", syntax_fixed_1); + ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +promise.c:90:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("delay", syntax_fixed_1); + ^~~~~~~~~~~~~~~~ number.c: In function 'scm_p_equal': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3180,6 +3145,16 @@ number.c:241:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("<=", reduction_operator); ^~~~~~~~~~~~~~~~ +promise.c: In function 'scm_p_force': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +promise.c:105:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("force", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ number.c: In function 'scm_p_greater': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3210,6 +3185,9 @@ number.c:267:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("zero?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ +In file included from legacy-macro.c:38: +legacy-macro.c: In function 'scm_s_define_macro': +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c string.c -fPIC -DPIC -o .libs/libsscm_la-string.o number.c: In function 'scm_p_positivep': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3217,6 +3195,15 @@ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ +legacy-macro.c:85:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("define-macro", syntax_variadic_tailrec_1); + ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ number.c:277:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("positive?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ @@ -3310,10 +3297,8 @@ number.c:408:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("remainder", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c string.c -fPIC -DPIC -o .libs/libsscm_la-string.o -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-read.lo `test -f 'read.c' || echo './'`read.c -In file included from number-io.c:48: -number-io.c: In function 'scm_int2string': +In file included from qquote.c:41: +qquote.c: In function 'scm_listran': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -3323,32 +3308,51 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -number-io.c:111:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_int2string"); +qquote.c:267:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("(list translator)"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from string.c:40: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ +qquote.c: In function 'scm_vectran': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -number-io.c:111:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_int2string"); +qquote.c:326:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("(vector translator)"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -number-io.c: In function 'scm_p_number2string': +In file included from char.c:41: +char.c: In function 'scm_p_charp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -number-io.c:149:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("number->string", procedure_variadic_1); +char.c:68:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("char?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -number-io.c: In function 'scm_string2number': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +char.c:68:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("char?", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +In file included from number-io.c:48: +number-io.c: In function 'scm_int2string': +qquote.c: In function 'qquote_internal': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -3358,8 +3362,20 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -number-io.c:168:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("string->number"); +qquote.c:428:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("quasiquote"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +number-io.c:111:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_int2string"); ^~~~~~~~~~~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3370,90 +3386,58 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -number-io.c:168:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("string->number"); +number-io.c:111:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_int2string"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/limits.h:26, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, - from sigscheme.h:43, - from char.c:40: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -number-io.c: In function 'scm_p_string2number': +char.c: In function 'scm_p_char_equalp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -number-io.c:252:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("string->number", procedure_variadic_1); +char.c:76:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("char=?", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -In file included from legacy-macro.c:38: -legacy-macro.c: In function 'scm_s_define_macro': +qquote.c: In function 'scm_s_quasiquote': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -legacy-macro.c:85:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("define-macro", syntax_variadic_tailrec_1); +qquote.c:539:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("quasiquote", syntax_fixed_1); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c promise.c -o libsscm_la-promise.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c vector.c -fPIC -DPIC -o .libs/libsscm_la-vector.o -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from string.c:40: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c encoding.c -o libsscm_la-encoding.o >/dev/null 2>&1 -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/limits.h:26, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, - from sigscheme.h:43, - from vector.c:40: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -In file included from string.c:44: -string.c: In function 'scm_p_stringp': -In file included from char.c:41: -char.c: In function 'scm_p_charp': +qquote.c: In function 'scm_s_unquote': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -char.c:68:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("char?", procedure_fixed_1); +qquote.c:562:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("unquote", syntax_fixed_1); ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] +number-io.c: In function 'scm_p_number2string': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -char.c:68:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("char?", procedure_fixed_1); +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +number-io.c:149:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("number->string", procedure_variadic_1); ^~~~~~~~~~~~~~~~ -char.c: In function 'scm_p_char_equalp': +qquote.c: In function 'scm_s_unquote_splicing': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -char.c:76:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("char=?", procedure_fixed_2); +qquote.c:572:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("unquote-splicing", syntax_fixed_1); ^~~~~~~~~~~~~~~~ char.c: In function 'scm_p_char_lessp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -3465,6 +3449,7 @@ char.c:99:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("char?", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -char.c: In function 'scm_p_char_less_equalp': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -char.c:115:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("char<=?", procedure_fixed_2); - ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -string.c:71:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("string?", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +number-io.c:168:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("string->number"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -string.c:71:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("string?", procedure_fixed_1); +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +number-io.c:168:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("string->number"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +char.c: In function 'scm_p_char_less_equalp': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +char.c:115:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("char<=?", procedure_fixed_2); ^~~~~~~~~~~~~~~~ char.c: In function 'scm_p_char_greater_equalp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -3513,25 +3504,25 @@ char.c:123:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("char>=?", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -char.c: In function 'scm_p_char_ci_equalp': +number-io.c: In function 'scm_p_string2number': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -char.c:146:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("char-ci=?", procedure_fixed_2); +number-io.c:252:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("string->number", procedure_variadic_1); ^~~~~~~~~~~~~~~~ -string.c: In function 'scm_p_string_length': +char.c: In function 'scm_p_char_ci_equalp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -string.c:80:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("string-length", procedure_fixed_1); +char.c:146:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("char-ci=?", procedure_fixed_2); ^~~~~~~~~~~~~~~~ char.c: In function 'scm_p_char_ci_lessp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -3583,16 +3574,6 @@ char.c:189:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("char-alphabetic?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -string.c: In function 'scm_p_stringequalp': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -string.c:92:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("string=?", procedure_fixed_2); - ^~~~~~~~~~~~~~~~ char.c: In function 'scm_p_char_numericp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3603,7 +3584,6 @@ char.c:202:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("char-numeric?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c string-procedure.c -fPIC -DPIC -o .libs/libsscm_la-string-procedure.o char.c: In function 'scm_p_char_whitespacep': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3614,8 +3594,6 @@ char.c:215:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("char-whitespace?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -In file included from vector.c:41: -vector.c: In function 'scm_p_vectorp': char.c: In function 'scm_p_char_upper_casep': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3626,24 +3604,6 @@ char.c:228:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("char-upper-case?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -vector.c:68:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("vector?", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -vector.c:68:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("vector?", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ char.c: In function 'scm_p_char_lower_casep': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3664,25 +3624,6 @@ char.c:253:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("char->integer", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -vector.c: In function 'scm_p_vector': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -vector.c:102:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("vector", procedure_variadic_0); - ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -vector.c:102:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("vector", procedure_variadic_0); - ^~~~~~~~~~~~~~~~ char.c: In function 'scm_p_integer2char': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3693,16 +3634,6 @@ char.c:272:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("integer->char", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -string.c: In function 'scm_p_string_append': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -string.c:109:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("string-append", procedure_variadic_0); - ^~~~~~~~~~~~~~~~ char.c: In function 'scm_p_char_upcase': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3723,87 +3654,88 @@ char.c:307:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("char-downcase", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -vector.c: In function 'scm_p_vector_length': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -vector.c:110:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("vector-length", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -string.c: In function 'scm_p_string_copy': +In file included from string.c:44: +string.c: In function 'scm_p_stringp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -string.c:148:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("string-copy", procedure_fixed_1); +string.c:71:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("string?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -vector.c: In function 'scm_p_vector_ref': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -vector.c:121:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("vector-ref", procedure_fixed_2); +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +string.c:71:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("string?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -vector.c: In function 'scm_p_vector_setx': +string.c: In function 'scm_p_string_length': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -vector.c:138:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("vector-set!", procedure_fixed_3); +string.c:80:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("string-length", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -vector.c: In function 'scm_p_vector2list': +string.c: In function 'scm_p_stringequalp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -vector.c:162:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("vector->list", procedure_fixed_1); +string.c:92:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("string=?", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -vector.c: In function 'scm_p_vector_fillx': +string.c: In function 'scm_p_string_append': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -vector.c:200:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("vector-fill!", procedure_fixed_2); +string.c:109:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("string-append", procedure_variadic_0); ^~~~~~~~~~~~~~~~ -vector.c: In function 'scm_p_vector_mutablep': +string.c: In function 'scm_p_string_copy': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -vector.c:221:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("%%vector-mutable?", procedure_fixed_1); +string.c:148:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("string-copy", procedure_fixed_1); ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c promise.c -o libsscm_la-promise.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c encoding.c -o libsscm_la-encoding.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c legacy-macro.c -o libsscm_la-legacy-macro.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-mbchar.c -o libsscm_la-scmport-mbchar.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c string-procedure.c -fPIC -DPIC -o .libs/libsscm_la-string-procedure.o In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from string-procedure.c:40: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c qquote.c -o libsscm_la-qquote.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c number-io.c -o libsscm_la-number-io.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c port.c -fPIC -DPIC -o .libs/libsscm_la-port.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c string.c -o libsscm_la-string.o >/dev/null 2>&1 +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from port.c:41: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ In file included from string-procedure.c:47: string-procedure.c: In function 'scm_p_string': +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c number-io.c -o libsscm_la-number-io.o >/dev/null 2>&1 sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -3832,8 +3764,7 @@ string-procedure.c:164:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("string-ref", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c string.c -o libsscm_la-string.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-write.lo `test -f 'write.c' || echo './'`write.c +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c vector.c -fPIC -DPIC -o .libs/libsscm_la-vector.o string-procedure.c: In function 'scm_p_string_setx': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3907,6 +3838,7 @@ string-procedure.c:357:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("string<=?", procedure_fixed_2); ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c read.c -fPIC -DPIC -o .libs/libsscm_la-read.o string-procedure.c: In function 'scm_p_string_ci_greaterp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3957,6 +3889,17 @@ string-procedure.c:403:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("substring", procedure_fixed_3); ^~~~~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-load.lo `test -f 'load.c' || echo './'`load.c +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/limits.h:26, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, + from sigscheme.h:43, + from vector.c:40: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ string-procedure.c: In function 'scm_p_string2list': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3967,7 +3910,6 @@ string-procedure.c:457:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("string->list", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c number.c -o libsscm_la-number.o >/dev/null 2>&1 string-procedure.c: In function 'scm_p_list2string': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3978,6 +3920,7 @@ string-procedure.c:504:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("list->string", procedure_fixed_1); ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c write.c -fPIC -DPIC -o .libs/libsscm_la-write.o string-procedure.c: In function 'scm_p_string_fillx': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -3998,6 +3941,9 @@ string-procedure.c:615:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("%%string-mutable?", procedure_fixed_1); ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c qquote.c -o libsscm_la-qquote.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c char.c -o libsscm_la-char.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-deep-cadrs.lo `test -f 'deep-cadrs.c' || echo './'`deep-cadrs.c string-procedure.c: In function 'scm_p_string_reconstructx': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -4008,20 +3954,6 @@ string-procedure.c:626:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("%%string-reconstruct!", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c vector.c -o libsscm_la-vector.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-load.lo `test -f 'load.c' || echo './'`load.c -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c char.c -o libsscm_la-char.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c port.c -fPIC -DPIC -o .libs/libsscm_la-port.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c format.c -o libsscm_la-format.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c read.c -fPIC -DPIC -o .libs/libsscm_la-read.o -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-deep-cadrs.lo `test -f 'deep-cadrs.c' || echo './'`deep-cadrs.c -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from port.c:41: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-sscm-ext.lo `test -f 'module-sscm-ext.c' || echo './'`module-sscm-ext.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, @@ -4031,6 +3963,32 @@ /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from write.c:42: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ +In file included from vector.c:41: +vector.c: In function 'scm_p_vectorp': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +vector.c:68:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("vector?", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +vector.c:68:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("vector?", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ In file included from port.c:44: port.c: In function 'scm_p_input_portp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -4119,55 +4077,34 @@ port.c:309:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("%%set-current-input-port!", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -In file included from read.c:179: -read.c: In function 'scm_read': +port.c: In function 'scm_p_set_current_output_portx': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -read.c:411:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_read"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -read.c:411:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("scm_read"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi1.lo `test -f 'module-srfi1.c' || echo './'`module-srfi1.c -read.c: In function 'read_token': +port.c:323:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("%%set-current-output-port!", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +vector.c: In function 'scm_p_vector': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -read.c:462:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("read"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -port.c: In function 'scm_p_set_current_output_portx': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] +vector.c:102:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("vector", procedure_variadic_0); + ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -port.c:323:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("%%set-current-output-port!", procedure_fixed_1); +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +vector.c:102:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("vector", procedure_variadic_0); ^~~~~~~~~~~~~~~~ port.c: In function 'scm_p_set_current_error_portx': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -4179,32 +4116,16 @@ port.c:337:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("%%set-current-error-port!", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -read.c: In function 'read_sexpression': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -read.c:519:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("read"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -read.c: In function 'read_list': +vector.c: In function 'scm_p_vector_length': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -read.c:636:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("read"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ +vector.c:110:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("vector-length", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ port.c: In function 'scm_p_open_input_file': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -4215,32 +4136,16 @@ port.c:353:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("open-input-file", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -read.c: In function 'parse_unicode_sequence': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -read.c:716:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("read"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -read.c: In function 'read_unicode_sequence': +vector.c: In function 'scm_p_vector_ref': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -read.c:743:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("read"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ +vector.c:121:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("vector-ref", procedure_fixed_2); + ^~~~~~~~~~~~~~~~ port.c: In function 'scm_p_open_output_file': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -4251,19 +4156,16 @@ port.c:370:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("open-output-file", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -read.c: In function 'read_char': +vector.c: In function 'scm_p_vector_setx': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -read.c:774:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("read"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ +vector.c:138:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("vector-set!", procedure_fixed_3); + ^~~~~~~~~~~~~~~~ port.c: In function 'scm_p_close_input_port': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -4274,7 +4176,8 @@ port.c:386:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("close-input-port", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -read.c: In function 'read_string': +In file included from read.c:179: +read.c: In function 'scm_read': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -4284,8 +4187,20 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -read.c:825:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("read"); +read.c:411:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_read"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +read.c:411:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("scm_read"); ^~~~~~~~~~~~~~~~~~~~~~~~~ port.c: In function 'scm_p_close_output_port': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -4297,7 +4212,7 @@ port.c:402:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("close-output-port", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -read.c: In function 'read_number_or_peculiar': +read.c: In function 'read_token': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -4307,7 +4222,7 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -read.c:950:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' +read.c:462:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' DECLARE_INTERNAL_FUNCTION("read"); ^~~~~~~~~~~~~~~~~~~~~~~~~ port.c: In function 'scm_p_read_char': @@ -4329,32 +4244,6 @@ port.c:425:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("read-char", procedure_variadic_0); ^~~~~~~~~~~~~~~~ -read.c: In function 'parse_number': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -read.c:998:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("read"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ -read.c: In function 'read_number': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' - #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) - ^~~~~~~~~~~~~~~~ -read.c:1022:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' - DECLARE_INTERNAL_FUNCTION("read"); - ^~~~~~~~~~~~~~~~~~~~~~~~~ port.c: In function 'scm_p_peek_char': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -4403,7 +4292,6 @@ port.c:467:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("char-ready?", procedure_variadic_0); ^~~~~~~~~~~~~~~~ -read.c: In function 'read_quoted': sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -4413,6 +4301,7 @@ port.c:467:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("char-ready?", procedure_variadic_0); ^~~~~~~~~~~~~~~~ +read.c: In function 'read_sexpression': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ @@ -4422,37 +4311,174 @@ sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) ^~~~~~~~~~~~~~~~ -read.c:1036:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' +read.c:519:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' DECLARE_INTERNAL_FUNCTION("read"); ^~~~~~~~~~~~~~~~~~~~~~~~~ -read.c: In function 'scm_p_read': +port.c: In function 'scm_p_newline': +read.c: In function 'read_list': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -read.c:1052:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("read", procedure_variadic_0); +port.c:485:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("newline", procedure_variadic_0); ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +read.c:636:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("read"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -read.c:1052:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("read", procedure_variadic_0); +port.c:485:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("newline", procedure_variadic_0); ^~~~~~~~~~~~~~~~ -port.c: In function 'scm_p_newline': +read.c: In function 'parse_unicode_sequence': +port.c: In function 'scm_p_write_char': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -port.c:485:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("newline", procedure_variadic_0); +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +read.c:716:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("read"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +port.c:497:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("write-char", procedure_variadic_1); + ^~~~~~~~~~~~~~~~ +read.c: In function 'read_unicode_sequence': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +read.c:743:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("read"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +read.c: In function 'read_char': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +read.c:774:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("read"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +vector.c: In function 'scm_p_vector2list': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +vector.c:162:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("vector->list", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +read.c: In function 'read_string': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +read.c:825:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("read"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +read.c: In function 'read_number_or_peculiar': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +read.c:950:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("read"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +read.c: In function 'parse_number': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +read.c:998:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("read"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +read.c: In function 'read_number': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +read.c:1022:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("read"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +read.c: In function 'read_quoted': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION' + #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored) + ^~~~~~~~~~~~~~~~ +read.c:1036:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' + DECLARE_INTERNAL_FUNCTION("read"); + ^~~~~~~~~~~~~~~~~~~~~~~~~ +read.c: In function 'scm_p_read': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +read.c:1052:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("read", procedure_variadic_0); ^~~~~~~~~~~~~~~~ sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -4460,40 +4486,30 @@ sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' const char *SCM_MANGLE(name); \ ^~~~~~~~~~ -port.c:485:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("newline", procedure_variadic_0); +read.c:1052:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("read", procedure_variadic_0); ^~~~~~~~~~~~~~~~ -port.c: In function 'scm_p_write_char': +vector.c: In function 'scm_p_vector_fillx': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id ^~~~~~~~~~~~~ sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' ScmObj SCM_MANGLE(tmp); \ ^~~~~~~~~~ -port.c:497:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("write-char", procedure_variadic_1); +vector.c:200:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("vector-fill!", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi2.lo `test -f 'module-srfi2.c' || echo './'`module-srfi2.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi6.lo `test -f 'module-srfi6.c' || echo './'`module-srfi6.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-scmport-str.lo `test -f 'scmport-str.c' || echo './'`scmport-str.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi8.lo `test -f 'module-srfi8.c' || echo './'`module-srfi8.c -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c write.c -fPIC -DPIC -o .libs/libsscm_la-write.o -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from write.c:42: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c string-procedure.c -o libsscm_la-string-procedure.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c load.c -fPIC -DPIC -o .libs/libsscm_la-load.o -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi9.lo `test -f 'module-srfi9.c' || echo './'`module-srfi9.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi23.lo `test -f 'module-srfi23.c' || echo './'`module-srfi23.c -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from load.c:41: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ +vector.c: In function 'scm_p_vector_mutablep': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +vector.c:221:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("%%vector-mutable?", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c number.c -o libsscm_la-number.o >/dev/null 2>&1 In file included from write.c:48: write.c: In function 'write_internal': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -4546,6 +4562,7 @@ write.c:455:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION' DECLARE_INTERNAL_FUNCTION("write"); ^~~~~~~~~~~~~~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-sscm-ext.lo `test -f 'module-sscm-ext.c' || echo './'`module-sscm-ext.c write.c: In function 'scm_p_write': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -4584,6 +4601,42 @@ write.c:855:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("display", procedure_variadic_1); ^~~~~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi1.lo `test -f 'module-srfi1.c' || echo './'`module-srfi1.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi2.lo `test -f 'module-srfi2.c' || echo './'`module-srfi2.c +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c format.c -o libsscm_la-format.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi6.lo `test -f 'module-srfi6.c' || echo './'`module-srfi6.c +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c vector.c -o libsscm_la-vector.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-scmport-str.lo `test -f 'scmport-str.c' || echo './'`scmport-str.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi8.lo `test -f 'module-srfi8.c' || echo './'`module-srfi8.c +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c port.c -o libsscm_la-port.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c read.c -o libsscm_la-read.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c string-procedure.c -o libsscm_la-string-procedure.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c load.c -fPIC -DPIC -o .libs/libsscm_la-load.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-sscm-ext.c -fPIC -DPIC -o .libs/libsscm_la-module-sscm-ext.o +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from load.c:41: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from module-sscm-ext.c:41: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi9.lo `test -f 'module-srfi9.c' || echo './'`module-srfi9.c +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c deep-cadrs.c -fPIC -DPIC -o .libs/libsscm_la-deep-cadrs.o +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/limits.h:26, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, + from sigscheme.h:43, + from deep-cadrs.c:40: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ In file included from load.c:46: load.c: In function 'scm_set_lib_path': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -4617,6 +4670,7 @@ load.c:150:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("load-path", procedure_fixed_0); ^~~~~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi23.lo `test -f 'module-srfi23.c' || echo './'`module-srfi23.c load.c: In function 'scm_load_system_file': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -4697,26 +4751,8 @@ load.c:309:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("load", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-sscm-ext.c -fPIC -DPIC -o .libs/libsscm_la-module-sscm-ext.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c deep-cadrs.c -fPIC -DPIC -o .libs/libsscm_la-deep-cadrs.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c port.c -o libsscm_la-port.o >/dev/null 2>&1 -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/limits.h:26, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, - from sigscheme.h:43, - from deep-cadrs.c:40: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from module-sscm-ext.c:41: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c read.c -o libsscm_la-read.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi28.lo `test -f 'module-srfi28.c' || echo './'`module-srfi28.c +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c write.c -o libsscm_la-write.o >/dev/null 2>&1 In file included from module-sscm-ext.c:46: module-sscm-ext.c: In function 'scm_p_sscm_version': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -4911,7 +4947,6 @@ module-sscm-ext.c:348:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("length*", procedure_fixed_1); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi1.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi1.o In file included from deep-cadrs.c:41: deep-cadrs.c: In function 'scm_p_caaar': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -5122,6 +5157,7 @@ deep-cadrs.c:145:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("cadaar", procedure_fixed_1); ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi6.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi6.o deep-cadrs.c: In function 'scm_p_cadadr': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] #define SCM_MANGLE(id) scm_internal_##id @@ -5332,27 +5368,95 @@ DECLARE_FUNCTION("cddddr", procedure_fixed_1); ^~~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from module-srfi6.c:40: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi2.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi2.o +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from module-srfi1.c:46: + from module-srfi2.c:41: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi2.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi2.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi1.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi1.o +In file included from module-srfi6.c:43: +module-srfi6.c: In function 'scm_p_srfi6_open_input_string': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +module-srfi6.c:92:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("open-input-string", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +module-srfi6.c: In function 'scm_p_srfi6_open_output_string': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +module-srfi6.c:109:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("open-output-string", procedure_fixed_0); + ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +module-srfi6.c:109:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("open-output-string", procedure_fixed_0); + ^~~~~~~~~~~~~~~~ +module-srfi6.c: In function 'scm_p_srfi6_get_output_string': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +module-srfi6.c:126:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("get-output-string", procedure_fixed_1); + ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c deep-cadrs.c -o libsscm_la-deep-cadrs.o >/dev/null 2>&1 In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from module-srfi2.c:41: + from module-srfi1.c:46: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ +In file included from module-srfi2.c:42: +module-srfi2.c: In function 'scm_s_srfi2_and_letstar': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +module-srfi2.c:74:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("and-let*", syntax_variadic_tailrec_1); + ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-str.c -fPIC -DPIC -o .libs/libsscm_la-scmport-str.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c load.c -o libsscm_la-load.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi6.c -o libsscm_la-module-srfi6.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi34.lo `test -f 'module-srfi34.c' || echo './'`module-srfi34.c +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from scmport-str.c:44: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi6.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi6.o In file included from module-srfi1.c:47: module-srfi1.c: In function 'scm_p_srfi1_circular_listp': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -5441,57 +5545,11 @@ module-srfi1.c:187:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("find-tail", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c load.c -o libsscm_la-load.o >/dev/null 2>&1 -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from module-srfi6.c:40: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -In file included from module-srfi2.c:42: -module-srfi2.c: In function 'scm_s_srfi2_and_letstar': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -module-srfi2.c:74:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("and-let*", syntax_variadic_tailrec_1); - ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-sscm-ext.c -o libsscm_la-module-sscm-ext.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi38.lo `test -f 'module-srfi38.c' || echo './'`module-srfi38.c libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi8.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi8.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-str.c -fPIC -DPIC -o .libs/libsscm_la-scmport-str.o -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi28.lo `test -f 'module-srfi28.c' || echo './'`module-srfi28.c -In file included from module-srfi6.c:43: -module-srfi6.c: In function 'scm_p_srfi6_open_input_string': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -module-srfi6.c:92:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("open-input-string", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -module-srfi6.c: In function 'scm_p_srfi6_open_output_string': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -module-srfi6.c:109:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("open-output-string", procedure_fixed_0); - ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -module-srfi6.c:109:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("open-output-string", procedure_fixed_0); - ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi2.c -o libsscm_la-module-srfi2.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi43.lo `test -f 'module-srfi43.c' || echo './'`module-srfi43.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, @@ -5502,27 +5560,8 @@ /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -module-srfi6.c: In function 'scm_p_srfi6_get_output_string': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -module-srfi6.c:126:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("get-output-string", procedure_fixed_1); - ^~~~~~~~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from scmport-str.c:44: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi23.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi23.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi48.lo `test -f 'module-srfi48.c' || echo './'`module-srfi48.c libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi9.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi9.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-sscm-ext.c -o libsscm_la-module-sscm-ext.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c deep-cadrs.c -o libsscm_la-deep-cadrs.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c write.c -o libsscm_la-write.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi1.c -o libsscm_la-module-srfi1.o >/dev/null 2>&1 In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, @@ -5530,20 +5569,11 @@ from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from module-srfi23.c:40: -/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] - # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" - ^~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/limits.h:26, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, - from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, - from sigscheme.h:43, from module-srfi9.c:37: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi55.lo `test -f 'module-srfi55.c' || echo './'`module-srfi55.c In file included from module-srfi8.c:41: module-srfi8.c: In function 'scm_s_srfi8_receive': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -5555,29 +5585,6 @@ module-srfi8.c:75:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("receive", syntax_variadic_tailrec_2); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi2.c -o libsscm_la-module-srfi2.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi34.lo `test -f 'module-srfi34.c' || echo './'`module-srfi34.c -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi6.c -o libsscm_la-module-srfi6.o >/dev/null 2>&1 -In file included from module-srfi23.c:41: -module-srfi23.c: In function 'scm_p_srfi23_error': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -module-srfi23.c:89:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("error", procedure_variadic_1); - ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -module-srfi23.c:89:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("error", procedure_variadic_1); - ^~~~~~~~~~~~~~~~ In file included from module-srfi9.c:38: module-srfi9.c: In function 'scm_s_srfi9_define_record_type': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -5589,16 +5596,8 @@ module-srfi9.c:113:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("define-record-type", syntax_variadic_tailrec_3); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi8.c -o libsscm_la-module-srfi8.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi38.lo `test -f 'module-srfi38.c' || echo './'`module-srfi38.c -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi23.c -o libsscm_la-module-srfi23.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi43.lo `test -f 'module-srfi43.c' || echo './'`module-srfi43.c -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-str.c -o libsscm_la-scmport-str.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi48.lo `test -f 'module-srfi48.c' || echo './'`module-srfi48.c -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi9.c -o libsscm_la-module-srfi9.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi55.lo `test -f 'module-srfi55.c' || echo './'`module-srfi55.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi60.lo `test -f 'module-srfi60.c' || echo './'`module-srfi60.c libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi28.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi28.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DPKGDATADIR="\"/usr/share/sigscheme\"" -DSCMLIBDIR="\"/usr/share/sigscheme/lib\"" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o libsscm_la-module-srfi60.lo `test -f 'module-srfi60.c' || echo './'`module-srfi60.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, @@ -5609,17 +5608,40 @@ /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi34.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi34.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c scmport-str.c -o libsscm_la-scmport-str.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi23.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi23.o In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from module-srfi34.c:48: + from module-srfi23.c:40: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi8.c -o libsscm_la-module-srfi8.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi9.c -o libsscm_la-module-srfi9.o >/dev/null 2>&1 +In file included from module-srfi23.c:41: +module-srfi23.c: In function 'scm_p_srfi23_error': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +module-srfi23.c:89:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("error", procedure_variadic_1); + ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +module-srfi23.c:89:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("error", procedure_variadic_1); + ^~~~~~~~~~~~~~~~ In file included from module-srfi28.c:39: module-srfi28.c: In function 'scm_p_srfi28_format': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -5631,6 +5653,10 @@ module-srfi28.c:72:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("format", procedure_variadic_1); ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi23.c -o libsscm_la-module-srfi23.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi48.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi48.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi28.c -o libsscm_la-module-srfi28.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi34.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi34.o libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi38.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi38.o In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, @@ -5638,62 +5664,39 @@ from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from module-srfi38.c:40: + from module-srfi48.c:38: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi43.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi43.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi48.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi48.o -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi28.c -o libsscm_la-module-srfi28.o >/dev/null 2>&1 In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from module-srfi43.c:37: + from module-srfi34.c:48: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi60.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi60.o +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi43.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi43.o In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from module-srfi48.c:38: + from module-srfi38.c:40: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi55.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi55.o -In file included from module-srfi38.c:41: -module-srfi38.c: In function 'scm_p_srfi38_write_with_shared_structure': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -module-srfi38.c:81:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("write-with-shared-structure", procedure_variadic_1); - ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -module-srfi38.c:81:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("write-with-shared-structure", procedure_variadic_1); - ^~~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from sigscheme.h:43, - from module-srfi60.c:38: + from module-srfi43.c:37: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ @@ -5707,6 +5710,7 @@ /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi60.c -fPIC -DPIC -o .libs/libsscm_la-module-srfi60.o In file included from module-srfi48.c:39: module-srfi48.c: In function 'scm_p_srfi48_format': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -5746,7 +5750,56 @@ module-srfi48.c:114:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("format+", procedure_variadic_1); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi38.c -o libsscm_la-module-srfi38.o >/dev/null 2>&1 +In file included from module-srfi38.c:41: +module-srfi38.c: In function 'scm_p_srfi38_write_with_shared_structure': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +module-srfi38.c:81:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("write-with-shared-structure", procedure_variadic_1); + ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +module-srfi38.c:81:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("write-with-shared-structure", procedure_variadic_1); + ^~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/limits.h:26, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, + from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, + from sigscheme.h:43, + from module-srfi60.c:38: +/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] + # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" + ^~~~~~~ +In file included from module-srfi55.c:38: +module-srfi55.c: In function 'scm_s_srfi55_require_extension': +sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' + ScmObj SCM_MANGLE(tmp); \ + ^~~~~~~~~~ +module-srfi55.c:84:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("require-extension", syntax_variadic_0); + ^~~~~~~~~~~~~~~~ +sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] + #define SCM_MANGLE(id) scm_internal_##id + ^~~~~~~~~~~~~ +sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' + const char *SCM_MANGLE(name); \ + ^~~~~~~~~~ +module-srfi55.c:84:5: note: in expansion of macro 'DECLARE_FUNCTION' + DECLARE_FUNCTION("require-extension", syntax_variadic_0); + ^~~~~~~~~~~~~~~~ In file included from module-srfi60.c:39: module-srfi60.c: In function 'scm_p_srfi60_logand': sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] @@ -5808,26 +5861,8 @@ module-srfi60.c:151:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("logtest", procedure_fixed_2); ^~~~~~~~~~~~~~~~ -In file included from module-srfi55.c:38: -module-srfi55.c: In function 'scm_s_srfi55_require_extension': -sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE' - ScmObj SCM_MANGLE(tmp); \ - ^~~~~~~~~~ -module-srfi55.c:84:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("require-extension", syntax_variadic_0); - ^~~~~~~~~~~~~~~~ -sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable] - #define SCM_MANGLE(id) scm_internal_##id - ^~~~~~~~~~~~~ -sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE' - const char *SCM_MANGLE(name); \ - ^~~~~~~~~~ -module-srfi55.c:84:5: note: in expansion of macro 'DECLARE_FUNCTION' - DECLARE_FUNCTION("require-extension", syntax_variadic_0); - ^~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi38.c -o libsscm_la-module-srfi38.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi55.c -o libsscm_la-module-srfi55.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi48.c -o libsscm_la-module-srfi48.o >/dev/null 2>&1 In file included from module-srfi43.c:38: module-srfi43.c: In function 'scm_s_let_vector_start_plus_end': @@ -5840,7 +5875,6 @@ module-srfi43.c:106:5: note: in expansion of macro 'DECLARE_FUNCTION' DECLARE_FUNCTION("let-vector-start+end", syntax_variadic_tailrec_4); ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi55.c -o libsscm_la-module-srfi55.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi60.c -o libsscm_la-module-srfi60.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi43.c -o libsscm_la-module-srfi43.o >/dev/null 2>&1 In file included from module-srfi34.c:49: @@ -6086,7 +6120,7 @@ DECLARE_PRIVATE_FUNCTION("guard", syntax_fixed_tailrec_0); ^~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/sigscheme-0.9.0/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c module-srfi34.c -o libsscm_la-module-srfi34.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -version-info 3:1:0 -Wl,-z,relro -Wl,-z,now -o libsscm.la -rpath /usr/lib/x86_64-linux-gnu libsscm_la-alloc.lo libsscm_la-storage.lo libsscm_la-storage-gc.lo libsscm_la-error.lo libsscm_la-symbol.lo libsscm_la-env.lo libsscm_la-eval.lo libsscm_la-syntax.lo libsscm_la-procedure.lo libsscm_la-list.lo libsscm_la-module.lo libsscm_la-sigscheme.lo libsscm_la-continuation.lo libsscm_la-scmport-file.lo libsscm_la-scmport-basechar.lo libsscm_la-encoding.lo libsscm_la-scmport-mbchar.lo libsscm_la-format.lo libsscm_la-qquote.lo libsscm_la-legacy-macro.lo libsscm_la-promise.lo libsscm_la-number.lo libsscm_la-number-io.lo libsscm_la-char.lo libsscm_la-string.lo libsscm_la-string-procedure.lo libsscm_la-vector.lo libsscm_la-port.lo libsscm_la-read.lo libsscm_la-write.lo libsscm_la-load.lo libsscm_la-deep-cadrs.lo libsscm_la-module-sscm-ext.lo libsscm_la-module-srfi1.lo libsscm_la-module-srfi2.lo libsscm_la-module-srfi6.lo libsscm_la-scmport-str.lo libsscm_la-module-srfi8.lo libsscm_la-module-srfi9.lo libsscm_la-module-srfi23.lo libsscm_la-module-srfi28.lo libsscm_la-module-srfi34.lo libsscm_la-module-srfi38.lo libsscm_la-module-srfi43.lo libsscm_la-module-srfi48.lo libsscm_la-module-srfi55.lo libsscm_la-module-srfi60.lo /build/sigscheme-0.9.0/libgcroots/libgcroots.la +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -version-info 3:1:0 -Wl,-z,relro -Wl,-z,now -o libsscm.la -rpath /usr/lib/x86_64-linux-gnu libsscm_la-alloc.lo libsscm_la-storage.lo libsscm_la-storage-gc.lo libsscm_la-error.lo libsscm_la-symbol.lo libsscm_la-env.lo libsscm_la-eval.lo libsscm_la-syntax.lo libsscm_la-procedure.lo libsscm_la-list.lo libsscm_la-module.lo libsscm_la-sigscheme.lo libsscm_la-continuation.lo libsscm_la-scmport-file.lo libsscm_la-scmport-basechar.lo libsscm_la-encoding.lo libsscm_la-scmport-mbchar.lo libsscm_la-format.lo libsscm_la-qquote.lo libsscm_la-legacy-macro.lo libsscm_la-promise.lo libsscm_la-number.lo libsscm_la-number-io.lo libsscm_la-char.lo libsscm_la-string.lo libsscm_la-string-procedure.lo libsscm_la-vector.lo libsscm_la-port.lo libsscm_la-read.lo libsscm_la-write.lo libsscm_la-load.lo libsscm_la-deep-cadrs.lo libsscm_la-module-sscm-ext.lo libsscm_la-module-srfi1.lo libsscm_la-module-srfi2.lo libsscm_la-module-srfi6.lo libsscm_la-scmport-str.lo libsscm_la-module-srfi8.lo libsscm_la-module-srfi9.lo libsscm_la-module-srfi23.lo libsscm_la-module-srfi28.lo libsscm_la-module-srfi34.lo libsscm_la-module-srfi38.lo libsscm_la-module-srfi43.lo libsscm_la-module-srfi48.lo libsscm_la-module-srfi55.lo libsscm_la-module-srfi60.lo /build/sigscheme-0.9.0/libgcroots/libgcroots.la libtool: link: gcc -shared -fPIC -DPIC .libs/libsscm_la-alloc.o .libs/libsscm_la-storage.o .libs/libsscm_la-storage-gc.o .libs/libsscm_la-error.o .libs/libsscm_la-symbol.o .libs/libsscm_la-env.o .libs/libsscm_la-eval.o .libs/libsscm_la-syntax.o .libs/libsscm_la-procedure.o .libs/libsscm_la-list.o .libs/libsscm_la-module.o .libs/libsscm_la-sigscheme.o .libs/libsscm_la-continuation.o .libs/libsscm_la-scmport-file.o .libs/libsscm_la-scmport-basechar.o .libs/libsscm_la-encoding.o .libs/libsscm_la-scmport-mbchar.o .libs/libsscm_la-format.o .libs/libsscm_la-qquote.o .libs/libsscm_la-legacy-macro.o .libs/libsscm_la-promise.o .libs/libsscm_la-number.o .libs/libsscm_la-number-io.o .libs/libsscm_la-char.o .libs/libsscm_la-string.o .libs/libsscm_la-string-procedure.o .libs/libsscm_la-vector.o .libs/libsscm_la-port.o .libs/libsscm_la-read.o .libs/libsscm_la-write.o .libs/libsscm_la-load.o .libs/libsscm_la-deep-cadrs.o .libs/libsscm_la-module-sscm-ext.o .libs/libsscm_la-module-srfi1.o .libs/libsscm_la-module-srfi2.o .libs/libsscm_la-module-srfi6.o .libs/libsscm_la-scmport-str.o .libs/libsscm_la-module-srfi8.o .libs/libsscm_la-module-srfi9.o .libs/libsscm_la-module-srfi23.o .libs/libsscm_la-module-srfi28.o .libs/libsscm_la-module-srfi34.o .libs/libsscm_la-module-srfi38.o .libs/libsscm_la-module-srfi43.o .libs/libsscm_la-module-srfi48.o .libs/libsscm_la-module-srfi55.o .libs/libsscm_la-module-srfi60.o -Wl,-rpath -Wl,/build/sigscheme-0.9.0/libgcroots/.libs /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsscm.so.3 -o .libs/libsscm.so.3.0.1 libtool: link: (cd ".libs" && rm -f "libsscm.so.3" && ln -s "libsscm.so.3.0.1" "libsscm.so.3") libtool: link: (cd ".libs" && rm -f "libsscm.so" && ln -s "libsscm.so.3.0.1" "libsscm.so") @@ -6094,7 +6128,7 @@ ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libsscm.a libtool: link: ( cd ".libs" && rm -f "libsscm.la" && ln -s "../libsscm.la" "libsscm.la" ) -/bin/bash ../libtool --tag=CC --mode=link gcc -I/build/sigscheme-0.9.0/libgcroots/include -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z,relro -Wl,-z,now -o sscm sscm-main.o libsscm.la +/bin/sh ../libtool --tag=CC --mode=link gcc -I/build/sigscheme-0.9.0/libgcroots/include -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z,relro -Wl,-z,now -o sscm sscm-main.o libsscm.la libtool: link: gcc -I/build/sigscheme-0.9.0/libgcroots/include -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/sscm sscm-main.o ./.libs/libsscm.so make[3]: Leaving directory '/build/sigscheme-0.9.0/src' make[2]: Leaving directory '/build/sigscheme-0.9.0/src' @@ -6119,7 +6153,7 @@ make[2]: Leaving directory '/build/sigscheme-0.9.0' make[1]: Leaving directory '/build/sigscheme-0.9.0' dh_auto_test - make -j15 check VERBOSE=1 + make -j16 check VERBOSE=1 make[1]: Entering directory '/build/sigscheme-0.9.0' Making check in doc make[2]: Entering directory '/build/sigscheme-0.9.0/doc' @@ -6197,69 +6231,69 @@ make[3]: Entering directory '/build/sigscheme-0.9.0/test' make[4]: Entering directory '/build/sigscheme-0.9.0/test' PASS: test-apply.scm -PASS: test-bool.scm -PASS: test-begin.scm -PASS: test-assoc.scm -PASS: test-define.scm PASS: test-char-pred.scm +PASS: test-bool.scm +XFAIL: test-fail.scm PASS: test-continuation.scm +PASS: test-define-internal.scm +PASS: test-assoc.scm +PASS: test-eqv.scm PASS: test-do.scm -PASS: test-eval.scm PASS: test-dyn-extent.scm -PASS: test-eqv.scm -PASS: test-define-internal.scm +PASS: test-define.scm +PASS: test-eval.scm +PASS: test-equal.scm PASS: test-char-cmp.scm -PASS: test-formal-syntax.scm +PASS: test-begin.scm PASS: test-eq.scm -PASS: test-equal.scm -XFAIL: test-fail.scm -PASS: test-list.scm -PASS: test-legacy-macro.scm -PASS: test-let.scm -PASS: test-member.scm PASS: test-formatplus.scm +PASS: test-formal-syntax.scm +PASS: test-letrec.scm PASS: test-lambda.scm +PASS: test-legacy-macro.scm +PASS: test-misc.scm +PASS: test-member.scm PASS: test-map.scm -PASS: test-letstar.scm +PASS: test-let.scm +PASS: test-list.scm PASS: test-named-let.scm -PASS: test-letrec.scm -PASS: test-misc.scm -PASS: test-number-arith.scm +PASS: test-letstar.scm +PASS: test-number-io.scm PASS: test-number-cmp.scm +PASS: test-number-literal.scm +PASS: test-number-arith.scm PASS: test-obsolete.scm -PASS: test-number-io.scm PASS: test-number-pred.scm -PASS: test-number-literal.scm -PASS: test-pair.scm PASS: test-quote.scm PASS: test-srfi0.scm +PASS: test-srfi2.scm +PASS: test-srfi6.scm +PASS: test-pair.scm PASS: test-srfi1-obsolete.scm +PASS: test-srfi28.scm +PASS: test-srfi34-2.scm PASS: test-srfi8.scm -PASS: test-srfi6.scm -PASS: test-srfi9.scm -PASS: test-srfi34.scm -PASS: test-srfi2.scm -PASS: test-srfi1-another.scm PASS: test-srfi38.scm -PASS: test-sscm-ext.scm +PASS: test-srfi34.scm +PASS: test-srfi9.scm PASS: test-srfi43.scm -PASS: test-srfi28.scm +PASS: test-srfi1-another.scm PASS: test-srfi48.scm -PASS: test-srfi60.scm +PASS: test-srfi55.scm PASS: test-string-core.scm -PASS: test-srfi34-2.scm +PASS: test-srfi60.scm +PASS: test-sscm-ext.scm +SKIP: test-string-null.scm PASS: test-string-cmp.scm -PASS: test-srfi55.scm SKIP: test-syntax-rules.scm -PASS: test-string-proc.scm -PASS: test-values.scm -SKIP: test-string-null.scm PASS: test-symbol.scm -PASS: test-syntax.scm PASS: test-unittest.scm PASS: test-string.scm -PASS: test-vector.scm PASS: test-enc-utf8.scm +PASS: test-syntax.scm +PASS: test-vector.scm +PASS: test-string-proc.scm +PASS: test-values.scm ============================================================================ Testsuite summary for SigScheme 0.9.0 ============================================================================ @@ -6290,8 +6324,8 @@ gcc -DHAVE_CONFIG_H -I. -I../src -I../include -I../src -I/build/sigscheme-0.9.0/libgcroots/include -DTST_SCM_SYSTEM_LOAD_PATH=\"/build/sigscheme-0.9.0/lib\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o test-format-coll.o test-format-coll.c gcc -DHAVE_CONFIG_H -I. -I../src -I../include -I../src -I/build/sigscheme-0.9.0/libgcroots/include -DTST_SCM_SYSTEM_LOAD_PATH=\"/build/sigscheme-0.9.0/lib\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o test-array2list-coll.o test-array2list-coll.c gcc -DHAVE_CONFIG_H -I. -I../src -I../include -I../src -I/build/sigscheme-0.9.0/libgcroots/include -DTST_SCM_SYSTEM_LOAD_PATH=\"/build/sigscheme-0.9.0/lib\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c -o test-minishell.o test-minishell.c -In file included from test-alignment.c:36: -test-alignment.c: In function 'tst_1': +In file included from test-length.c:38: +test-length.c: In function 'tst_1': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6306,15 +6340,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ - ^~~~~~~~~~~ -test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 0); - ^~~~~~~~~~~~~~ +sscm-test.h:446:23: note: in expansion of macro 'TST_EQ_OBJ' + do { TST_TN_SAVE; TST_EQ_OBJ((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:64:5: note: in expansion of macro 'TST_TN_EQ_OBJ' + TST_TN_EQ_OBJ(cl, CDR(cl)); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6327,15 +6361,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ - ^~~~~~~~~~~ -test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 0); - ^~~~~~~~~~~~~~ +sscm-test.h:446:23: note: in expansion of macro 'TST_EQ_OBJ' + do { TST_TN_SAVE; TST_EQ_OBJ((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:64:5: note: in expansion of macro 'TST_TN_EQ_OBJ' + TST_TN_EQ_OBJ(cl, CDR(cl)); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6350,15 +6384,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ - ^~~~~~~~~~~ -test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 0); - ^~~~~~~~~~~~~~ +sscm-test.h:446:23: note: in expansion of macro 'TST_EQ_OBJ' + do { TST_TN_SAVE; TST_EQ_OBJ((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:67:5: note: in expansion of macro 'TST_TN_EQ_OBJ' + TST_TN_EQ_OBJ(cl, CDDR(cl)); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6371,15 +6405,17 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ - ^~~~~~~~~~~ -test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 0); - ^~~~~~~~~~~~~~ +sscm-test.h:446:23: note: in expansion of macro 'TST_EQ_OBJ' + do { TST_TN_SAVE; TST_EQ_OBJ((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:67:5: note: in expansion of macro 'TST_TN_EQ_OBJ' + TST_TN_EQ_OBJ(cl, CDDR(cl)); + ^~~~~~~~~~~~~ +In file included from test-alignment.c:36: +test-alignment.c: In function 'tst_1': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6397,8 +6433,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ +test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); @@ -6418,8 +6454,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ +test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); @@ -6438,11 +6474,55 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ + ^~~~~~~~~~~~ +sscm-test.h:446:23: note: in expansion of macro 'TST_EQ_OBJ' + do { TST_TN_SAVE; TST_EQ_OBJ((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:70:5: note: in expansion of macro 'TST_TN_EQ_OBJ' + TST_TN_EQ_OBJ(cl, CDR(CDDR(cl))); + ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ + ^~~~~~~~~~~~ +sscm-test.h:446:23: note: in expansion of macro 'TST_EQ_OBJ' + do { TST_TN_SAVE; TST_EQ_OBJ((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:70:5: note: in expansion of macro 'TST_TN_EQ_OBJ' + TST_TN_EQ_OBJ(cl, CDR(CDDR(cl))); + ^~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ +test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); @@ -6462,12 +6542,33 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ +test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); ^~~~~~~~~~~~~~ +test-length.c: In function 'tst_2': +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:75:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_PROPERP(SCM_INT_T_MIN)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6485,8 +6586,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ +test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); @@ -6506,12 +6607,52 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ +test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:76:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_PROPERP(SCM_INT_T_MIN + 1)); + ^~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:77:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_PROPERP(-3)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6529,8 +6670,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ +test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); @@ -6550,12 +6691,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ +test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:78:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_PROPERP(-2)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6573,12 +6734,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ +test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:79:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_PROPERP(-1)); + ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6594,12 +6775,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ +test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:80:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_PROPERP(0)); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6617,12 +6818,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:81:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_PROPERP(1)); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6638,12 +6859,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:82:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_PROPERP(2)); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6661,8 +6902,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ +test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); @@ -6682,8 +6923,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ +test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); @@ -6705,8 +6946,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); @@ -6726,8 +6967,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); @@ -6749,8 +6990,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:61:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i32p.p % ALIGNOF_VOID_P, \ +test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); @@ -6770,12 +7011,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:61:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i32p.p % ALIGNOF_VOID_P, \ +test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:83:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_PROPERP(3)); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6793,8 +7054,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ +test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); @@ -6814,12 +7075,54 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ +test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 0); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:84:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_PROPERP(SCM_INT_T_MAX - 1)); + ^~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:85:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_PROPERP(SCM_INT_T_MAX)); + ^~~~~~~~~~~ +In file included from test-global.c:39: +test-global.c: In function 'tst_1': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6837,11 +7140,11 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ +test-alignment.c:61:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i32p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ -test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 1); +test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 0); ^~~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -6858,14 +7161,13 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ +test-alignment.c:61:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i32p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ -test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 1); +test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 0); ^~~~~~~~~~~~~~ -In file included from test-global.c:39: -test-global.c: In function 'tst_1': +test-length.c: In function 'tst_3': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6889,6 +7191,26 @@ test-global.c:70:5: note: in expansion of macro 'TST_TN_EQ_INT' TST_TN_EQ_INT(1, SCM_INT_VALUE(obj_a)); ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:90:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(SCM_INT_T_MIN)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6906,11 +7228,11 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ +test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ -test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 1); +test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 0); ^~~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -6948,8 +7270,51 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ +test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:172:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 0); + ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:91:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_DOTTEDP(SCM_INT_T_MIN + 1)); + ^~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ + ^~~~~~~~~~~~ +test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ ^~~~~~~~~~~ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); @@ -6977,25 +7342,43 @@ test-global.c:71:5: note: in expansion of macro 'TST_TN_EQ_INT' TST_TN_EQ_INT(2, SCM_INT_VALUE(obj_b)); ^~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:92:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_DOTTEDP(-3)); + ^~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ + ++TST_CASE_INFO->succ, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ + TST_FAILED = 0, \ ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) + 1) ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ +test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ ^~~~~~~~~~~ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); @@ -7021,50 +7404,90 @@ test-global.c:71:5: note: in expansion of macro 'TST_TN_EQ_INT' TST_TN_EQ_INT(2, SCM_INT_VALUE(obj_b)); ^~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:93:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_DOTTEDP(-2)); + ^~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ + ++TST_CASE_INFO->fail, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) + 0) ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ +test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ ^~~~~~~~~~~ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ + ++TST_CASE_INFO->succ, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ + TST_FAILED = 0, \ ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) + 1) ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ +test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ ^~~~~~~~~~~ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:94:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_DOTTEDP(-1)); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7100,27 +7523,6 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ - ^~~~~~~~~~~~ -test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 1); - ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ @@ -7147,12 +7549,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ +test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:95:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(0)); + ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7168,12 +7590,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ +test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:96:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(1)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7191,12 +7633,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ +test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:97:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(2)); + ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7212,14 +7674,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ +test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ -In file included from test-storage.c:46: -test-storage.c: In function 'tst_1': +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:98:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(3)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7234,15 +7714,56 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:414:17: note: in expansion of macro 'TST_EQ_OBJ' - #define TST_EQ TST_EQ_OBJ - ^~~~~~~~~~ -test-storage.c:124:5: note: in expansion of macro 'TST_EQ' - TST_EQ(SCM_NULL, SCM_NULL, "(eq? '() '())"); - ^~~~~~ +test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 1); + ^~~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ + ^~~~~~~~~~~~ +test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 1); + ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:99:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(SCM_INT_T_MAX - 1)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7260,33 +7781,13 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -sscm-test.h:414:17: note: in expansion of macro 'TST_EQ_OBJ' - #define TST_EQ TST_EQ_OBJ - ^~~~~~~~~~ -test-storage.c:124:5: note: in expansion of macro 'TST_EQ' - TST_EQ(SCM_NULL, SCM_NULL, "(eq? '() '())"); - ^~~~~~ +test-global.c: In function 'tst_2': sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7302,13 +7803,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ -test-global.c: In function 'tst_2': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7332,6 +7832,26 @@ test-global.c:81:5: note: in expansion of macro 'TST_TN_EQ_INT' TST_TN_EQ_INT(4, SCM_INT_VALUE(obj_d)); ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:100:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(SCM_INT_T_MAX)); + ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7370,8 +7890,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ +test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); @@ -7391,12 +7911,13 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ +test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ +test-length.c: In function 'tst_4': sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7408,12 +7929,16 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -test-storage.c:118:24: note: in expansion of macro 'TST_COND' - #define TST_EXPR(expr) TST_COND((expr), #expr) - ^~~~~~~~ -test-storage.c:126:5: note: in expansion of macro 'TST_EXPR' - TST_EXPR(NULLP(SCM_NULL)); - ^~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:105:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_INT_T_MIN)); + ^~~~~~~~~~~ +test-gc-protect.c: In function 'protected_func': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7428,15 +7953,79 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-global.c:82:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(5, SCM_INT_VALUE(obj_e)); - ^~~~~~~~~~~~~ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 1); + ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:106:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(SCM_INT_T_MIN + 1)); + ^~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ + ^~~~~~~~~~~~ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 1); + ^~~~~~~~~~~~~~ +test-gc-protect.c:87:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + return (void *)scm_gc_protected_contextp(); + ^ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:107:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(-3)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7481,27 +8070,6 @@ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-global.c:82:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(5, SCM_INT_VALUE(obj_e)); - ^~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7513,12 +8081,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -test-storage.c:118:24: note: in expansion of macro 'TST_COND' - #define TST_EXPR(expr) TST_COND((expr), #expr) - ^~~~~~~~ -test-storage.c:127:5: note: in expansion of macro 'TST_EXPR' - TST_EXPR(!VALIDP(SCM_INVALID)); - ^~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:108:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(-2)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7542,29 +8113,10 @@ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-global.c:83:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(6, SCM_INT_VALUE(obj_f)); - ^~~~~~~~~~~~~ +test-gc-protect.c: In function 'var_in_protected_func': +test-gc-protect.c:109:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + return (void *)scm_gc_protectedp(obj); + ^ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7586,27 +8138,26 @@ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-global.c:83:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(6, SCM_INT_VALUE(obj_f)); - ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:109:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(-1)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7630,23 +8181,6 @@ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -test-storage.c:118:24: note: in expansion of macro 'TST_COND' - #define TST_EXPR(expr) TST_COND((expr), #expr) - ^~~~~~~~ -test-storage.c:128:5: note: in expansion of macro 'TST_EXPR' - TST_EXPR(VALIDP(SCM_NULL)); - ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7668,6 +8202,26 @@ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:110:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(0)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7691,23 +8245,10 @@ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -test-storage.c:118:24: note: in expansion of macro 'TST_COND' - #define TST_EXPR(expr) TST_COND((expr), #expr) - ^~~~~~~~ -test-storage.c:129:5: note: in expansion of macro 'TST_EXPR' - TST_EXPR(VALIDP(SCM_FALSE)); - ^~~~~~~~ +test-gc-protect.c: In function 'vars_in_protected_func': +test-gc-protect.c:137:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + return (void *)protectedp; + ^ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7729,6 +8270,26 @@ test-alignment.c:173:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 1); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:111:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(1)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7752,23 +8313,6 @@ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -test-storage.c:118:24: note: in expansion of macro 'TST_COND' - #define TST_EXPR(expr) TST_COND((expr), #expr) - ^~~~~~~~ -test-storage.c:130:5: note: in expansion of macro 'TST_EXPR' - TST_EXPR(FALSEP(SCM_FALSE)); - ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7801,75 +8345,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -test-storage.c:118:24: note: in expansion of macro 'TST_COND' - #define TST_EXPR(expr) TST_COND((expr), #expr) - ^~~~~~~~ -test-storage.c:131:5: note: in expansion of macro 'TST_EXPR' - TST_EXPR(!FALSEP(SCM_TRUE)); - ^~~~~~~~ -In file included from test-length.c:38: -test-length.c: In function 'tst_1': -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -sscm-test.h:446:23: note: in expansion of macro 'TST_EQ_OBJ' - do { TST_TN_SAVE; TST_EQ_OBJ((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:64:5: note: in expansion of macro 'TST_TN_EQ_OBJ' - TST_TN_EQ_OBJ(cl, CDR(cl)); - ^~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -test-storage.c:118:24: note: in expansion of macro 'TST_COND' - #define TST_EXPR(expr) TST_COND((expr), #expr) - ^~~~~~~~ -test-storage.c:136:5: note: in expansion of macro 'TST_EXPR' - TST_EXPR(!FALSEP(SCM_NULL)); - ^~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -sscm-test.h:446:23: note: in expansion of macro 'TST_EQ_OBJ' - do { TST_TN_SAVE; TST_EQ_OBJ((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:64:5: note: in expansion of macro 'TST_TN_EQ_OBJ' - TST_TN_EQ_OBJ(cl, CDR(cl)); - ^~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:112:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(2)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7914,7 +8398,6 @@ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ -test-gc-protect.c: In function 'protected_func': sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7926,15 +8409,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -test-storage.c:118:24: note: in expansion of macro 'TST_COND' - #define TST_EXPR(expr) TST_COND((expr), #expr) - ^~~~~~~~ -test-storage.c:138:5: note: in expansion of macro 'TST_EXPR' - TST_EXPR(!FALSEP(SCM_EOF)); - ^~~~~~~~ -test-gc-protect.c:87:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - return (void *)scm_gc_protected_contextp(); - ^ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:113:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(3)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7958,6 +8441,26 @@ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:114:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(SCM_INT_T_MAX - 1)); + ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7993,14 +8496,14 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:446:23: note: in expansion of macro 'TST_EQ_OBJ' - do { TST_TN_SAVE; TST_EQ_OBJ((x), (a), TST_TN_NAME()); } while (0) +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:67:5: note: in expansion of macro 'TST_TN_EQ_OBJ' - TST_TN_EQ_OBJ(cl, CDDR(cl)); +test-global.c:82:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(5, SCM_INT_VALUE(obj_e)); ^~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ @@ -8013,12 +8516,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -test-storage.c:118:24: note: in expansion of macro 'TST_COND' - #define TST_EXPR(expr) TST_COND((expr), #expr) - ^~~~~~~~ -test-storage.c:139:5: note: in expansion of macro 'TST_EXPR' - TST_EXPR(EOFP(SCM_EOF)); - ^~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:115:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(SCM_INT_T_MAX)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8054,19 +8560,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:446:23: note: in expansion of macro 'TST_EQ_OBJ' - do { TST_TN_SAVE; TST_EQ_OBJ((x), (a), TST_TN_NAME()); } while (0) +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:67:5: note: in expansion of macro 'TST_TN_EQ_OBJ' - TST_TN_EQ_OBJ(cl, CDDR(cl)); +test-global.c:82:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(5, SCM_INT_VALUE(obj_e)); ^~~~~~~~~~~~~ -test-gc-protect.c: In function 'var_in_protected_func': -test-gc-protect.c:109:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - return (void *)scm_gc_protectedp(obj); - ^ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8088,6 +8590,27 @@ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ +test-length.c: In function 'tst_5': +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:120:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_INT_T_MIN)); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8111,6 +8634,29 @@ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-global.c:83:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(6, SCM_INT_VALUE(obj_f)); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8132,10 +8678,47 @@ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ -test-gc-protect.c: In function 'vars_in_protected_func': -test-gc-protect.c:137:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - return (void *)protectedp; - ^ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-global.c:83:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(6, SCM_INT_VALUE(obj_f)); + ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:121:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_ERRORP(SCM_INT_T_MIN + 1)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8159,6 +8742,26 @@ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:122:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_ERRORP(-3)); + ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8180,6 +8783,26 @@ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:123:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_ERRORP(-2)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8194,15 +8817,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:446:23: note: in expansion of macro 'TST_EQ_OBJ' - do { TST_TN_SAVE; TST_EQ_OBJ((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:70:5: note: in expansion of macro 'TST_TN_EQ_OBJ' - TST_TN_EQ_OBJ(cl, CDR(CDDR(cl))); - ^~~~~~~~~~~~~ +test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 2); + ^~~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8215,29 +8838,6 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -sscm-test.h:446:23: note: in expansion of macro 'TST_EQ_OBJ' - do { TST_TN_SAVE; TST_EQ_OBJ((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:70:5: note: in expansion of macro 'TST_TN_EQ_OBJ' - TST_TN_EQ_OBJ(cl, CDR(CDDR(cl))); - ^~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ @@ -8247,6 +8847,26 @@ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:124:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_ERRORP(-1)); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8261,36 +8881,35 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:395:34: note: in expansion of macro 'TST_EQUALITY' - #define TST_NEQ_OBJ(x, a, desc) TST_EQUALITY(!SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -sscm-test.h:415:17: note: in expansion of macro 'TST_NEQ_OBJ' - #define TST_NEQ TST_NEQ_OBJ - ^~~~~~~~~~~ -test-storage.c:142:5: note: in expansion of macro 'TST_NEQ' - TST_NEQ(obj, LIST_1(SCM_FALSE), "equal? but not eq?"); - ^~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-length.c:125:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_ERRORP(0)); + ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8303,16 +8922,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:395:34: note: in expansion of macro 'TST_EQUALITY' - #define TST_NEQ_OBJ(x, a, desc) TST_EQUALITY(!SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -sscm-test.h:415:17: note: in expansion of macro 'TST_NEQ_OBJ' - #define TST_NEQ TST_NEQ_OBJ - ^~~~~~~~~~~ -test-storage.c:142:5: note: in expansion of macro 'TST_NEQ' - TST_NEQ(obj, LIST_1(SCM_FALSE), "equal? but not eq?"); - ^~~~~~~ -test-length.c: In function 'tst_2': +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ + ^~~~~~~~~~~~ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 2); + ^~~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8330,9 +8948,10 @@ sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) ^~~~~~~~~ -test-length.c:75:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_PROPERP(SCM_INT_T_MIN)); +test-length.c:126:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_ERRORP(1)); ^~~~~~~~~~~~ +test-gc-protect.c: In function 'test_implicit_protection': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8350,35 +8969,15 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ +test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -sscm-test.h:414:17: note: in expansion of macro 'TST_EQ_OBJ' - #define TST_EQ TST_EQ_OBJ - ^~~~~~~~~~ -test-storage.c:143:5: note: in expansion of macro 'TST_EQ' - TST_EQ(obj, obj, "eq?"); - ^~~~~~ +test-gc-protect.c:224:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + return (void *)result; + ^ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8394,55 +8993,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ +test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -sscm-test.h:414:17: note: in expansion of macro 'TST_EQ_OBJ' - #define TST_EQ TST_EQ_OBJ - ^~~~~~~~~~ -test-storage.c:143:5: note: in expansion of macro 'TST_EQ' - TST_EQ(obj, obj, "eq?"); - ^~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:76:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_PROPERP(SCM_INT_T_MIN + 1)); - ^~~~~~~~~~~~ -In file included from test-storage-compact.c:41: -test-storage-compact.c: In function 'tst_3': sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8460,8 +9016,8 @@ sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) ^~~~~~~~~ -test-length.c:77:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_PROPERP(-3)); +test-length.c:127:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_ERRORP(2)); ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -8480,8 +9036,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ +test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); @@ -8503,8 +9059,8 @@ sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) ^~~~~~~~~ -test-storage-compact.c:183:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_MISC_INTOBJ0_XDIRECTP); +test-length.c:128:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_ERRORP(3)); ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -8521,8 +9077,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ +test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); @@ -8544,28 +9100,8 @@ sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) ^~~~~~~~~ -test-length.c:78:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_PROPERP(-2)); - ^~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-storage-compact.c:184:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_MISC_INTOBJ0_XSHIFTP); +test-length.c:129:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_ERRORP(SCM_INT_T_MAX - 1)); ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -8584,8 +9120,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ +test-alignment.c:61:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i32p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); @@ -8605,8 +9141,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ +test-alignment.c:61:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i32p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); @@ -8628,49 +9164,11 @@ sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) ^~~~~~~~~ -test-length.c:79:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_PROPERP(-1)); +test-length.c:130:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_LISTLEN_ERRORP(SCM_INT_T_MAX)); ^~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-storage-compact.c:185:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_MISC_INTOBJ0_XSPLITP); - ^~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:80:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_PROPERP(0)); - ^~~~~~~~~~~ +In file included from test-array2list.c:37: +test-array2list.c: In function 'tst_1': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8688,13 +9186,35 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:61:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i32p.p % ALIGNOF_VOID_P, \ +test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ -test-storage.c: In function 'tst_2': +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:66:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, scm_length(scm_array2list(ary, 0, make_str))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8710,12 +9230,34 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:61:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i32p.p % ALIGNOF_VOID_P, \ +test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 2); ^~~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:66:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, scm_length(scm_array2list(ary, 0, make_str))); + ^~~~~~~~~~~~~ +test-length.c: In function 'tst_6': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8736,8 +9278,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:186:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, SCM_MISC_INTOBJ0_XSPILL); +test-length.c:135:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-(SCM_INT_T_MIN + 2), ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -8753,44 +9295,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:151:9: note: in expansion of macro 'TST_INIT2' - tst(obj, CONS, \ - ^~~ -test-storage.c:160:5: note: in expansion of macro 'CONS_TST' - CONS_TST(TST_INIT2, SCM_EOF, SCM_NULL); - ^~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:81:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_PROPERP(1)); +test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ ^~~~~~~~~~~ +test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 3); + ^~~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8809,8 +9322,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:186:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, SCM_MISC_INTOBJ0_XSPILL); +test-length.c:135:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-(SCM_INT_T_MIN + 2), ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -8824,28 +9337,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:151:9: note: in expansion of macro 'TST_INIT2' - tst(obj, CONS, \ - ^~~ -test-storage.c:160:5: note: in expansion of macro 'CONS_TST' - CONS_TST(TST_INIT2, SCM_EOF, SCM_NULL); - ^~~~~~~~ -test-gc-protect.c: In function 'test_implicit_protection': -test-gc-protect.c:224:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - return (void *)result; - ^ +test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ + ^~~~~~~~~~~ +test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 3); + ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8860,15 +9360,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 2); - ^~~~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:137:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(2, SCM_LISTLEN_DOTTED(-3)); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8883,24 +9383,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:151:9: note: in expansion of macro 'TST_INIT2' - tst(obj, CONS, \ - ^~~ -test-storage.c:160:5: note: in expansion of macro 'CONS_TST' - CONS_TST(TST_INIT2, SCM_EOF, SCM_NULL); - ^~~~~~~~ +test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ + ^~~~~~~~~~~ +test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 3); + ^~~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8913,104 +9404,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:151:9: note: in expansion of macro 'TST_INIT2' - tst(obj, CONS, \ - ^~~ -test-storage.c:160:5: note: in expansion of macro 'CONS_TST' - CONS_TST(TST_INIT2, SCM_EOF, SCM_NULL); - ^~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:82:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_PROPERP(2)); - ^~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:83:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_PROPERP(3)); - ^~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:84:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_PROPERP(SCM_INT_T_MAX - 1)); - ^~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:85:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_PROPERP(SCM_INT_T_MAX)); - ^~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:137:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(2, SCM_LISTLEN_DOTTED(-3)); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9026,11 +9428,11 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ +test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ ^~~~~~~~~~~ -test-alignment.c:174:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 2); +test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 3); ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -9046,24 +9448,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:151:9: note: in expansion of macro 'TST_SET2' - tst(obj, CONS, \ - ^~~ -test-storage.c:161:5: note: in expansion of macro 'CONS_TST' - CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); - ^~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:69:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, scm_length(scm_array2list(ary, 1, make_str))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9076,25 +9469,38 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:151:9: note: in expansion of macro 'TST_SET2' - tst(obj, CONS, \ - ^~~ -test-storage.c:161:5: note: in expansion of macro 'CONS_TST' - CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); - ^~~~~~~~ -test-length.c: In function 'tst_3': +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:69:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, scm_length(scm_array2list(ary, 1, make_str))); + ^~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:138:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, SCM_LISTLEN_DOTTED(-2)); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9112,32 +9518,77 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ +test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:90:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(SCM_INT_T_MIN)); - ^~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:73:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(2, scm_length(scm_array2list(ary, 2, make_str))); + ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:138:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, SCM_LISTLEN_DOTTED(-2)); + ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:73:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(2, scm_length(scm_array2list(ary, 2, make_str))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9153,32 +9604,35 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ +test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:91:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_DOTTEDP(SCM_INT_T_MIN + 1)); - ^~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:139:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_LISTLEN_DOTTED(-1)); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9196,8 +9650,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ +test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); @@ -9214,11 +9668,32 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:139:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_LISTLEN_DOTTED(-1)); + ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ +test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); @@ -9237,74 +9712,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:151:9: note: in expansion of macro 'TST_SET2' - tst(obj, CONS, \ - ^~~ -test-storage.c:161:5: note: in expansion of macro 'CONS_TST' - CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); - ^~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:92:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_DOTTEDP(-3)); - ^~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:151:9: note: in expansion of macro 'TST_SET2' - tst(obj, CONS, \ - ^~~ -test-storage.c:161:5: note: in expansion of macro 'CONS_TST' - CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); - ^~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:77:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, scm_length(scm_array2list(ary, 3, make_str))); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9322,32 +9738,34 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ +test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:93:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_DOTTEDP(-2)); - ^~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:77:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, scm_length(scm_array2list(ary, 3, make_str))); + ^~~~~~~~~~~~~ +test-length.c: In function 'tst_7': sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9363,8 +9781,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ +test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); @@ -9389,8 +9807,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:189:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_X(o, INTOBJ0)); +test-length.c:149:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(max_dotted_len, ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -9410,29 +9828,32 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:189:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_X(o, INTOBJ0)); +test-length.c:149:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(max_dotted_len, + ^~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:152:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(3))); ^~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:94:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_DOTTEDP(-1)); - ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9450,8 +9871,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); @@ -9468,35 +9889,37 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:152:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(3))); + ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:95:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(0)); - ^~~~~~~~~~~~ +test-array2list.c: In function 'tst_2': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9511,24 +9934,38 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:151:9: note: in expansion of macro 'TST_SET2' - tst(obj, CONS, \ - ^~~ -test-storage.c:161:5: note: in expansion of macro 'CONS_TST' - CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); - ^~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:153:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(2, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(2))); + ^~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:93:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, scm_length(scm_array2list(ary, 0, NULL))); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9546,32 +9983,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ +test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:96:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(1)); - ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9584,15 +10001,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 3); - ^~~~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:153:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(2, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(2))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9605,67 +10022,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:151:9: note: in expansion of macro 'TST_SET2' - tst(obj, CONS, \ - ^~~ -test-storage.c:161:5: note: in expansion of macro 'CONS_TST' - CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); - ^~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:97:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(2)); - ^~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 3); - ^~~~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:93:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, scm_length(scm_array2list(ary, 0, NULL))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9681,32 +10046,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ +test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:98:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(3)); - ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9721,44 +10066,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:151:9: note: in expansion of macro 'TST_SET2' - tst(obj, CONS, \ - ^~~ -test-storage.c:161:5: note: in expansion of macro 'CONS_TST' - CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); - ^~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:99:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(SCM_INT_T_MAX - 1)); - ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:154:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(1))); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9776,8 +10092,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); @@ -9794,24 +10110,36 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:151:9: note: in expansion of macro 'TST_SET2' - tst(obj, CONS, \ - ^~~ -test-storage.c:161:5: note: in expansion of macro 'CONS_TST' - CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); - ^~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:154:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(1))); + ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ + ^~~~~~~~~~~~ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 3); + ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9832,8 +10160,31 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:190:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_Y(o, INTOBJ0)); +test-length.c:155:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(0))); + ^~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:96:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, scm_length(scm_array2list(ary, 1, NULL))); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -9847,15 +10198,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 3); - ^~~~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:96:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, scm_length(scm_array2list(ary, 1, NULL))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9874,8 +10225,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:190:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_Y(o, INTOBJ0)); +test-length.c:155:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(0))); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -9894,8 +10245,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ +test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); @@ -9915,33 +10266,13 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ +test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:100:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_DOTTEDP(SCM_INT_T_MAX)); - ^~~~~~~~~~~~ -test-length.c: In function 'tst_4': +test-length.c: In function 'tst_8': sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9959,8 +10290,8 @@ sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) ^~~~~~~~ -test-length.c:105:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_INT_T_MIN)); +test-length.c:161:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MIN))); ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -9979,8 +10310,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ +test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); @@ -10000,8 +10331,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ +test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); @@ -10017,15 +10348,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:106:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(SCM_INT_T_MIN + 1)); - ^~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:162:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MIN + 1))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10040,35 +10371,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 3); - ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:107:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(-3)); - ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:100:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(2, scm_length(scm_array2list(ary, 2, NULL))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10081,15 +10392,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 3); - ^~~~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:100:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(2, scm_length(scm_array2list(ary, 2, NULL))); + ^~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10101,15 +10412,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:108:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(-2)); - ^~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:163:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(-3))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10154,7 +10465,6 @@ test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 3); ^~~~~~~~~~~~~~ -test-storage.c: In function 'tst_3': sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10166,46 +10476,14 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:109:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(-1)); - ^~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:178:5: note: in expansion of macro 'TST_INIT2' - tst(obj, CLOSURE, \ - ^~~ -test-storage.c:182:5: note: in expansion of macro 'CLOSURE_TST' - CLOSURE_TST(TST_INIT2, exp, env); +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:164:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(-2))); ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -10242,24 +10520,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:178:5: note: in expansion of macro 'TST_INIT2' - tst(obj, CLOSURE, \ - ^~~ -test-storage.c:182:5: note: in expansion of macro 'CLOSURE_TST' - CLOSURE_TST(TST_INIT2, exp, env); +test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ +test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 3); + ^~~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10271,15 +10540,38 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:110:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(0)); - ^~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:165:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(-1))); + ^~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:104:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, scm_length(scm_array2list(ary, 3, NULL))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10292,15 +10584,35 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:104:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, scm_length(scm_array2list(ary, 3, NULL))); + ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:166:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(0))); ^~~~~~~~~~~ -test-alignment.c:175:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 3); - ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10345,6 +10657,26 @@ test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 4); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:167:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(1))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10389,6 +10721,26 @@ test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 4); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:168:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(2))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10403,24 +10755,16 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:178:5: note: in expansion of macro 'TST_INIT2' - tst(obj, CLOSURE, \ - ^~~ -test-storage.c:182:5: note: in expansion of macro 'CLOSURE_TST' - CLOSURE_TST(TST_INIT2, exp, env); +test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ +test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 4); + ^~~~~~~~~~~~~~ +test-array2list.c: In function 'tst_3': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10441,8 +10785,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:193:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_X(o, INTOBJ0)); +test-array2list.c:117:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, len); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -10456,23 +10800,34 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:178:5: note: in expansion of macro 'TST_INIT2' - tst(obj, CLOSURE, \ - ^~~ -test-storage.c:182:5: note: in expansion of macro 'CLOSURE_TST' - CLOSURE_TST(TST_INIT2, exp, env); +test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 4); + ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:169:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(3))); ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -10492,8 +10847,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:193:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_X(o, INTOBJ0)); +test-array2list.c:117:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, len); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -10512,38 +10867,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ +test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 4); ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ - ^~~~~~~~~~~~ -test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:170:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MAX - 1))); ^~~~~~~~~~~ -test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 4); - ^~~~~~~~~~~~~~ -In file included from test-gc-protect.c:37: -At top level: -sscm-test.h:191:1: warning: 'tst_run' defined but not used [-Wunused-function] - tst_run(void (*fn)(tst_suite_info *, tst_case_info *), - ^~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10558,15 +10907,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 4); - ^~~~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:120:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, len); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10588,6 +10937,27 @@ test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 4); ^~~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:120:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, len); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10611,27 +10981,6 @@ test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 4); ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ - ^~~~~~~~~~~~ -test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 4); - ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10646,15 +10995,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 4); - ^~~~~~~~~~~~~~ +sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' + do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:121:5: note: in expansion of macro 'TST_TN_EQ_STR' + TST_TN_EQ_STR("abc", ary[0]); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10670,12 +11019,33 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ +test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 4); ^~~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ + ^~~~~~~~~~~~ +sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' + do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:121:5: note: in expansion of macro 'TST_TN_EQ_STR' + TST_TN_EQ_STR("abc", ary[0]); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10693,12 +11063,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 4); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:171:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MAX))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10719,8 +11109,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:194:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_Y(o, INTOBJ0)); +test-array2list.c:124:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, len); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -10734,15 +11124,79 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ + ^~~~~~~~~~~~ +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 4); + ^~~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:194:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_Y(o, INTOBJ0)); +test-array2list.c:124:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, len); ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:174:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MIN))); + ^~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ + ^~~~~~~~~~~~ +test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 4); + ^~~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10764,6 +11218,29 @@ test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 4); ^~~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ + ^~~~~~~~~~~~ +sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' + do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:125:5: note: in expansion of macro 'TST_TN_EQ_STR' + TST_TN_EQ_STR("abc", ary[0]); + ^~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10781,9 +11258,30 @@ sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) ^~~~~~~~ -test-storage-compact.c:196:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_MISC_INTOBJ1_XDIRECTP); +test-length.c:175:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MIN + 1))); ^~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ + ^~~~~~~~~~~~ +sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' + do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:125:5: note: in expansion of macro 'TST_TN_EQ_STR' + TST_TN_EQ_STR("abc", ary[0]); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10807,26 +11305,6 @@ test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 4); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-storage-compact.c:197:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_MISC_INTOBJ1_XSHIFTP); - ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10859,35 +11337,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-storage-compact.c:198:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_MISC_INTOBJ1_XSPLITP); - ^~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:111:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(1)); - ^~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:176:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(-3))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10902,15 +11360,38 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ ^~~~~~~~~~~~ -test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 4); - ^~~~~~~~~~~~~~ +sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' + do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:126:5: note: in expansion of macro 'TST_TN_EQ_STR' + TST_TN_EQ_STR("def", ary[1]); + ^~~~~~~~~~~~~ +In file included from test-storage-compact.c:41: +test-storage-compact.c: In function 'tst_3': +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ + ^~~~~~~~~~~~ +sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' + do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:126:5: note: in expansion of macro 'TST_TN_EQ_STR' + TST_TN_EQ_STR("def", ary[1]); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10925,23 +11406,34 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:178:5: note: in expansion of macro 'TST_SET2' - tst(obj, CLOSURE, \ - ^~~ -test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' - CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); +test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 4); + ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:177:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(-2))); ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -10964,6 +11456,26 @@ test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 4); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-storage-compact.c:183:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_MISC_INTOBJ0_XDIRECTP); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10978,14 +11490,14 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) +sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' + do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:199:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_INTOBJ1_XSPILL); +test-array2list.c:127:5: note: in expansion of macro 'TST_TN_EQ_STR' + TST_TN_EQ_STR("gh", ary[2]); ^~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ @@ -10998,66 +11510,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:112:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(2)); - ^~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:178:5: note: in expansion of macro 'TST_SET2' - tst(obj, CLOSURE, \ - ^~~ -test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' - CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:178:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(-1))); ^~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:199:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_INTOBJ1_XSPILL); - ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11081,6 +11542,27 @@ test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 4); ^~~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ + ^~~~~~~~~~~~ +sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' + do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:127:5: note: in expansion of macro 'TST_TN_EQ_STR' + TST_TN_EQ_STR("gh", ary[2]); + ^~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11098,8 +11580,8 @@ sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) ^~~~~~~~~ -test-length.c:113:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(3)); +test-storage-compact.c:184:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_MISC_INTOBJ0_XSHIFTP); ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -11133,15 +11615,35 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:114:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(SCM_INT_T_MAX - 1)); - ^~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:179:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(0))); + ^~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-storage-compact.c:185:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_MISC_INTOBJ0_XSPLITP); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11186,6 +11688,29 @@ test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 4); ^~~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-storage-compact.c:186:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, SCM_MISC_INTOBJ0_XSPILL); + ^~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11197,15 +11722,39 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:115:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_CIRCULARP(SCM_INT_T_MAX)); - ^~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:180:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(1))); + ^~~~~~~~~~~ +test-array2list.c: In function 'tst_4': +In file included from test-gc-protect.c:37: +At top level: +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-storage-compact.c:186:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, SCM_MISC_INTOBJ0_XSPILL); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11220,15 +11769,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 4); - ^~~~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:138:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, len); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11243,24 +11792,18 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:178:5: note: in expansion of macro 'TST_SET2' - tst(obj, CLOSURE, \ - ^~~ -test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' - CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); +test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ +test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 4); + ^~~~~~~~~~~~~~ +sscm-test.h:191:1: warning: 'tst_run' defined but not used [-Wunused-function] + tst_run(void (*fn)(tst_suite_info *, tst_case_info *), + ^~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11273,16 +11816,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 4); - ^~~~~~~~~~~~~~ -test-length.c: In function 'tst_5': +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:138:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, len); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11295,24 +11837,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:178:5: note: in expansion of macro 'TST_SET2' - tst(obj, CLOSURE, \ - ^~~ -test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' - CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); +test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ +test-alignment.c:176:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 4); + ^~~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11330,9 +11863,52 @@ sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) ^~~~~~~~ -test-length.c:120:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_INT_T_MIN)); +test-length.c:181:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(2))); ^~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:182:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(3))); + ^~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:141:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, len); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11356,26 +11932,6 @@ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:121:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_ERRORP(SCM_INT_T_MIN + 1)); - ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11397,6 +11953,27 @@ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); ^~~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:141:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, len); + ^~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11408,15 +11985,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:122:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_ERRORP(-3)); - ^~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:183:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MAX - 1))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11472,15 +12049,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:123:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_ERRORP(-2)); - ^~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:184:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MAX))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11525,6 +12102,7 @@ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); ^~~~~~~~~~~~~~ +test-length.c: In function 'tst_9': sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11536,46 +12114,14 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:124:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_ERRORP(-1)); - ^~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:178:5: note: in expansion of macro 'TST_SET2' - tst(obj, CLOSURE, \ - ^~~ -test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' - CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:189:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MIN))); ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -11600,26 +12146,6 @@ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:125:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_ERRORP(0)); - ^~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11641,36 +12167,6 @@ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:178:5: note: in expansion of macro 'TST_SET2' - tst(obj, CLOSURE, \ - ^~~ -test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' - CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); - ^~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11682,15 +12178,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:126:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_ERRORP(1)); - ^~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:190:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MIN + 1))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11705,15 +12201,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 5); - ^~~~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:145:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, len); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11726,6 +12222,29 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-array2list.c:145:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, len); + ^~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ @@ -11746,38 +12265,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:127:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_ERRORP(2)); - ^~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:202:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_X(o, INTOBJ1)); - ^~~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:191:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(-3))); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11790,34 +12286,11 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:202:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_X(o, INTOBJ1)); - ^~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ +test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); @@ -11833,15 +12306,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:128:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_ERRORP(3)); - ^~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:192:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(-2))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11856,36 +12329,6 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:178:5: note: in expansion of macro 'TST_SET2' - tst(obj, CLOSURE, \ - ^~~ -test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' - CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); - ^~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ @@ -11907,24 +12350,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:178:5: note: in expansion of macro 'TST_SET2' - tst(obj, CLOSURE, \ - ^~~ -test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' - CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ +test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 5); + ^~~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11936,15 +12370,17 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:129:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_ERRORP(SCM_INT_T_MAX - 1)); - ^~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:193:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(-1))); + ^~~~~~~~~~~ +In file included from test-storage.c:46: +test-storage.c: In function 'tst_1': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11979,15 +12415,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-length.c:130:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_LISTLEN_ERRORP(SCM_INT_T_MAX)); - ^~~~~~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:194:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(0))); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12023,37 +12459,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ - ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 5); - ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 5); - ^~~~~~~~~~~~~~ -test-length.c: In function 'tst_6': +sscm-test.h:414:17: note: in expansion of macro 'TST_EQ_OBJ' + #define TST_EQ TST_EQ_OBJ + ^~~~~~~~~~ +test-storage.c:124:5: note: in expansion of macro 'TST_EQ' + TST_EQ(SCM_NULL, SCM_NULL, "(eq? '() '())"); + ^~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12074,32 +12488,50 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:135:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-(SCM_INT_T_MIN + 2), +test-storage-compact.c:189:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_X(o, INTOBJ0)); ^~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:195:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(1))); + ^~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ + ++TST_CASE_INFO->succ, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ + TST_FAILED = 0, \ ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) + 1) ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:203:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_Y(o, INTOBJ1)); - ^~~~~~~~~~~~~ +sscm-test.h:414:17: note: in expansion of macro 'TST_EQ_OBJ' + #define TST_EQ TST_EQ_OBJ + ^~~~~~~~~~ +test-storage.c:124:5: note: in expansion of macro 'TST_EQ' + TST_EQ(SCM_NULL, SCM_NULL, "(eq? '() '())"); + ^~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12117,8 +12549,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); @@ -12141,29 +12573,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:135:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-(SCM_INT_T_MIN + 2), - ^~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:203:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_Y(o, INTOBJ1)); +test-storage-compact.c:189:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_X(o, INTOBJ0)); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -12180,12 +12591,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:196:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(2))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12203,36 +12634,32 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ +test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:137:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(2, SCM_LISTLEN_DOTTED(-3)); - ^~~~~~~~~~~~~ -test-storage.c: In function 'tst_4': +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:197:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(3))); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12248,33 +12675,49 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ +test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:137:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(2, SCM_LISTLEN_DOTTED(-3)); - ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +test-storage.c:118:24: note: in expansion of macro 'TST_COND' + #define TST_EXPR(expr) TST_COND((expr), #expr) + ^~~~~~~~ +test-storage.c:126:5: note: in expansion of macro 'TST_EXPR' + TST_EXPR(NULLP(SCM_NULL)); + ^~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:198:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MAX - 1))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12289,21 +12732,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ - ^~~~ -test-storage.c:196:5: note: in expansion of macro 'TST_INIT1' - tst(obj, INT, \ - ^~~ -test-storage.c:199:5: note: in expansion of macro 'INT_TST' - INT_TST(TST_INIT1, 1); - ^~~~~~~ +test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 5); + ^~~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12316,21 +12753,35 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ - ^~~~ -test-storage.c:196:5: note: in expansion of macro 'TST_INIT1' - tst(obj, INT, \ - ^~~ -test-storage.c:199:5: note: in expansion of macro 'INT_TST' - INT_TST(TST_INIT1, 1); - ^~~~~~~ +test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 5); + ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:199:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MAX))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12354,6 +12805,26 @@ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:202:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MIN))); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12375,6 +12846,43 @@ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +test-storage.c:118:24: note: in expansion of macro 'TST_COND' + #define TST_EXPR(expr) TST_COND((expr), #expr) + ^~~~~~~~ +test-storage.c:127:5: note: in expansion of macro 'TST_EXPR' + TST_EXPR(!VALIDP(SCM_INVALID)); + ^~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:203:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MIN + 1))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12389,36 +12897,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:138:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, SCM_LISTLEN_DOTTED(-2)); - ^~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:138:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, SCM_LISTLEN_DOTTED(-2)); - ^~~~~~~~~~~~~ +test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 5); + ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12433,15 +12920,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 5); - ^~~~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-storage-compact.c:190:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_Y(o, INTOBJ0)); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12463,29 +12950,6 @@ test-alignment.c:177:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 5); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:139:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_LISTLEN_DOTTED(-1)); - ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12504,9 +12968,29 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:139:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_LISTLEN_DOTTED(-1)); +test-storage-compact.c:190:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_Y(o, INTOBJ0)); ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:204:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(-3))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12551,36 +13035,63 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ - ^~~~ -test-storage.c:196:5: note: in expansion of macro 'TST_INIT1' - tst(obj, INT, \ - ^~~ -test-storage.c:200:5: note: in expansion of macro 'INT_TST' - INT_TST(TST_INIT1, SCM_INT_MIN); - ^~~~~~~ -test-length.c: In function 'tst_7': +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:205:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(-2))); + ^~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +test-storage.c:118:24: note: in expansion of macro 'TST_COND' + #define TST_EXPR(expr) TST_COND((expr), #expr) + ^~~~~~~~ +test-storage.c:128:5: note: in expansion of macro 'TST_EXPR' + TST_EXPR(VALIDP(SCM_NULL)); + ^~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:206:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(-1))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12604,56 +13115,6 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:149:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(max_dotted_len, - ^~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ - ^~~~ -test-storage.c:196:5: note: in expansion of macro 'TST_INIT1' - tst(obj, INT, \ - ^~~ -test-storage.c:200:5: note: in expansion of macro 'INT_TST' - INT_TST(TST_INIT1, SCM_INT_MIN); - ^~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12675,27 +13136,26 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:149:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(max_dotted_len, - ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:207:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(0))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12740,50 +13200,43 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:152:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(3))); - ^~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:152:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(3))); - ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:208:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(1))); + ^~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +test-storage.c:118:24: note: in expansion of macro 'TST_COND' + #define TST_EXPR(expr) TST_COND((expr), #expr) + ^~~~~~~~ +test-storage.c:129:5: note: in expansion of macro 'TST_EXPR' + TST_EXPR(VALIDP(SCM_FALSE)); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12807,6 +13260,26 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:209:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(2))); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12828,29 +13301,26 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:153:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(2, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(2))); - ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:210:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(3))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12874,56 +13344,6 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ - ^~~~ -test-storage.c:196:5: note: in expansion of macro 'TST_INIT1' - tst(obj, INT, \ - ^~~ -test-storage.c:201:5: note: in expansion of macro 'INT_TST' - INT_TST(TST_INIT1, SCM_INT_MAX); - ^~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:153:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(2, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(2))); - ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12945,121 +13365,43 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ - ^~~~ -test-storage.c:196:5: note: in expansion of macro 'TST_INIT1' - tst(obj, INT, \ - ^~~ -test-storage.c:201:5: note: in expansion of macro 'INT_TST' - INT_TST(TST_INIT1, SCM_INT_MAX); - ^~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:154:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(1))); - ^~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:206:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_X(o, INTOBJ1)); - ^~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:154:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(1))); - ^~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:206:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_X(o, INTOBJ1)); - ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +test-storage.c:118:24: note: in expansion of macro 'TST_COND' + #define TST_EXPR(expr) TST_COND((expr), #expr) + ^~~~~~~~ +test-storage.c:130:5: note: in expansion of macro 'TST_EXPR' + TST_EXPR(FALSEP(SCM_FALSE)); + ^~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:211:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MAX - 1))); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13083,6 +13425,26 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-length.c:212:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MAX))); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13104,50 +13466,23 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:155:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(0))); - ^~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:155:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_LISTLEN_DOTTED(SCM_LISTLEN_ENCODE_DOTTED(0))); - ^~~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +test-storage.c:118:24: note: in expansion of macro 'TST_COND' + #define TST_EXPR(expr) TST_COND((expr), #expr) + ^~~~~~~~ +test-storage.c:131:5: note: in expansion of macro 'TST_EXPR' + TST_EXPR(!FALSEP(SCM_TRUE)); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13192,27 +13527,6 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ -test-length.c: In function 'tst_8': -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:161:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MIN))); - ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13236,6 +13550,29 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-storage-compact.c:193:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_X(o, INTOBJ0)); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13257,6 +13594,27 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-storage-compact.c:193:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_X(o, INTOBJ0)); + ^~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13268,15 +13626,12 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:162:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MIN + 1))); - ^~~~~~~~~~~ +test-storage.c:118:24: note: in expansion of macro 'TST_COND' + #define TST_EXPR(expr) TST_COND((expr), #expr) + ^~~~~~~~ +test-storage.c:136:5: note: in expansion of macro 'TST_EXPR' + TST_EXPR(!FALSEP(SCM_NULL)); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13332,15 +13687,12 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:163:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(-3))); - ^~~~~~~~~~~ +test-storage.c:118:24: note: in expansion of macro 'TST_COND' + #define TST_EXPR(expr) TST_COND((expr), #expr) + ^~~~~~~~ +test-storage.c:138:5: note: in expansion of macro 'TST_EXPR' + TST_EXPR(!FALSEP(SCM_EOF)); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13364,29 +13716,6 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:207:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_Y(o, INTOBJ1)); - ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13408,77 +13737,6 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:164:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(-2))); - ^~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:207:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_Y(o, INTOBJ1)); - ^~~~~~~~~~~~~ -test-storage.c: In function 'tst_5': -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ - ^~~~ -test-storage.c:217:5: note: in expansion of macro 'TST_INIT1' - tst(obj, CHAR, \ - ^~~ -test-storage.c:220:5: note: in expansion of macro 'CHAR_TST' - CHAR_TST(TST_INIT1, 0); - ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13513,102 +13771,12 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-storage-compact.c:209:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_MISC_INTOBJ2_XDIRECTP); - ^~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:165:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(-1))); - ^~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ - ^~~~ -test-storage.c:217:5: note: in expansion of macro 'TST_INIT1' - tst(obj, CHAR, \ - ^~~ -test-storage.c:220:5: note: in expansion of macro 'CHAR_TST' - CHAR_TST(TST_INIT1, 0); +test-storage.c:118:24: note: in expansion of macro 'TST_COND' + #define TST_EXPR(expr) TST_COND((expr), #expr) + ^~~~~~~~ +test-storage.c:139:5: note: in expansion of macro 'TST_EXPR' + TST_EXPR(EOFP(SCM_EOF)); ^~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-storage-compact.c:210:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_MISC_INTOBJ2_XSHIFTP); - ^~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:166:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(0))); - ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13630,46 +13798,6 @@ test-alignment.c:178:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 6); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-storage-compact.c:211:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_MISC_INTOBJ2_XSPLITP); - ^~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:167:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(1))); - ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13734,29 +13862,9 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:212:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_INTOBJ2_XSPILL); +test-storage-compact.c:194:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_Y(o, INTOBJ0)); ^~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:168:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(2))); - ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13775,8 +13883,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:212:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_INTOBJ2_XSPILL); +test-storage-compact.c:194:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_Y(o, INTOBJ0)); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -13801,35 +13909,26 @@ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ - ^~~~ -test-storage.c:217:5: note: in expansion of macro 'TST_INIT1' - tst(obj, CHAR, \ - ^~~ -test-storage.c:221:5: note: in expansion of macro 'CHAR_TST' - CHAR_TST(TST_INIT1, SCM_CHAR_MIN); - ^~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-storage-compact.c:196:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_MISC_INTOBJ1_XDIRECTP); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13862,42 +13961,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:169:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(3))); - ^~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ - ^~~~ -test-storage.c:217:5: note: in expansion of macro 'TST_INIT1' - tst(obj, CHAR, \ - ^~~ -test-storage.c:221:5: note: in expansion of macro 'CHAR_TST' - CHAR_TST(TST_INIT1, SCM_CHAR_MIN); - ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-storage-compact.c:197:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_MISC_INTOBJ1_XSHIFTP); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13953,15 +14025,15 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && TST_SUCC()) ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:170:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MAX - 1))); - ^~~~~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-storage-compact.c:198:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_MISC_INTOBJ1_XSPLITP); + ^~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13985,27 +14057,29 @@ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ + ++TST_CASE_INFO->fail, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) + 0) ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 7); - ^~~~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-storage-compact.c:199:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_INTOBJ1_XSPILL); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14020,35 +14094,36 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:395:34: note: in expansion of macro 'TST_EQUALITY' + #define TST_NEQ_OBJ(x, a, desc) TST_EQUALITY(!SCM_EQ, scm_uintobj_t, \ + ^~~~~~~~~~~~ +sscm-test.h:415:17: note: in expansion of macro 'TST_NEQ_OBJ' + #define TST_NEQ TST_NEQ_OBJ + ^~~~~~~~~~~ +test-storage.c:142:5: note: in expansion of macro 'TST_NEQ' + TST_NEQ(obj, LIST_1(SCM_FALSE), "equal? but not eq?"); + ^~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 7); - ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:171:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MAX))); - ^~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-storage-compact.c:199:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_INTOBJ1_XSPILL); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14064,12 +14139,33 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ +test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:395:34: note: in expansion of macro 'TST_EQUALITY' + #define TST_NEQ_OBJ(x, a, desc) TST_EQUALITY(!SCM_EQ, scm_uintobj_t, \ + ^~~~~~~~~~~~ +sscm-test.h:415:17: note: in expansion of macro 'TST_NEQ_OBJ' + #define TST_NEQ TST_NEQ_OBJ + ^~~~~~~~~~~ +test-storage.c:142:5: note: in expansion of macro 'TST_NEQ' + TST_NEQ(obj, LIST_1(SCM_FALSE), "equal? but not eq?"); + ^~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14084,21 +14180,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ - ^~~~ -test-storage.c:217:5: note: in expansion of macro 'TST_INIT1' - tst(obj, CHAR, \ - ^~~ -test-storage.c:222:5: note: in expansion of macro 'CHAR_TST' - CHAR_TST(TST_INIT1, SCM_CHAR_MAX); - ^~~~~~~~ +test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 7); + ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14113,35 +14203,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 7); - ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:174:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MIN))); - ^~~~~~~~~~~ +sscm-test.h:414:17: note: in expansion of macro 'TST_EQ_OBJ' + #define TST_EQ TST_EQ_OBJ + ^~~~~~~~~~ +test-storage.c:143:5: note: in expansion of macro 'TST_EQ' + TST_EQ(obj, obj, "eq?"); + ^~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14154,21 +14224,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ - ^~~~ -test-storage.c:217:5: note: in expansion of macro 'TST_INIT1' - tst(obj, CHAR, \ - ^~~ -test-storage.c:222:5: note: in expansion of macro 'CHAR_TST' - CHAR_TST(TST_INIT1, SCM_CHAR_MAX); - ^~~~~~~~ +test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 7); + ^~~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14181,35 +14245,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 7); - ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:175:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MIN + 1))); - ^~~~~~~~~~~ +sscm-test.h:414:17: note: in expansion of macro 'TST_EQ_OBJ' + #define TST_EQ TST_EQ_OBJ + ^~~~~~~~~~ +test-storage.c:143:5: note: in expansion of macro 'TST_EQ' + TST_EQ(obj, obj, "eq?"); + ^~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14227,8 +14271,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ +test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); @@ -14248,32 +14292,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ +test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:176:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(-3))); - ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14291,32 +14315,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:177:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(-2))); - ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14332,32 +14336,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:178:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(-1))); - ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14375,8 +14359,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ +test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); @@ -14396,32 +14380,13 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ +test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:179:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(0))); - ^~~~~~~~~~~ +test-storage.c: In function 'tst_2': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14439,49 +14404,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 7); - ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:180:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(1))); - ^~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ - ^~~~~~~~~~~~ -test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); @@ -14500,15 +14424,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:215:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_X(o, INTOBJ2)); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:151:9: note: in expansion of macro 'TST_INIT2' + tst(obj, CONS, \ + ^~~ +test-storage.c:160:5: note: in expansion of macro 'CONS_TST' + CONS_TST(TST_INIT2, SCM_EOF, SCM_NULL); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14521,60 +14454,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:215:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_X(o, INTOBJ2)); - ^~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:181:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(2))); - ^~~~~~~~~~~ -In file included from test-array2list.c:37: -test-array2list.c: In function 'tst_1': sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14587,58 +14475,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ - ^~~~~~~~~~~~ -test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 7); - ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:182:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(3))); - ^~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:66:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, scm_length(scm_array2list(ary, 0, make_str))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:151:9: note: in expansion of macro 'TST_INIT2' + tst(obj, CONS, \ + ^~~ +test-storage.c:160:5: note: in expansion of macro 'CONS_TST' + CONS_TST(TST_INIT2, SCM_EOF, SCM_NULL); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14656,8 +14510,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:61:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i32p.p % ALIGNOF_VOID_P, \ +test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); @@ -14674,56 +14528,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:66:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, scm_length(scm_array2list(ary, 0, make_str))); - ^~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:61:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i32p.p % ALIGNOF_VOID_P, \ +test-alignment.c:57:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.lp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:183:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MAX - 1))); - ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14741,32 +14554,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ +test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:184:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_CIRCULAR(SCM_INT_T_MAX))); - ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14782,8 +14575,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ +test-alignment.c:59:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.qp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 7); @@ -14808,10 +14601,41 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:69:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, scm_length(scm_array2list(ary, 1, make_str))); +test-storage-compact.c:202:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_X(o, INTOBJ1)); ^~~~~~~~~~~~~ -test-length.c: In function 'tst_9': +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:151:9: note: in expansion of macro 'TST_INIT2' + tst(obj, CONS, \ + ^~~ +test-storage.c:160:5: note: in expansion of macro 'CONS_TST' + CONS_TST(TST_INIT2, SCM_EOF, SCM_NULL); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14829,32 +14653,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ +test-alignment.c:61:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i32p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ -test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 8); +test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:189:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MIN))); - ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14873,8 +14677,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:69:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, scm_length(scm_array2list(ary, 1, make_str))); +test-storage-compact.c:202:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_X(o, INTOBJ1)); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -14888,38 +14692,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ - ^~~~~~~~~~~~ -test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ - ^~~~~~~~~~~ -test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 8); - ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:216:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_Y(o, INTOBJ2)); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:151:9: note: in expansion of macro 'TST_INIT2' + tst(obj, CONS, \ + ^~~ +test-storage.c:160:5: note: in expansion of macro 'CONS_TST' + CONS_TST(TST_INIT2, SCM_EOF, SCM_NULL); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14932,35 +14722,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:216:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_Y(o, INTOBJ2)); - ^~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:190:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MIN + 1))); +test-alignment.c:61:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i32p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ +test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 7); + ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14978,13 +14748,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ +test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ -test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 8); +test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ -test-storage.c: In function 'tst_6': sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15000,11 +14769,11 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ +test-alignment.c:63:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c9p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ -test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 8); +test-alignment.c:179:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 7); ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -15020,44 +14789,36 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:237:5: note: in expansion of macro 'TST_INIT2' - tst(obj, SYMBOL, \ - ^~~ -test-storage.c:241:5: note: in expansion of macro 'SYMBOL_TST' - SYMBOL_TST(TST_INIT2, p, LIST_1(SCM_NULL)); - ^~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:191:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(-3))); +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ + ^~~~~~~~~~~~ +test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ + ^~~~~~~~~~~ +test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 8); + ^~~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ + ^~~~~~~~~~~~ +test-alignment.c:41:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.i % ALIGNOF_INT, \ ^~~~~~~~~~~ +test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 8); + ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15075,8 +14836,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ +test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ ^~~~~~~~~~~ test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 8); @@ -15093,24 +14854,38 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:237:5: note: in expansion of macro 'TST_INIT2' - tst(obj, SYMBOL, \ - ^~~ -test-storage.c:241:5: note: in expansion of macro 'SYMBOL_TST' - SYMBOL_TST(TST_INIT2, p, LIST_1(SCM_NULL)); - ^~~~~~~~~~ +test-alignment.c:43:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.l % ALIGNOF_LONG, \ + ^~~~~~~~~~~ +test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 8); + ^~~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ + ^~~~~~~~~~~~ +test-alignment.c:45:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 8); + ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15131,8 +14906,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:73:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(2, scm_length(scm_array2list(ary, 2, make_str))); +test-storage-compact.c:203:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_Y(o, INTOBJ1)); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -15155,26 +14930,6 @@ test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 8); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:192:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(-2))); - ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15193,8 +14948,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:73:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(2, scm_length(scm_array2list(ary, 2, make_str))); +test-storage-compact.c:203:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_Y(o, INTOBJ1)); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -15210,56 +14965,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ - ^~~~~~~~~~~~ -test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 8); - ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:193:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(-1))); - ^~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 8); - ^~~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:151:9: note: in expansion of macro 'TST_SET2' + tst(obj, CONS, \ + ^~~ +test-storage.c:161:5: note: in expansion of macro 'CONS_TST' + CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15277,32 +15000,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ +test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 8); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:194:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(0))); - ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15315,58 +15018,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ - ^~~~~~~~~~~~ -test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 8); - ^~~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:77:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, scm_length(scm_array2list(ary, 3, make_str))); - ^~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:195:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(1))); - ^~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:151:9: note: in expansion of macro 'TST_SET2' + tst(obj, CONS, \ + ^~~ +test-storage.c:161:5: note: in expansion of macro 'CONS_TST' + CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15379,15 +15048,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:77:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, scm_length(scm_array2list(ary, 3, make_str))); - ^~~~~~~~~~~~~ +test-alignment.c:47:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.cp.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 8); + ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15405,8 +15074,8 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ +test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 8); @@ -15426,32 +15095,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ +test-alignment.c:49:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.sp.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 8); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:196:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(2))); - ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15469,32 +15118,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 8); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:197:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(3))); - ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15510,32 +15139,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ +test-alignment.c:51:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c3p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 8); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:198:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MAX - 1))); - ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15559,15 +15168,15 @@ test-storage.c:76:9: note: in expansion of macro 'TST1' TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:237:5: note: in expansion of macro 'TST_INIT2' - tst(obj, SYMBOL, \ - ^~~ -test-storage.c:241:5: note: in expansion of macro 'SYMBOL_TST' - SYMBOL_TST(TST_INIT2, p, LIST_1(SCM_NULL)); - ^~~~~~~~~~ +test-storage.c:151:9: note: in expansion of macro 'TST_SET2' + tst(obj, CONS, \ + ^~~ +test-storage.c:161:5: note: in expansion of macro 'CONS_TST' + CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15585,13 +15194,12 @@ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ +test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 8); ^~~~~~~~~~~~~~ -test-array2list.c: In function 'tst_2': sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15604,15 +15212,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' - TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ - ^~~~~~~~~~~ -test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' - TEST_ALIGNMENT(od, 8); - ^~~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:151:9: note: in expansion of macro 'TST_SET2' + tst(obj, CONS, \ + ^~~ +test-storage.c:161:5: note: in expansion of macro 'CONS_TST' + CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15625,24 +15242,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:237:5: note: in expansion of macro 'TST_INIT2' - tst(obj, SYMBOL, \ - ^~~ -test-storage.c:241:5: note: in expansion of macro 'SYMBOL_TST' - SYMBOL_TST(TST_INIT2, p, LIST_1(SCM_NULL)); - ^~~~~~~~~~ +test-alignment.c:53:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.ip.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 8); + ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15657,36 +15265,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:93:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, scm_length(scm_array2list(ary, 0, NULL))); - ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-gc-protect-stack-coll test-gc-protect-stack-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:199:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_ERRORP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MAX))); +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ ^~~~~~~~~~~ +test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 8); + ^~~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15699,15 +15286,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:93:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, scm_length(scm_array2list(ary, 0, NULL))); - ^~~~~~~~~~~~~ +test-alignment.c:55:5: note: in expansion of macro 'TST_EQ_UINT' + TST_EQ_UINT(0, (uintptr_t)&od.o##offs.d.c5p.p % ALIGNOF_VOID_P, \ + ^~~~~~~~~~~ +test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' + TEST_ALIGNMENT(od, 8); + ^~~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15731,26 +15318,6 @@ test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 8); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:202:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MIN))); - ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15786,56 +15353,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:219:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_X(o, INTOBJ2)); - ^~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:203:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MIN + 1))); - ^~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:219:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_X(o, INTOBJ2)); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:151:9: note: in expansion of macro 'TST_SET2' + tst(obj, CONS, \ + ^~~ +test-storage.c:161:5: note: in expansion of macro 'CONS_TST' + CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15880,6 +15415,36 @@ test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 8); ^~~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:151:9: note: in expansion of macro 'TST_SET2' + tst(obj, CONS, \ + ^~~ +test-storage.c:161:5: note: in expansion of macro 'CONS_TST' + CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15900,49 +15465,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:96:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, scm_length(scm_array2list(ary, 1, NULL))); - ^~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:204:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(-3))); - ^~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:96:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, scm_length(scm_array2list(ary, 1, NULL))); +test-storage-compact.c:206:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_X(o, INTOBJ1)); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -15979,6 +15503,27 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-storage-compact.c:206:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_X(o, INTOBJ1)); + ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ sscm-test.h:367:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_UINT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, uintmax_t, \ ^~~~~~~~~~~~ @@ -15988,26 +15533,6 @@ test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 8); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:205:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(-2))); - ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16031,26 +15556,6 @@ test-alignment.c:180:5: note: in expansion of macro 'TEST_ALIGNMENT' TEST_ALIGNMENT(od, 8); ^~~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:206:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(-1))); - ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16086,35 +15591,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:100:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(2, scm_length(scm_array2list(ary, 2, NULL))); - ^~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:207:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(0))); - ^~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:151:9: note: in expansion of macro 'TST_SET2' + tst(obj, CONS, \ + ^~~ +test-storage.c:161:5: note: in expansion of macro 'CONS_TST' + CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16127,35 +15621,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:100:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(2, scm_length(scm_array2list(ary, 2, NULL))); - ^~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:208:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(1))); - ^~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:151:9: note: in expansion of macro 'TST_SET2' + tst(obj, CONS, \ + ^~~ +test-storage.c:161:5: note: in expansion of macro 'CONS_TST' + CONS_TST(TST_SET2, SCM_NULL, SCM_TRUE); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16176,8 +15659,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:220:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_Y(o, INTOBJ2)); +test-storage-compact.c:207:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_Y(o, INTOBJ1)); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -16197,8 +15680,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:220:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_Y(o, INTOBJ2)); +test-storage-compact.c:207:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_Y(o, INTOBJ1)); ^~~~~~~~~~~~~ sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ @@ -16217,9 +15700,50 @@ sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) ^~~~~~~~ -test-length.c:209:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(2))); +test-storage-compact.c:209:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_MISC_INTOBJ2_XDIRECTP); ^~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-storage-compact.c:210:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_MISC_INTOBJ2_XSHIFTP); + ^~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-storage-compact.c:211:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_MISC_INTOBJ2_XSPLITP); + ^~~~~~~~~~~~ +test-storage.c: In function 'tst_3': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16234,43 +15758,23 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ test-storage.c:75:9: note: in expansion of macro 'TST1' TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ ^~~~ -test-storage.c:237:5: note: in expansion of macro 'TST_SET2' - tst(obj, SYMBOL, \ +test-storage.c:178:5: note: in expansion of macro 'TST_INIT2' + tst(obj, CLOSURE, \ ^~~ -test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' - SYMBOL_TST(TST_SET2, NULL, SCM_NULL); - ^~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:210:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(3))); +test-storage.c:182:5: note: in expansion of macro 'CLOSURE_TST' + CLOSURE_TST(TST_INIT2, exp, env); ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -16292,8 +15796,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:104:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, scm_length(scm_array2list(ary, 3, NULL))); +test-storage-compact.c:212:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_INTOBJ2_XSPILL); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -16307,24 +15811,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ test-storage.c:75:9: note: in expansion of macro 'TST1' TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ ^~~~ -test-storage.c:237:5: note: in expansion of macro 'TST_SET2' - tst(obj, SYMBOL, \ +test-storage.c:178:5: note: in expansion of macro 'TST_INIT2' + tst(obj, CLOSURE, \ ^~~ -test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' - SYMBOL_TST(TST_SET2, NULL, SCM_NULL); - ^~~~~~~~~~ +test-storage.c:182:5: note: in expansion of macro 'CLOSURE_TST' + CLOSURE_TST(TST_INIT2, exp, env); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16343,91 +15847,9 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:104:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, scm_length(scm_array2list(ary, 3, NULL))); +test-storage-compact.c:212:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_INTOBJ2_XSPILL); ^~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:211:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MAX - 1))); - ^~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-length.c:212:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_LISTLEN_CIRCULARP(SCM_LISTLEN_ENCODE_ERROR(SCM_INT_T_MAX))); - ^~~~~~~~~~~ -test-storage-compact.c: In function 'tst_4': -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-storage-compact.c:250:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_MISC_SHORT0_XDIRECTP); - ^~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:341:30: note: in expansion of macro 'TST_COND' - #define TST_TRUE(exp, desc) TST_COND((exp), desc) - ^~~~~~~~ -sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' - do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~ -test-storage-compact.c:251:5: note: in expansion of macro 'TST_TN_TRUE' - TST_TN_TRUE (SCM_MISC_SHORT0_XSHIFTP); - ^~~~~~~~~~~ -test-array2list.c: In function 'tst_3': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16442,15 +15864,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:117:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, len); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:178:5: note: in expansion of macro 'TST_INIT2' + tst(obj, CLOSURE, \ + ^~~ +test-storage.c:182:5: note: in expansion of macro 'CLOSURE_TST' + CLOSURE_TST(TST_INIT2, exp, env); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16463,58 +15894,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:117:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, len); - ^~~~~~~~~~~~~ -sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] - (((cond) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - || \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __LINE__, desc))) \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - && TST_SUCC()) - ^~~~~~~~~~~~~~ -sscm-test.h:342:30: note: in expansion of macro 'TST_COND' - #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) - ^~~~~~~~ -sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' - do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) - ^~~~~~~~~ -test-storage-compact.c:252:5: note: in expansion of macro 'TST_TN_FALSE' - TST_TN_FALSE(SCM_MISC_SHORT0_XSPLITP); - ^~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:120:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, len); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:178:5: note: in expansion of macro 'TST_INIT2' + tst(obj, CLOSURE, \ + ^~~ +test-storage.c:182:5: note: in expansion of macro 'CLOSURE_TST' + CLOSURE_TST(TST_INIT2, exp, env); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16535,29 +15932,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:253:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, SCM_MISC_SHORT0_XSPILL); - ^~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:120:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, len); +test-storage-compact.c:215:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_X(o, INTOBJ2)); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -16577,8 +15953,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:253:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, SCM_MISC_SHORT0_XSPILL); +test-storage-compact.c:215:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_X(o, INTOBJ2)); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -16600,41 +15976,18 @@ test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ test-storage.c:109:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:237:5: note: in expansion of macro 'TST_SET2' - tst(obj, SYMBOL, \ +test-storage.c:178:5: note: in expansion of macro 'TST_SET2' + tst(obj, CLOSURE, \ ^~~ -test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' - SYMBOL_TST(TST_SET2, NULL, SCM_NULL); - ^~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ - ^~~~~~~~~~~~ -sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' - do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:121:5: note: in expansion of macro 'TST_TN_EQ_STR' - TST_TN_EQ_STR("abc", ary[0]); - ^~~~~~~~~~~~~ +test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' + CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16653,39 +16006,18 @@ test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ test-storage.c:109:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:237:5: note: in expansion of macro 'TST_SET2' - tst(obj, SYMBOL, \ +test-storage.c:178:5: note: in expansion of macro 'TST_SET2' + tst(obj, CLOSURE, \ ^~~ -test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' - SYMBOL_TST(TST_SET2, NULL, SCM_NULL); - ^~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ - ^~~~~~~~~~~~ -sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' - do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:121:5: note: in expansion of macro 'TST_TN_EQ_STR' - TST_TN_EQ_STR("abc", ary[0]); - ^~~~~~~~~~~~~ +test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' + CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16706,9 +16038,10 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:124:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, len); +test-storage-compact.c:216:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_Y(o, INTOBJ2)); ^~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-gc-protect-stack-coll test-gc-protect-stack-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16727,8 +16060,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:124:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, len); +test-storage-compact.c:216:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_Y(o, INTOBJ2)); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -16744,15 +16077,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' - do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:125:5: note: in expansion of macro 'TST_TN_EQ_STR' - TST_TN_EQ_STR("abc", ary[0]); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:178:5: note: in expansion of macro 'TST_SET2' + tst(obj, CLOSURE, \ + ^~~ +test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' + CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16765,15 +16107,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' - do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:125:5: note: in expansion of macro 'TST_TN_EQ_STR' - TST_TN_EQ_STR("abc", ary[0]); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:178:5: note: in expansion of macro 'TST_SET2' + tst(obj, CLOSURE, \ + ^~~ +test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' + CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16788,14 +16139,14 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' - do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:126:5: note: in expansion of macro 'TST_TN_EQ_STR' - TST_TN_EQ_STR("def", ary[1]); +test-storage-compact.c:219:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_X(o, INTOBJ2)); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -16809,14 +16160,14 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' - do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:126:5: note: in expansion of macro 'TST_TN_EQ_STR' - TST_TN_EQ_STR("def", ary[1]); +test-storage-compact.c:219:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_X(o, INTOBJ2)); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -16832,15 +16183,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' - do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:127:5: note: in expansion of macro 'TST_TN_EQ_STR' - TST_TN_EQ_STR("gh", ary[2]); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:178:5: note: in expansion of macro 'TST_SET2' + tst(obj, CLOSURE, \ + ^~~ +test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' + CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); + ^~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16853,16 +16213,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:384:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_STR(x, a, desc) TST_EQUALITY(TST_STR_EQUAL, char*, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:438:23: note: in expansion of macro 'TST_EQ_STR' - do { TST_TN_SAVE; TST_EQ_STR((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:127:5: note: in expansion of macro 'TST_TN_EQ_STR' - TST_TN_EQ_STR("gh", ary[2]); - ^~~~~~~~~~~~~ -test-array2list.c: In function 'tst_4': +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:178:5: note: in expansion of macro 'TST_SET2' + tst(obj, CLOSURE, \ + ^~~ +test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' + CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); + ^~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16883,8 +16251,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:138:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, len); +test-storage-compact.c:220:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_Y(o, INTOBJ2)); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -16904,8 +16272,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:138:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, len); +test-storage-compact.c:220:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_Y(o, INTOBJ2)); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -16921,24 +16289,116 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:237:5: note: in expansion of macro 'TST_SET2' - tst(obj, SYMBOL, \ +test-storage.c:178:5: note: in expansion of macro 'TST_SET2' + tst(obj, CLOSURE, \ ^~~ -test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' - SYMBOL_TST(TST_SET2, NULL, SCM_NULL); - ^~~~~~~~~~ +test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' + CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); + ^~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:178:5: note: in expansion of macro 'TST_SET2' + tst(obj, CLOSURE, \ + ^~~ +test-storage.c:183:5: note: in expansion of macro 'CLOSURE_TST' + CLOSURE_TST(TST_SET2, SCM_NULL, CONS(SCM_NULL, SCM_NULL)); + ^~~~~~~~~~~ +test-storage-compact.c: In function 'tst_4': +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-storage-compact.c:250:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_MISC_SHORT0_XDIRECTP); + ^~~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:341:30: note: in expansion of macro 'TST_COND' + #define TST_TRUE(exp, desc) TST_COND((exp), desc) + ^~~~~~~~ +sscm-test.h:426:23: note: in expansion of macro 'TST_TRUE' + do { TST_TN_SAVE; TST_TRUE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~ +test-storage-compact.c:251:5: note: in expansion of macro 'TST_TN_TRUE' + TST_TN_TRUE (SCM_MISC_SHORT0_XSHIFTP); + ^~~~~~~~~~~ +sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] + (((cond) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + || \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n", \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __LINE__, desc))) \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + && TST_SUCC()) + ^~~~~~~~~~~~~~ +sscm-test.h:342:30: note: in expansion of macro 'TST_COND' + #define TST_FALSE(exp, desc) TST_COND(!(exp), desc) + ^~~~~~~~ +sscm-test.h:428:23: note: in expansion of macro 'TST_FALSE' + do { TST_TN_SAVE; TST_FALSE((exp), TST_TN_NAME()); } while (0) + ^~~~~~~~~ +test-storage-compact.c:252:5: note: in expansion of macro 'TST_TN_FALSE' + TST_TN_FALSE(SCM_MISC_SHORT0_XSPLITP); + ^~~~~~~~~~~~ +test-storage.c: In function 'tst_4': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16959,9 +16419,38 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:256:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_X(o, SHORT0)); +test-storage-compact.c:253:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, SCM_MISC_SHORT0_XSPILL); ^~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ + ^~~~ +test-storage.c:196:5: note: in expansion of macro 'TST_INIT1' + tst(obj, INT, \ + ^~~ +test-storage.c:199:5: note: in expansion of macro 'INT_TST' + INT_TST(TST_INIT1, 1); + ^~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16980,8 +16469,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:256:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_X(o, SHORT0)); +test-storage-compact.c:253:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, SCM_MISC_SHORT0_XSPILL); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -16995,24 +16484,21 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ ^~~~ -test-storage.c:237:5: note: in expansion of macro 'TST_SET2' - tst(obj, SYMBOL, \ +test-storage.c:196:5: note: in expansion of macro 'TST_INIT1' + tst(obj, INT, \ ^~~ -test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' - SYMBOL_TST(TST_SET2, NULL, SCM_NULL); - ^~~~~~~~~~ +test-storage.c:199:5: note: in expansion of macro 'INT_TST' + INT_TST(TST_INIT1, 1); + ^~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17030,12 +16516,18 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:141:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, len); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ + ^~~~ +test-storage.c:196:5: note: in expansion of macro 'TST_INIT1' + tst(obj, INT, \ + ^~~ +test-storage.c:200:5: note: in expansion of macro 'INT_TST' + INT_TST(TST_INIT1, SCM_INT_MIN); + ^~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17051,12 +16543,47 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:141:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, len); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ + ^~~~ +test-storage.c:196:5: note: in expansion of macro 'TST_INIT1' + tst(obj, INT, \ + ^~~ +test-storage.c:200:5: note: in expansion of macro 'INT_TST' + INT_TST(TST_INIT1, SCM_INT_MIN); + ^~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ + ^~~~ +test-storage.c:196:5: note: in expansion of macro 'TST_INIT1' + tst(obj, INT, \ + ^~~ +test-storage.c:201:5: note: in expansion of macro 'INT_TST' + INT_TST(TST_INIT1, SCM_INT_MAX); + ^~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17077,8 +16604,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-array2list.c:145:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, len); +test-storage-compact.c:256:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_X(o, SHORT0)); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -17095,44 +16622,18 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-array2list.c:145:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, len); - ^~~~~~~~~~~~~ -sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->fail, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_LOG(msg), \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 1, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 0) - ~~ -sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' - TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ - ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ ^~~~ -test-storage.c:237:5: note: in expansion of macro 'TST_SET2' - tst(obj, SYMBOL, \ +test-storage.c:196:5: note: in expansion of macro 'TST_INIT1' + tst(obj, INT, \ ^~~ -test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' - SYMBOL_TST(TST_SET2, NULL, SCM_NULL); - ^~~~~~~~~~ +test-storage.c:201:5: note: in expansion of macro 'INT_TST' + INT_TST(TST_INIT1, SCM_INT_MAX); + ^~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17145,24 +16646,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:237:5: note: in expansion of macro 'TST_SET2' - tst(obj, SYMBOL, \ - ^~~ -test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' - SYMBOL_TST(TST_SET2, NULL, SCM_NULL); - ^~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-storage-compact.c:256:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_X(o, SHORT0)); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17207,7 +16699,7 @@ test-storage-compact.c:257:5: note: in expansion of macro 'TST_TN_EQ_INT' TST_TN_EQ_INT(0, SCM_MISC_Y(o, SHORT0)); ^~~~~~~~~~~~~ -test-storage.c: In function 'tst_7': +test-storage.c: In function 'tst_5': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17222,24 +16714,21 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ ^~~~ -test-storage.c:253:5: note: in expansion of macro 'TST_INIT2' - tst(obj, STRING, \ +test-storage.c:217:5: note: in expansion of macro 'TST_INIT1' + tst(obj, CHAR, \ ^~~ -test-storage.c:257:5: note: in expansion of macro 'STRING_TST' - STRING_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); - ^~~~~~~~~~ +test-storage.c:220:5: note: in expansion of macro 'CHAR_TST' + CHAR_TST(TST_INIT1, 0); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17252,24 +16741,21 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ ^~~~ -test-storage.c:253:5: note: in expansion of macro 'TST_INIT2' - tst(obj, STRING, \ +test-storage.c:217:5: note: in expansion of macro 'TST_INIT1' + tst(obj, CHAR, \ ^~~ -test-storage.c:257:5: note: in expansion of macro 'STRING_TST' - STRING_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); - ^~~~~~~~~~ +test-storage.c:220:5: note: in expansion of macro 'CHAR_TST' + CHAR_TST(TST_INIT1, 0); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17287,12 +16773,18 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:260:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_X(o, SHORT0)); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ + ^~~~ +test-storage.c:217:5: note: in expansion of macro 'TST_INIT1' + tst(obj, CHAR, \ + ^~~ +test-storage.c:221:5: note: in expansion of macro 'CHAR_TST' + CHAR_TST(TST_INIT1, SCM_CHAR_MIN); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17308,12 +16800,18 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:260:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_X(o, SHORT0)); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ + ^~~~ +test-storage.c:217:5: note: in expansion of macro 'TST_INIT1' + tst(obj, CHAR, \ + ^~~ +test-storage.c:221:5: note: in expansion of macro 'CHAR_TST' + CHAR_TST(TST_INIT1, SCM_CHAR_MIN); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17334,18 +16832,15 @@ test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ ^~~~ -test-storage.c:253:5: note: in expansion of macro 'TST_INIT2' - tst(obj, STRING, \ +test-storage.c:217:5: note: in expansion of macro 'TST_INIT1' + tst(obj, CHAR, \ ^~~ -test-storage.c:257:5: note: in expansion of macro 'STRING_TST' - STRING_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); - ^~~~~~~~~~ +test-storage.c:222:5: note: in expansion of macro 'CHAR_TST' + CHAR_TST(TST_INIT1, SCM_CHAR_MAX); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17364,18 +16859,59 @@ test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ ^~~~ -test-storage.c:253:5: note: in expansion of macro 'TST_INIT2' - tst(obj, STRING, \ +test-storage.c:217:5: note: in expansion of macro 'TST_INIT1' + tst(obj, CHAR, \ ^~~ -test-storage.c:257:5: note: in expansion of macro 'STRING_TST' - STRING_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); - ^~~~~~~~~~ +test-storage.c:222:5: note: in expansion of macro 'CHAR_TST' + CHAR_TST(TST_INIT1, SCM_CHAR_MAX); + ^~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-storage-compact.c:260:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_X(o, SHORT0)); + ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-storage-compact.c:260:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_X(o, SHORT0)); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17460,6 +16996,7 @@ test-storage-compact.c:264:5: note: in expansion of macro 'TST_TN_FALSE' TST_TN_FALSE(SCM_MISC_SHORT1_XSHIFTP); ^~~~~~~~~~~~ +test-storage.c: In function 'tst_6': sscm-test.h:339:6: warning: right-hand operand of comma expression has no effect [-Wunused-value] (((cond) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17494,6 +17031,38 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:237:5: note: in expansion of macro 'TST_INIT2' + tst(obj, SYMBOL, \ + ^~~ +test-storage.c:241:5: note: in expansion of macro 'SYMBOL_TST' + SYMBOL_TST(TST_INIT2, p, LIST_1(SCM_NULL)); + ^~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ @@ -17524,6 +17093,36 @@ test-storage-compact.c:266:5: note: in expansion of macro 'TST_TN_EQ_INT' TST_TN_EQ_INT(0, SCM_MISC_SHORT1_XSPILL); ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:237:5: note: in expansion of macro 'TST_INIT2' + tst(obj, SYMBOL, \ + ^~~ +test-storage.c:241:5: note: in expansion of macro 'SYMBOL_TST' + SYMBOL_TST(TST_INIT2, p, LIST_1(SCM_NULL)); + ^~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17582,6 +17181,68 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:237:5: note: in expansion of macro 'TST_INIT2' + tst(obj, SYMBOL, \ + ^~~ +test-storage.c:241:5: note: in expansion of macro 'SYMBOL_TST' + SYMBOL_TST(TST_INIT2, p, LIST_1(SCM_NULL)); + ^~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:237:5: note: in expansion of macro 'TST_INIT2' + tst(obj, SYMBOL, \ + ^~~ +test-storage.c:241:5: note: in expansion of macro 'SYMBOL_TST' + SYMBOL_TST(TST_INIT2, p, LIST_1(SCM_NULL)); + ^~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ @@ -17626,6 +17287,68 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:237:5: note: in expansion of macro 'TST_SET2' + tst(obj, SYMBOL, \ + ^~~ +test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' + SYMBOL_TST(TST_SET2, NULL, SCM_NULL); + ^~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:237:5: note: in expansion of macro 'TST_SET2' + tst(obj, SYMBOL, \ + ^~~ +test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' + SYMBOL_TST(TST_SET2, NULL, SCM_NULL); + ^~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ @@ -17783,27 +17506,6 @@ test-storage-compact.c:279:5: note: in expansion of macro 'TST_TN_EQ_INT' TST_TN_EQ_INT(0, SCM_MISC_SHORT2_XSPILL); ^~~~~~~~~~~~~ -sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] - #define TST_SUCC() (++TST_CASE_INFO->done, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ++TST_CASE_INFO->succ, \ - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - TST_FAILED = 0, \ - ~~~~~~~~~~~~~~^~~~~~~~~~~~ - 1) - ~~ -sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' - TST_SUCC(); \ - ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:279:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_SHORT2_XSPILL); - ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17818,15 +17520,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-storage-compact.c:282:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_X(o, SHORT2)); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:237:5: note: in expansion of macro 'TST_SET2' + tst(obj, SYMBOL, \ + ^~~ +test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' + SYMBOL_TST(TST_SET2, NULL, SCM_NULL); + ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17845,9 +17556,39 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:282:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, SCM_MISC_X(o, SHORT2)); +test-storage-compact.c:279:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_SHORT2_XSPILL); ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:237:5: note: in expansion of macro 'TST_SET2' + tst(obj, SYMBOL, \ + ^~~ +test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' + SYMBOL_TST(TST_SET2, NULL, SCM_NULL); + ^~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17868,8 +17609,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:283:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_Y(o, SHORT2)); +test-storage-compact.c:282:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_X(o, SHORT2)); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -17889,8 +17630,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:283:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_Y(o, SHORT2)); +test-storage-compact.c:282:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, SCM_MISC_X(o, SHORT2)); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -17915,14 +17656,14 @@ test-storage.c:75:9: note: in expansion of macro 'TST1' TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' +test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:253:5: note: in expansion of macro 'TST_SET2' - tst(obj, STRING, \ +test-storage.c:237:5: note: in expansion of macro 'TST_SET2' + tst(obj, SYMBOL, \ ^~~ -test-storage.c:272:5: note: in expansion of macro 'STRING_TST' - STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); +test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' + SYMBOL_TST(TST_SET2, NULL, SCM_NULL); ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -17945,14 +17686,14 @@ test-storage.c:75:9: note: in expansion of macro 'TST1' TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' +test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:253:5: note: in expansion of macro 'TST_SET2' - tst(obj, STRING, \ +test-storage.c:237:5: note: in expansion of macro 'TST_SET2' + tst(obj, SYMBOL, \ ^~~ -test-storage.c:272:5: note: in expansion of macro 'STRING_TST' - STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); +test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' + SYMBOL_TST(TST_SET2, NULL, SCM_NULL); ^~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -17974,8 +17715,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:286:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_X(o, SHORT2)); +test-storage-compact.c:283:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_Y(o, SHORT2)); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -17995,8 +17736,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-storage-compact.c:286:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, SCM_MISC_X(o, SHORT2)); +test-storage-compact.c:283:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_Y(o, SHORT2)); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -18012,23 +17753,23 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ test-storage.c:76:9: note: in expansion of macro 'TST1' TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' +test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:253:5: note: in expansion of macro 'TST_SET2' - tst(obj, STRING, \ +test-storage.c:237:5: note: in expansion of macro 'TST_SET2' + tst(obj, SYMBOL, \ ^~~ -test-storage.c:272:5: note: in expansion of macro 'STRING_TST' - STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); +test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' + SYMBOL_TST(TST_SET2, NULL, SCM_NULL); ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -18042,23 +17783,23 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ test-storage.c:76:9: note: in expansion of macro 'TST1' TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' +test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:253:5: note: in expansion of macro 'TST_SET2' - tst(obj, STRING, \ +test-storage.c:237:5: note: in expansion of macro 'TST_SET2' + tst(obj, SYMBOL, \ ^~~ -test-storage.c:272:5: note: in expansion of macro 'STRING_TST' - STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); +test-storage.c:242:5: note: in expansion of macro 'SYMBOL_TST' + SYMBOL_TST(TST_SET2, NULL, SCM_NULL); ^~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -18080,6 +17821,50 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ +test-storage-compact.c:286:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_X(o, SHORT2)); + ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-storage-compact.c:286:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, SCM_MISC_X(o, SHORT2)); + ^~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ test-storage-compact.c:287:5: note: in expansion of macro 'TST_TN_EQ_INT' TST_TN_EQ_INT(-1, SCM_MISC_Y(o, SHORT2)); ^~~~~~~~~~~~~ @@ -18104,7 +17889,7 @@ test-storage-compact.c:287:5: note: in expansion of macro 'TST_TN_EQ_INT' TST_TN_EQ_INT(-1, SCM_MISC_Y(o, SHORT2)); ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-minishell test-minishell.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la +test-storage.c: In function 'tst_7': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18128,14 +17913,14 @@ test-storage.c:75:9: note: in expansion of macro 'TST1' TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ ^~~~ -test-storage.c:253:5: note: in expansion of macro 'TST_SET2' +test-storage.c:253:5: note: in expansion of macro 'TST_INIT2' tst(obj, STRING, \ ^~~ -test-storage.c:272:5: note: in expansion of macro 'STRING_TST' - STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); +test-storage.c:257:5: note: in expansion of macro 'STRING_TST' + STRING_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -18158,14 +17943,14 @@ test-storage.c:75:9: note: in expansion of macro 'TST1' TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ ^~~~ -test-storage.c:253:5: note: in expansion of macro 'TST_SET2' +test-storage.c:253:5: note: in expansion of macro 'TST_INIT2' tst(obj, STRING, \ ^~~ -test-storage.c:272:5: note: in expansion of macro 'STRING_TST' - STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); +test-storage.c:257:5: note: in expansion of macro 'STRING_TST' + STRING_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); ^~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -18190,14 +17975,14 @@ test-storage.c:76:9: note: in expansion of macro 'TST1' TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ ^~~~ -test-storage.c:253:5: note: in expansion of macro 'TST_SET2' +test-storage.c:253:5: note: in expansion of macro 'TST_INIT2' tst(obj, STRING, \ ^~~ -test-storage.c:272:5: note: in expansion of macro 'STRING_TST' - STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); +test-storage.c:257:5: note: in expansion of macro 'STRING_TST' + STRING_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -18220,16 +18005,17 @@ test-storage.c:76:9: note: in expansion of macro 'TST1' TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ ^~~~ -test-storage.c:253:5: note: in expansion of macro 'TST_SET2' +test-storage.c:253:5: note: in expansion of macro 'TST_INIT2' tst(obj, STRING, \ ^~~ -test-storage.c:272:5: note: in expansion of macro 'STRING_TST' - STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); +test-storage.c:257:5: note: in expansion of macro 'STRING_TST' + STRING_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); ^~~~~~~~~~ -test-storage.c: In function 'vector': +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-minishell test-minishell.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la +test-length.c: In function 'tst_13': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18244,24 +18030,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:293:5: note: in expansion of macro 'TST_INIT2' - tst(obj, VECTOR, \ - ^~~ -test-storage.c:297:5: note: in expansion of macro 'VECTOR_TST' - VECTOR_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); - ^~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:304:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, scm_finite_length(SCM_NULL)); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18274,24 +18051,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:293:5: note: in expansion of macro 'TST_INIT2' - tst(obj, VECTOR, \ - ^~~ -test-storage.c:297:5: note: in expansion of macro 'VECTOR_TST' - VECTOR_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); - ^~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:304:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, scm_finite_length(SCM_NULL)); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18309,21 +18077,12 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:293:5: note: in expansion of macro 'TST_INIT2' - tst(obj, VECTOR, \ - ^~~ -test-storage.c:297:5: note: in expansion of macro 'VECTOR_TST' - VECTOR_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); - ^~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:305:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, scm_finite_length(CONS(e, SCM_NULL))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18339,21 +18098,56 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:293:5: note: in expansion of macro 'TST_INIT2' - tst(obj, VECTOR, \ - ^~~ -test-storage.c:297:5: note: in expansion of macro 'VECTOR_TST' - VECTOR_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); - ^~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:305:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, scm_finite_length(CONS(e, SCM_NULL))); + ^~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:306:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(2, scm_finite_length(CONS(e, CONS(e, SCM_NULL)))); + ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:306:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(2, scm_finite_length(CONS(e, CONS(e, SCM_NULL)))); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18380,11 +18174,11 @@ test-storage.c:109:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:293:5: note: in expansion of macro 'TST_SET2' - tst(obj, VECTOR, \ +test-storage.c:253:5: note: in expansion of macro 'TST_SET2' + tst(obj, STRING, \ ^~~ -test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' - VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); +test-storage.c:272:5: note: in expansion of macro 'STRING_TST' + STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -18410,11 +18204,11 @@ test-storage.c:109:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:293:5: note: in expansion of macro 'TST_SET2' - tst(obj, VECTOR, \ +test-storage.c:253:5: note: in expansion of macro 'TST_SET2' + tst(obj, STRING, \ ^~~ -test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' - VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); +test-storage.c:272:5: note: in expansion of macro 'STRING_TST' + STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); ^~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -18442,11 +18236,11 @@ test-storage.c:109:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:293:5: note: in expansion of macro 'TST_SET2' - tst(obj, VECTOR, \ +test-storage.c:253:5: note: in expansion of macro 'TST_SET2' + tst(obj, STRING, \ ^~~ -test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' - VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); +test-storage.c:272:5: note: in expansion of macro 'STRING_TST' + STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -18472,11 +18266,11 @@ test-storage.c:109:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:293:5: note: in expansion of macro 'TST_SET2' - tst(obj, VECTOR, \ +test-storage.c:253:5: note: in expansion of macro 'TST_SET2' + tst(obj, STRING, \ ^~~ -test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' - VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); +test-storage.c:272:5: note: in expansion of macro 'STRING_TST' + STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); ^~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -18492,24 +18286,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:293:5: note: in expansion of macro 'TST_SET2' - tst(obj, VECTOR, \ - ^~~ -test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' - VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); - ^~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:307:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, scm_finite_length(CONS(e, CONS(e, CONS(e, SCM_NULL))))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18522,25 +18307,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:293:5: note: in expansion of macro 'TST_SET2' - tst(obj, VECTOR, \ - ^~~ -test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' - VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); - ^~~~~~~~~~ -test-length.c: In function 'tst_13': +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:307:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, scm_finite_length(CONS(e, CONS(e, CONS(e, SCM_NULL))))); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18561,8 +18336,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:304:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, scm_finite_length(SCM_NULL)); +test-length.c:309:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, scm_finite_length(SCM_TRUE)); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -18582,8 +18357,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:304:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, scm_finite_length(SCM_NULL)); +test-length.c:309:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, scm_finite_length(SCM_TRUE)); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -18602,21 +18377,12 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:293:5: note: in expansion of macro 'TST_SET2' - tst(obj, VECTOR, \ - ^~~ -test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' - VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); - ^~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:310:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-2, scm_finite_length(CONS(e, SCM_TRUE))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18632,21 +18398,12 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:293:5: note: in expansion of macro 'TST_SET2' - tst(obj, VECTOR, \ - ^~~ -test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' - VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); - ^~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:310:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-2, scm_finite_length(CONS(e, SCM_TRUE))); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18667,8 +18424,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:305:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, scm_finite_length(CONS(e, SCM_NULL))); +test-length.c:311:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-3, scm_finite_length(CONS(e, CONS(e, SCM_TRUE)))); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -18688,10 +18445,9 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:305:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, scm_finite_length(CONS(e, SCM_NULL))); +test-length.c:311:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-3, scm_finite_length(CONS(e, CONS(e, SCM_TRUE)))); ^~~~~~~~~~~~~ -test-storage.c: In function 'tst_9': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18706,21 +18462,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ -test-storage.c:325:5: note: in expansion of macro 'TST_INIT1' - tst(obj, VALUEPACKET, \ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:253:5: note: in expansion of macro 'TST_SET2' + tst(obj, STRING, \ ^~~ -test-storage.c:328:5: note: in expansion of macro 'VALS_TST' - VALS_TST(TST_INIT1, LIST_2(SCM_TRUE, SCM_FALSE)); - ^~~~~~~~ +test-storage.c:272:5: note: in expansion of macro 'STRING_TST' + STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); + ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18733,21 +18492,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:93:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ -test-storage.c:325:5: note: in expansion of macro 'TST_INIT1' - tst(obj, VALUEPACKET, \ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:253:5: note: in expansion of macro 'TST_SET2' + tst(obj, STRING, \ ^~~ -test-storage.c:328:5: note: in expansion of macro 'VALS_TST' - VALS_TST(TST_INIT1, LIST_2(SCM_TRUE, SCM_FALSE)); - ^~~~~~~~ +test-storage.c:272:5: note: in expansion of macro 'STRING_TST' + STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); + ^~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18768,8 +18530,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:306:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(2, scm_finite_length(CONS(e, CONS(e, SCM_NULL)))); +test-length.c:312:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-4, scm_finite_length(CONS(e, CONS(e, CONS(e, SCM_TRUE))))); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -18789,8 +18551,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:306:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(2, scm_finite_length(CONS(e, CONS(e, SCM_NULL)))); +test-length.c:312:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-4, scm_finite_length(CONS(e, CONS(e, CONS(e, SCM_TRUE))))); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -18806,21 +18568,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:100:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fnew, "after setting " #field); \ - ^~~~ -test-storage.c:325:5: note: in expansion of macro 'TST_SET1' - tst(obj, VALUEPACKET, \ - ^~~ -test-storage.c:329:5: note: in expansion of macro 'VALS_TST' - VALS_TST(TST_SET1, SCM_NULL); - ^~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:313:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, scm_finite_length(n)); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18833,22 +18589,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:100:9: note: in expansion of macro 'TST1' - TST1(o, typ, field, ftyp, fnew, "after setting " #field); \ - ^~~~ -test-storage.c:325:5: note: in expansion of macro 'TST_SET1' - tst(obj, VALUEPACKET, \ - ^~~ -test-storage.c:329:5: note: in expansion of macro 'VALS_TST' - VALS_TST(TST_SET1, SCM_NULL); - ^~~~~~~~ -test-storage.c: In function 'tst_10': +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:313:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, scm_finite_length(n)); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18869,18 +18618,41 @@ test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' - tst(obj, FUNC, \ +test-storage.c:253:5: note: in expansion of macro 'TST_SET2' + tst(obj, STRING, \ ^~~ -test-storage.c:343:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeef); - ^~~~~~~~ +test-storage.c:272:5: note: in expansion of macro 'STRING_TST' + STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); + ^~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:314:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-2, scm_finite_length(CONS(e, n))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18899,18 +18671,39 @@ test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' - tst(obj, FUNC, \ +test-storage.c:253:5: note: in expansion of macro 'TST_SET2' + tst(obj, STRING, \ ^~~ -test-storage.c:343:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeef); - ^~~~~~~~ +test-storage.c:272:5: note: in expansion of macro 'STRING_TST' + STRING_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); + ^~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:314:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-2, scm_finite_length(CONS(e, n))); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18925,24 +18718,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' - TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' - tst(obj, FUNC, \ - ^~~ -test-storage.c:343:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeef); - ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:315:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-3, scm_finite_length(CONS(e, CONS(e, n)))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18955,24 +18739,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' - TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' - tst(obj, FUNC, \ - ^~~ -test-storage.c:343:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeef); - ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:315:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-3, scm_finite_length(CONS(e, CONS(e, n)))); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18993,8 +18768,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:307:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, scm_finite_length(CONS(e, CONS(e, CONS(e, SCM_NULL))))); +test-length.c:316:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-4, scm_finite_length(CONS(e, CONS(e, CONS(e, n))))); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -19014,9 +18789,10 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:307:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, scm_finite_length(CONS(e, CONS(e, CONS(e, SCM_NULL))))); +test-length.c:316:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-4, scm_finite_length(CONS(e, CONS(e, CONS(e, n))))); ^~~~~~~~~~~~~ +test-length.c: In function 'tst_14': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19037,8 +18813,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:309:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, scm_finite_length(SCM_TRUE)); +test-length.c:328:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, scm_length(SCM_NULL)); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -19058,9 +18834,10 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:309:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, scm_finite_length(SCM_TRUE)); +test-length.c:328:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(0, scm_length(SCM_NULL)); ^~~~~~~~~~~~~ +test-storage.c: In function 'vector': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19078,21 +18855,12 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_SET2' - tst(obj, FUNC, \ - ^~~ -test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); - ^~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:329:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, scm_length(CONS(e, SCM_NULL))); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19107,15 +18875,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:310:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-2, scm_finite_length(CONS(e, SCM_TRUE))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:293:5: note: in expansion of macro 'TST_INIT2' + tst(obj, VECTOR, \ + ^~~ +test-storage.c:297:5: note: in expansion of macro 'VECTOR_TST' + VECTOR_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); + ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19131,21 +18908,12 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_SET2' - tst(obj, FUNC, \ - ^~~ -test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); - ^~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:329:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(1, scm_length(CONS(e, SCM_NULL))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19158,15 +18926,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:310:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-2, scm_finite_length(CONS(e, SCM_TRUE))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:293:5: note: in expansion of macro 'TST_INIT2' + tst(obj, VECTOR, \ + ^~~ +test-storage.c:297:5: note: in expansion of macro 'VECTOR_TST' + VECTOR_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); + ^~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19187,8 +18964,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:311:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-3, scm_finite_length(CONS(e, CONS(e, SCM_TRUE)))); +test-length.c:330:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(2, scm_length(CONS(e, CONS(e, SCM_NULL)))); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -19208,8 +18985,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:311:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-3, scm_finite_length(CONS(e, CONS(e, SCM_TRUE)))); +test-length.c:330:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(2, scm_length(CONS(e, CONS(e, SCM_NULL)))); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -19225,24 +19002,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' - TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ test-storage.c:76:9: note: in expansion of macro 'TST1' TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_SET2' - tst(obj, FUNC, \ +test-storage.c:293:5: note: in expansion of macro 'TST_INIT2' + tst(obj, VECTOR, \ ^~~ -test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); - ^~~~~~~~ +test-storage.c:297:5: note: in expansion of macro 'VECTOR_TST' + VECTOR_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); + ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19255,24 +19032,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' - TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ test-storage.c:76:9: note: in expansion of macro 'TST1' TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_SET2' - tst(obj, FUNC, \ +test-storage.c:293:5: note: in expansion of macro 'TST_INIT2' + tst(obj, VECTOR, \ ^~~ -test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); - ^~~~~~~~ +test-storage.c:297:5: note: in expansion of macro 'VECTOR_TST' + VECTOR_TST(TST_INIT2, aligned_dup(buf, sizeof(buf)), len); + ^~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19293,8 +19070,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:312:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-4, scm_finite_length(CONS(e, CONS(e, CONS(e, SCM_TRUE))))); +test-length.c:331:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, scm_length(CONS(e, CONS(e, CONS(e, SCM_NULL))))); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -19314,8 +19091,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:312:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-4, scm_finite_length(CONS(e, CONS(e, CONS(e, SCM_TRUE))))); +test-length.c:331:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(3, scm_length(CONS(e, CONS(e, CONS(e, SCM_NULL))))); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -19334,21 +19111,12 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_SET2' - tst(obj, FUNC, \ - ^~~ -test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); - ^~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:333:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, scm_length(SCM_TRUE)); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19364,21 +19132,12 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_SET2' - tst(obj, FUNC, \ - ^~~ -test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); - ^~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:333:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, scm_length(SCM_TRUE)); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19399,8 +19158,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:313:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, scm_finite_length(n)); +test-length.c:334:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-2, scm_length(CONS(e, SCM_TRUE))); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -19420,8 +19179,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:313:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, scm_finite_length(n)); +test-length.c:334:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-2, scm_length(CONS(e, SCM_TRUE))); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -19443,8 +19202,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:314:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-2, scm_finite_length(CONS(e, n))); +test-length.c:335:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-3, scm_length(CONS(e, CONS(e, SCM_TRUE)))); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -19464,8 +19223,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:314:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-2, scm_finite_length(CONS(e, n))); +test-length.c:335:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-3, scm_length(CONS(e, CONS(e, SCM_TRUE)))); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -19487,8 +19246,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:315:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-3, scm_finite_length(CONS(e, CONS(e, n)))); +test-length.c:336:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-4, scm_length(CONS(e, CONS(e, CONS(e, SCM_TRUE))))); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -19508,8 +19267,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:315:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-3, scm_finite_length(CONS(e, CONS(e, n)))); +test-length.c:336:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-4, scm_length(CONS(e, CONS(e, CONS(e, SCM_TRUE))))); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -19525,24 +19284,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' - TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_SET2' - tst(obj, FUNC, \ - ^~~ -test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); - ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:337:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, scm_length(n)); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19555,24 +19305,15 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' - TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ - ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_SET2' - tst(obj, FUNC, \ - ^~~ -test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); - ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:337:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-1, scm_length(n)); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19593,8 +19334,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:316:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-4, scm_finite_length(CONS(e, CONS(e, CONS(e, n))))); +test-length.c:338:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-2, scm_length(CONS(e, n))); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -19614,10 +19355,9 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:316:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-4, scm_finite_length(CONS(e, CONS(e, CONS(e, n))))); +test-length.c:338:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-2, scm_length(CONS(e, n))); ^~~~~~~~~~~~~ -test-length.c: In function 'tst_14': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19638,8 +19378,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:328:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, scm_length(SCM_NULL)); +test-length.c:339:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-3, scm_length(CONS(e, CONS(e, n)))); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -19659,8 +19399,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:328:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(0, scm_length(SCM_NULL)); +test-length.c:339:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-3, scm_length(CONS(e, CONS(e, n)))); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -19679,21 +19419,12 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' - tst(obj, FUNC, \ - ^~~ -test-storage.c:346:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeeffeed); - ^~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:340:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-4, scm_length(CONS(e, CONS(e, CONS(e, n))))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19709,21 +19440,12 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' - tst(obj, FUNC, \ - ^~~ -test-storage.c:346:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeeffeed); - ^~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:340:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(-4, scm_length(CONS(e, CONS(e, CONS(e, n))))); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19744,8 +19466,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:329:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, scm_length(CONS(e, SCM_NULL))); +test-length.c:342:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(SCM_INT_T_MIN, scm_length(circular_list(1))); ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -19765,8 +19487,8 @@ sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) ^~~~~~~~~~ -test-length.c:329:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(1, scm_length(CONS(e, SCM_NULL))); +test-length.c:342:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(SCM_INT_T_MIN, scm_length(circular_list(1))); ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -19782,24 +19504,15 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' - TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' - tst(obj, FUNC, \ - ^~~ -test-storage.c:346:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeeffeed); - ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:343:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(SCM_INT_T_MIN, scm_length(circular_list(2))); + ^~~~~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19812,25 +19525,59 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' - TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' - TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ - ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ - ^~~~ -test-storage.c:84:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1v, \ - ^~~~ -test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' - tst(obj, FUNC, \ - ^~~ -test-storage.c:346:5: note: in expansion of macro 'FUNC_TST' - FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeeffeed); - ^~~~~~~~ -test-storage.c: In function 'tst_12': +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:343:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(SCM_INT_T_MIN, scm_length(circular_list(2))); + ^~~~~~~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:344:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(SCM_INT_T_MIN, scm_length(circular_list(3))); + ^~~~~~~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ + ^~~~~~~~~~~~ +sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' + do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) + ^~~~~~~~~~ +test-length.c:344:5: note: in expansion of macro 'TST_TN_EQ_INT' + TST_TN_EQ_INT(SCM_INT_T_MIN, scm_length(circular_list(3))); + ^~~~~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19857,12 +19604,12 @@ test-storage.c:109:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:373:5: note: in expansion of macro 'TST_SET2' - tst(obj, CONTINUATION, \ +test-storage.c:293:5: note: in expansion of macro 'TST_SET2' + tst(obj, VECTOR, \ ^~~ -test-storage.c:378:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); - ^~~~~~~~ +test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' + VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); + ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19887,12 +19634,13 @@ test-storage.c:109:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:373:5: note: in expansion of macro 'TST_SET2' - tst(obj, CONTINUATION, \ +test-storage.c:293:5: note: in expansion of macro 'TST_SET2' + tst(obj, VECTOR, \ ^~~ -test-storage.c:378:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); - ^~~~~~~~ +test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' + VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); + ^~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-global-coll test-global-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19919,12 +19667,12 @@ test-storage.c:109:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:373:5: note: in expansion of macro 'TST_SET2' - tst(obj, CONTINUATION, \ +test-storage.c:293:5: note: in expansion of macro 'TST_SET2' + tst(obj, VECTOR, \ ^~~ -test-storage.c:378:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); - ^~~~~~~~ +test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' + VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); + ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19949,12 +19697,12 @@ test-storage.c:109:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:373:5: note: in expansion of macro 'TST_SET2' - tst(obj, CONTINUATION, \ +test-storage.c:293:5: note: in expansion of macro 'TST_SET2' + tst(obj, VECTOR, \ ^~~ -test-storage.c:378:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); - ^~~~~~~~ +test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' + VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); + ^~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19969,15 +19717,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:330:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(2, scm_length(CONS(e, CONS(e, SCM_NULL)))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:293:5: note: in expansion of macro 'TST_SET2' + tst(obj, VECTOR, \ + ^~~ +test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' + VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); + ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19990,15 +19747,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:330:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(2, scm_length(CONS(e, CONS(e, SCM_NULL)))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:293:5: note: in expansion of macro 'TST_SET2' + tst(obj, VECTOR, \ + ^~~ +test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' + VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); + ^~~~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20013,24 +19779,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:373:5: note: in expansion of macro 'TST_SET2' - tst(obj, CONTINUATION, \ +test-storage.c:293:5: note: in expansion of macro 'TST_SET2' + tst(obj, VECTOR, \ ^~~ -test-storage.c:378:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); - ^~~~~~~~ +test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' + VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); + ^~~~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20043,24 +19809,25 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:75:9: note: in expansion of macro 'TST1' - TST1(o, typ, f1, f1typ, _f1v, context); \ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:373:5: note: in expansion of macro 'TST_SET2' - tst(obj, CONTINUATION, \ +test-storage.c:293:5: note: in expansion of macro 'TST_SET2' + tst(obj, VECTOR, \ ^~~ -test-storage.c:378:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); - ^~~~~~~~ +test-storage.c:312:5: note: in expansion of macro 'VECTOR_TST' + VECTOR_TST(TST_SET2, aligned_dup(buf, sizeof(buf)), len - 8); + ^~~~~~~~~~ +test-storage.c: In function 'tst_9': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20075,15 +19842,21 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:331:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, scm_length(CONS(e, CONS(e, CONS(e, SCM_NULL))))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ + ^~~~ +test-storage.c:325:5: note: in expansion of macro 'TST_INIT1' + tst(obj, VALUEPACKET, \ + ^~~ +test-storage.c:328:5: note: in expansion of macro 'VALS_TST' + VALS_TST(TST_INIT1, LIST_2(SCM_TRUE, SCM_FALSE)); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20096,15 +19869,21 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:331:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(3, scm_length(CONS(e, CONS(e, CONS(e, SCM_NULL))))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:93:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fv, "on fresh " #typ); \ + ^~~~ +test-storage.c:325:5: note: in expansion of macro 'TST_INIT1' + tst(obj, VALUEPACKET, \ + ^~~ +test-storage.c:328:5: note: in expansion of macro 'VALS_TST' + VALS_TST(TST_INIT1, LIST_2(SCM_TRUE, SCM_FALSE)); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20119,24 +19898,49 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ +test-storage.c:100:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fnew, "after setting " #field); \ ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ +test-storage.c:325:5: note: in expansion of macro 'TST_SET1' + tst(obj, VALUEPACKET, \ + ^~~ +test-storage.c:329:5: note: in expansion of macro 'VALS_TST' + VALS_TST(TST_SET1, SCM_NULL); + ^~~~~~~~ +sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_SUCC() (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->succ, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 0, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 1) + ~~ +sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' + TST_SUCC(); \ + ^~~~~~~~ +sscm-test.h:392:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_OBJ(x, a, desc) TST_EQUALITY(SCM_EQ, scm_uintobj_t, \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_OBJ' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:100:9: note: in expansion of macro 'TST1' + TST1(o, typ, field, ftyp, fnew, "after setting " #field); \ ^~~~ -test-storage.c:373:5: note: in expansion of macro 'TST_SET2' - tst(obj, CONTINUATION, \ +test-storage.c:325:5: note: in expansion of macro 'TST_SET1' + tst(obj, VALUEPACKET, \ ^~~ -test-storage.c:378:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); +test-storage.c:329:5: note: in expansion of macro 'VALS_TST' + VALS_TST(TST_SET1, SCM_NULL); ^~~~~~~~ +test-storage.c: In function 'tst_10': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20154,12 +19958,21 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:333:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, scm_length(SCM_TRUE)); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' + tst(obj, FUNC, \ + ^~~ +test-storage.c:343:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeef); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20178,17 +19991,49 @@ test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' + tst(obj, FUNC, \ + ^~~ +test-storage.c:343:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeef); + ^~~~~~~~ +sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] + #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ++TST_CASE_INFO->fail, \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_LOG(msg), \ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + TST_FAILED = 1, \ + ~~~~~~~~~~~~~~^~~~~~~~~~~~ + 0) + ~~ +sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' + TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ + ^~~~~~~~ +sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' + TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ test-storage.c:76:9: note: in expansion of macro 'TST1' TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ -test-storage.c:113:9: note: in expansion of macro 'TST2' - TST2(o, typ, f1, f1typ, f1new, \ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ ^~~~ -test-storage.c:373:5: note: in expansion of macro 'TST_SET2' - tst(obj, CONTINUATION, \ +test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' + tst(obj, FUNC, \ ^~~ -test-storage.c:378:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); +test-storage.c:343:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeef); ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -20202,15 +20047,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:333:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, scm_length(SCM_TRUE)); - ^~~~~~~~~~~~~ +sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' + TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' + tst(obj, FUNC, \ + ^~~ +test-storage.c:343:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeef); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20228,12 +20082,21 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:334:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-2, scm_length(CONS(e, SCM_TRUE))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:338:5: note: in expansion of macro 'TST_SET2' + tst(obj, FUNC, \ + ^~~ +test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20249,12 +20112,21 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:334:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-2, scm_length(CONS(e, SCM_TRUE))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:338:5: note: in expansion of macro 'TST_SET2' + tst(obj, FUNC, \ + ^~~ +test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20269,15 +20141,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:335:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-3, scm_length(CONS(e, CONS(e, SCM_TRUE)))); - ^~~~~~~~~~~~~ +sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' + TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:338:5: note: in expansion of macro 'TST_SET2' + tst(obj, FUNC, \ + ^~~ +test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20290,15 +20171,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:335:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-3, scm_length(CONS(e, CONS(e, SCM_TRUE)))); - ^~~~~~~~~~~~~ +sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' + TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:338:5: note: in expansion of macro 'TST_SET2' + tst(obj, FUNC, \ + ^~~ +test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20313,23 +20203,23 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ test-storage.c:75:9: note: in expansion of macro 'TST1' TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' +test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:373:5: note: in expansion of macro 'TST_SET2' - tst(obj, CONTINUATION, \ +test-storage.c:338:5: note: in expansion of macro 'TST_SET2' + tst(obj, FUNC, \ ^~~ -test-storage.c:379:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, INVALID_CONTINUATION_OPAQUE, 0); +test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -20343,23 +20233,23 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ +sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ test-storage.c:75:9: note: in expansion of macro 'TST1' TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' +test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:373:5: note: in expansion of macro 'TST_SET2' - tst(obj, CONTINUATION, \ +test-storage.c:338:5: note: in expansion of macro 'TST_SET2' + tst(obj, FUNC, \ ^~~ -test-storage.c:379:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, INVALID_CONTINUATION_OPAQUE, 0); +test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -20375,23 +20265,23 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' +sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' + TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ test-storage.c:76:9: note: in expansion of macro 'TST1' TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' +test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:373:5: note: in expansion of macro 'TST_SET2' - tst(obj, CONTINUATION, \ +test-storage.c:338:5: note: in expansion of macro 'TST_SET2' + tst(obj, FUNC, \ ^~~ -test-storage.c:379:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, INVALID_CONTINUATION_OPAQUE, 0); +test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -20405,23 +20295,23 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' +sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' + TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ test-storage.c:76:9: note: in expansion of macro 'TST1' TST1(o, typ, f2, f2typ, _f2v, context); \ ^~~~ -test-storage.c:109:9: note: in expansion of macro 'TST2' +test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ ^~~~ -test-storage.c:373:5: note: in expansion of macro 'TST_SET2' - tst(obj, CONTINUATION, \ +test-storage.c:338:5: note: in expansion of macro 'TST_SET2' + tst(obj, FUNC, \ ^~~ -test-storage.c:379:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, INVALID_CONTINUATION_OPAQUE, 0); +test-storage.c:344:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_SET2, SCM_PROCEDURE_FIXED_4, (ScmFuncType)0); ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -20440,12 +20330,21 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:336:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-4, scm_length(CONS(e, CONS(e, CONS(e, SCM_TRUE))))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' + tst(obj, FUNC, \ + ^~~ +test-storage.c:346:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeeffeed); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20461,12 +20360,21 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:336:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-4, scm_length(CONS(e, CONS(e, CONS(e, SCM_TRUE))))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' + tst(obj, FUNC, \ + ^~~ +test-storage.c:346:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeeffeed); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20481,15 +20389,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:337:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, scm_length(n)); - ^~~~~~~~~~~~~ +sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' + TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' + tst(obj, FUNC, \ + ^~~ +test-storage.c:346:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeeffeed); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20502,15 +20419,25 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ - ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:337:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-1, scm_length(n)); - ^~~~~~~~~~~~~ +sscm-test.h:403:5: note: in expansion of macro 'TST_EQUALITY' + TST_EQUALITY(TST_C_EQUAL, tst_funcptr_t, "%p", \ + ^~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_FPTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:84:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1v, \ + ^~~~ +test-storage.c:338:5: note: in expansion of macro 'TST_INIT2' + tst(obj, FUNC, \ + ^~~ +test-storage.c:346:5: note: in expansion of macro 'FUNC_TST' + FUNC_TST(TST_INIT2, SCM_SYNTAX_VARIADIC_1, (ScmFuncType)0xdeadbeeffeed); + ^~~~~~~~ +test-storage.c: In function 'tst_12': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20525,15 +20452,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:338:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-2, scm_length(CONS(e, n))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:373:5: note: in expansion of macro 'TST_SET2' + tst(obj, CONTINUATION, \ + ^~~ +test-storage.c:378:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20546,15 +20482,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:338:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-2, scm_length(CONS(e, n))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:373:5: note: in expansion of macro 'TST_SET2' + tst(obj, CONTINUATION, \ + ^~~ +test-storage.c:378:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20572,12 +20517,21 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:339:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-3, scm_length(CONS(e, CONS(e, n)))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:373:5: note: in expansion of macro 'TST_SET2' + tst(obj, CONTINUATION, \ + ^~~ +test-storage.c:378:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20593,12 +20547,22 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:339:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-3, scm_length(CONS(e, CONS(e, n)))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:373:5: note: in expansion of macro 'TST_SET2' + tst(obj, CONTINUATION, \ + ^~~ +test-storage.c:378:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); + ^~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-alignment-coll test-alignment-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20628,8 +20592,8 @@ test-storage.c:373:5: note: in expansion of macro 'TST_SET2' tst(obj, CONTINUATION, \ ^~~ -test-storage.c:379:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, INVALID_CONTINUATION_OPAQUE, 0); +test-storage.c:378:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ @@ -20658,10 +20622,9 @@ test-storage.c:373:5: note: in expansion of macro 'TST_SET2' tst(obj, CONTINUATION, \ ^~~ -test-storage.c:379:5: note: in expansion of macro 'CONT_TST' - CONT_TST(TST_SET2, INVALID_CONTINUATION_OPAQUE, 0); +test-storage.c:378:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); ^~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-global-coll test-global-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20679,12 +20642,21 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:340:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-4, scm_length(CONS(e, CONS(e, CONS(e, n))))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:373:5: note: in expansion of macro 'TST_SET2' + tst(obj, CONTINUATION, \ + ^~~ +test-storage.c:378:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20700,12 +20672,21 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:340:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(-4, scm_length(CONS(e, CONS(e, CONS(e, n))))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:373:5: note: in expansion of macro 'TST_SET2' + tst(obj, CONTINUATION, \ + ^~~ +test-storage.c:378:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, (void*)0x0deadbee, 0xf00f); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20720,15 +20701,24 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:342:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(SCM_INT_T_MIN, scm_length(circular_list(1))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:373:5: note: in expansion of macro 'TST_SET2' + tst(obj, CONTINUATION, \ + ^~~ +test-storage.c:379:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, INVALID_CONTINUATION_OPAQUE, 0); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20741,15 +20731,24 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:342:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(SCM_INT_T_MIN, scm_length(circular_list(1))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:373:5: note: in expansion of macro 'TST_SET2' + tst(obj, CONTINUATION, \ + ^~~ +test-storage.c:379:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, INVALID_CONTINUATION_OPAQUE, 0); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20767,12 +20766,21 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:343:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(SCM_INT_T_MIN, scm_length(circular_list(2))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:373:5: note: in expansion of macro 'TST_SET2' + tst(obj, CONTINUATION, \ + ^~~ +test-storage.c:379:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, INVALID_CONTINUATION_OPAQUE, 0); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20788,12 +20796,21 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:343:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(SCM_INT_T_MIN, scm_length(circular_list(2))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:109:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:373:5: note: in expansion of macro 'TST_SET2' + tst(obj, CONTINUATION, \ + ^~~ +test-storage.c:379:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, INVALID_CONTINUATION_OPAQUE, 0); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20808,14 +20825,14 @@ sscm-test.h:349:9: note: in expansion of macro 'TST_FAIL' TST_FAIL(tst_format(__FILE__ ":%d: %s failed.\n" \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ @@ -20838,14 +20855,14 @@ sscm-test.h:354:9: note: in expansion of macro 'TST_SUCC' TST_SUCC(); \ ^~~~~~~~ -sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' - #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ +sscm-test.h:388:33: note: in expansion of macro 'TST_EQUALITY' + #define TST_EQ_PTR(x, a, desc) TST_EQUALITY(TST_C_EQUAL, void*, \ ^~~~~~~~~~~~ -test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_PTR' TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ ^~~~~~~ -test-storage.c:76:9: note: in expansion of macro 'TST1' - TST1(o, typ, f2, f2typ, _f2v, context); \ +test-storage.c:75:9: note: in expansion of macro 'TST1' + TST1(o, typ, f1, f1typ, _f1v, context); \ ^~~~ test-storage.c:113:9: note: in expansion of macro 'TST2' TST2(o, typ, f1, f1typ, f1new, \ @@ -20873,12 +20890,21 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:344:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(SCM_INT_T_MIN, scm_length(circular_list(3))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:373:5: note: in expansion of macro 'TST_SET2' + tst(obj, CONTINUATION, \ + ^~~ +test-storage.c:379:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, INVALID_CONTINUATION_OPAQUE, 0); + ^~~~~~~~ sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -20894,12 +20920,21 @@ sscm-test.h:365:33: note: in expansion of macro 'TST_EQUALITY' #define TST_EQ_INT(x, a, desc) TST_EQUALITY(TST_C_EQUAL, intmax_t, \ ^~~~~~~~~~~~ -sscm-test.h:430:23: note: in expansion of macro 'TST_EQ_INT' - do { TST_TN_SAVE; TST_EQ_INT((x), (a), TST_TN_NAME()); } while (0) - ^~~~~~~~~~ -test-length.c:344:5: note: in expansion of macro 'TST_TN_EQ_INT' - TST_TN_EQ_INT(SCM_INT_T_MIN, scm_length(circular_list(3))); - ^~~~~~~~~~~~~ +test-storage.c:67:9: note: in expansion of macro 'TST_EQ_INT' + TST_EQ_##ftyp(_fv, SCM_##typ##_##field(o), \ + ^~~~~~~ +test-storage.c:76:9: note: in expansion of macro 'TST1' + TST1(o, typ, f2, f2typ, _f2v, context); \ + ^~~~ +test-storage.c:113:9: note: in expansion of macro 'TST2' + TST2(o, typ, f1, f1typ, f1new, \ + ^~~~ +test-storage.c:373:5: note: in expansion of macro 'TST_SET2' + tst(obj, CONTINUATION, \ + ^~~ +test-storage.c:379:5: note: in expansion of macro 'CONT_TST' + CONT_TST(TST_SET2, INVALID_CONTINUATION_OPAQUE, 0); + ^~~~~~~~ sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -21261,6 +21296,7 @@ test-storage.c:395:5: note: in expansion of macro 'CPTR_TST' CPTR_TST(TST_SET1, (void*)0xbaddeed); ^~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-gc-coll test-gc-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -21598,7 +21634,6 @@ test-storage.c:416:5: note: in expansion of macro 'CFPTR_TST' CFPTR_TST(TST_SET1, (ScmCFunc)0xbaddeedbeddad); ^~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-alignment-coll test-alignment-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la In file included from test-format.c:46: test-format.c: In function 'tst_1': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] @@ -21689,7 +21724,6 @@ test-format.c:137:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("\"", STR(format("\""))); ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-gc-coll test-gc-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -21822,7 +21856,6 @@ test-format.c:140:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("aBc", STR(format("aBc"))); ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-gc-protect-coll test-gc-protect-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -22529,6 +22562,7 @@ test-format.c:164:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("a", STR(format("~S", "a"))); ^~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-gc-protect-coll test-gc-protect-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -23805,6 +23839,7 @@ test-format.c:193:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("aあBいc", STR(format("~04S", "aあBいc"))); ^~~~~~~~~~~~~ +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-gc-protect-stack-coll test-gc-protect-stack-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -23937,6 +23972,7 @@ test-format.c:196:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR(" aあBいc", STR(format("~07S", "aあBいc"))); ^~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-storage-compact-coll test-storage-compact-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la test-format.c: In function 'tst_4': sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ @@ -24291,6 +24327,7 @@ test-format.c:219:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("0", STR(format("~D", 0))); ^~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-array2list-coll test-array2list-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -24666,7 +24703,6 @@ test-format.c:229:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("10", STR(format("~0D", 10))); ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-storage-compact-coll test-storage-compact-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -25613,7 +25649,6 @@ test-format.c:259:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("100", STR(format("~U", 100))); ^~~~~~~~~~~~~ -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-gc-protect-stack-coll test-gc-protect-stack-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -25790,6 +25825,7 @@ test-format.c:264:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("100", STR(format("~0U", 100))); ^~~~~~~~~~~~~ +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-minishell test-minishell.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -25922,7 +25958,6 @@ test-format.c:268:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("010", STR(format("~03U", 10))); ^~~~~~~~~~~~~ -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-minishell test-minishell.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -26407,7 +26442,6 @@ test-format.c:283:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("4294967295", STR(format("~0U", -1))); ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-array2list-coll test-array2list-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -26431,6 +26465,7 @@ test-format.c:285:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("4294967196", STR(format("~03U", -100))); ^~~~~~~~~~~~~ +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-global-coll test-global-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -28434,6 +28469,7 @@ test-format.c:388:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("144", STR(format("~0O", 100))); ^~~~~~~~~~~~~ +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-alignment-coll test-alignment-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -29182,6 +29218,7 @@ test-format.c:411:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("37777777777", STR(format("~03O", -1))); ^~~~~~~~~~~~~ +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-gc-coll test-gc-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -29998,7 +30035,6 @@ test-format.c:458:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR(" 1", STR(format("~5B", 1))); ^~~~~~~~~~~~~ -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-global-coll test-global-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:325:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_SUCC() (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -30064,6 +30100,7 @@ test-format.c:459:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR(" 1010", STR(format("~5B", 10))); ^~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-strcasecmp-coll test-strcasecmp-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -30152,7 +30189,6 @@ test-format.c:463:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("11111111111111111111111110011100", ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-strcasecmp-coll test-strcasecmp-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -30241,6 +30277,7 @@ test-format.c:467:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("11111111111111111111111111111111", ^~~~~~~~~~~~~ +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-gc-protect-coll test-gc-protect-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -30329,7 +30366,6 @@ test-format.c:472:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("11111111111111111111111111110110", ^~~~~~~~~~~~~ -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-alignment-coll test-alignment-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -30638,7 +30674,6 @@ test-format.c:488:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("11111111111111111111111111111111", ^~~~~~~~~~~~~ -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-gc-coll test-gc-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -30860,7 +30895,6 @@ test-format.c:530:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("-1", STR(format("~WD", (int32_t)-1))); ^~~~~~~~~~~~~ -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-gc-protect-coll test-gc-protect-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -31961,6 +31995,7 @@ test-format.c:558:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("100", STR(format("~3WD", (int32_t)100))); ^~~~~~~~~~~~~ +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-storage-compact-coll test-storage-compact-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -32358,7 +32393,6 @@ test-format.c:575:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("10", STR(format("~0WU", (int32_t)10))); ^~~~~~~~~~~~~ -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-storage-compact-coll test-storage-compact-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -32403,6 +32437,7 @@ test-format.c:576:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("100", STR(format("~0WU", (int32_t)100))); ^~~~~~~~~~~~~ +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-array2list-coll test-array2list-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -34296,7 +34331,6 @@ test-format.c:637:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("fffffff6", STR(format("~0WX", (int32_t)-10))); ^~~~~~~~~~~~~ -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-array2list-coll test-array2list-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -35882,6 +35916,7 @@ test-format.c:689:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("37777777766", STR(format("~3WO", (int32_t)-10))); ^~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-length-coll test-length-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -37556,6 +37591,7 @@ test-format.c:760:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("1", STR(format("~MD", (scm_int_t)1))); ^~~~~~~~~~~~~ +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-strcasecmp-coll test-strcasecmp-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -37600,7 +37636,6 @@ test-format.c:761:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("10", STR(format("~MD", (scm_int_t)10))); ^~~~~~~~~~~~~ -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-strcasecmp-coll test-strcasecmp-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -39538,7 +39573,6 @@ test-format.c:837:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("18446744073709551516", STR(format("~0MU", (scm_int_t)-100))); ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-length-coll test-length-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -41433,7 +41467,6 @@ test-format.c:922:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("12", STR(format("~MO", (scm_int_t)10))); ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-storage-coll test-storage-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -41610,6 +41643,7 @@ test-format.c:927:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("12", STR(format("~0MO", (scm_int_t)10))); ^~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-storage-coll test-storage-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -43459,6 +43493,7 @@ test-format.c:1047:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("1111111111111111111111111111111111111111111111111111111111111111", ^~~~~~~~~~~~~ +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-length-coll test-length-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -47202,7 +47237,6 @@ test-format.c:1180:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR(" 1", STR(format("~3QX", (int64_t)1))); ^~~~~~~~~~~~~ -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-length-coll test-length-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -48568,7 +48602,6 @@ test-format.c:1225:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR(" 12", STR(format("~3QO", (int64_t)10))); ^~~~~~~~~~~~~ -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-storage-coll test-storage-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -49626,6 +49659,7 @@ test-format.c:1274:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("00000", STR(format("~05QB", (int64_t)0))); ^~~~~~~~~~~~~ +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-storage-coll test-storage-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu sscm-test.h:321:38: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define TST_FAIL(msg) (++TST_CASE_INFO->done, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -86805,22 +86839,22 @@ test-format.c:3118:5: note: in expansion of macro 'TST_TN_EQ_STR' TST_TN_EQ_STR("\n\n", STR(format("~&~S~&", "\n"))); ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-format-coll test-format-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o test-format-coll test-format-coll.o ../src/libsscm.la /build/sigscheme-0.9.0/libgcroots/libgcroots.la libtool: link: gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test-format-coll test-format-coll.o ../src/.libs/libsscm.so /build/sigscheme-0.9.0/libgcroots/.libs/libgcroots.so -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu make[3]: Leaving directory '/build/sigscheme-0.9.0/test-c' make check-TESTS make[3]: Entering directory '/build/sigscheme-0.9.0/test-c' make[4]: Entering directory '/build/sigscheme-0.9.0/test-c' +PASS: test-global-coll +PASS: test-gc-protect-stack-coll PASS: test-alignment-coll PASS: test-storage-compact-coll -PASS: test-gc-protect-stack-coll -PASS: test-storage-coll PASS: test-array2list-coll -PASS: test-global-coll -PASS: test-gc-protect-coll +PASS: test-length-coll PASS: test-strcasecmp-coll +PASS: test-storage-coll +PASS: test-gc-protect-coll PASS: test-format-coll -PASS: test-length-coll PASS: test-gc-coll ============================================================================ Testsuite summary for SigScheme 0.9.0 @@ -86888,7 +86922,7 @@ make[3]: Entering directory '/build/sigscheme-0.9.0/libgcroots' make[4]: Entering directory '/build/sigscheme-0.9.0/libgcroots' /bin/mkdir -p '/build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu' - /bin/bash ./libtool --mode=install /usr/bin/install -c libgcroots.la '/build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu' + /bin/sh ./libtool --mode=install /usr/bin/install -c libgcroots.la '/build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libgcroots.so.0.1.0 /build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu/libgcroots.so.0.1.0 libtool: install: (cd /build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libgcroots.so.0.1.0 libgcroots.so.0 || { rm -f libgcroots.so.0 && ln -s libgcroots.so.0.1.0 libgcroots.so.0; }; }) libtool: install: (cd /build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libgcroots.so.0.1.0 libgcroots.so || { rm -f libgcroots.so && ln -s libgcroots.so.0.1.0 libgcroots.so; }; }) @@ -86929,9 +86963,9 @@ make[3]: Entering directory '/build/sigscheme-0.9.0/src' make[4]: Entering directory '/build/sigscheme-0.9.0/src' /bin/mkdir -p '/build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu' - /bin/bash ../libtool --mode=install /usr/bin/install -c libsscm.la '/build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu' + /bin/sh ../libtool --mode=install /usr/bin/install -c libsscm.la '/build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu' libtool: warning: relinking 'libsscm.la' -libtool: install: (cd /build/sigscheme-0.9.0/src; /bin/bash "/build/sigscheme-0.9.0/libtool" --tag CC --mode=relink gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -version-info 3:1:0 -Wl,-z,relro -Wl,-z,now -o libsscm.la -rpath /usr/lib/x86_64-linux-gnu libsscm_la-alloc.lo libsscm_la-storage.lo libsscm_la-storage-gc.lo libsscm_la-error.lo libsscm_la-symbol.lo libsscm_la-env.lo libsscm_la-eval.lo libsscm_la-syntax.lo libsscm_la-procedure.lo libsscm_la-list.lo libsscm_la-module.lo libsscm_la-sigscheme.lo libsscm_la-continuation.lo libsscm_la-scmport-file.lo libsscm_la-scmport-basechar.lo libsscm_la-encoding.lo libsscm_la-scmport-mbchar.lo libsscm_la-format.lo libsscm_la-qquote.lo libsscm_la-legacy-macro.lo libsscm_la-promise.lo libsscm_la-number.lo libsscm_la-number-io.lo libsscm_la-char.lo libsscm_la-string.lo libsscm_la-string-procedure.lo libsscm_la-vector.lo libsscm_la-port.lo libsscm_la-read.lo libsscm_la-write.lo libsscm_la-load.lo libsscm_la-deep-cadrs.lo libsscm_la-module-sscm-ext.lo libsscm_la-module-srfi1.lo libsscm_la-module-srfi2.lo libsscm_la-module-srfi6.lo libsscm_la-scmport-str.lo libsscm_la-module-srfi8.lo libsscm_la-module-srfi9.lo libsscm_la-module-srfi23.lo libsscm_la-module-srfi28.lo libsscm_la-module-srfi34.lo libsscm_la-module-srfi38.lo libsscm_la-module-srfi43.lo libsscm_la-module-srfi48.lo libsscm_la-module-srfi55.lo libsscm_la-module-srfi60.lo /build/sigscheme-0.9.0/libgcroots/libgcroots.la -inst-prefix-dir /build/sigscheme-0.9.0/debian/tmp) +libtool: install: (cd /build/sigscheme-0.9.0/src; /bin/sh "/build/sigscheme-0.9.0/libtool" --tag CC --mode=relink gcc -g -O2 -ffile-prefix-map=/build/sigscheme-0.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -version-info 3:1:0 -Wl,-z,relro -Wl,-z,now -o libsscm.la -rpath /usr/lib/x86_64-linux-gnu libsscm_la-alloc.lo libsscm_la-storage.lo libsscm_la-storage-gc.lo libsscm_la-error.lo libsscm_la-symbol.lo libsscm_la-env.lo libsscm_la-eval.lo libsscm_la-syntax.lo libsscm_la-procedure.lo libsscm_la-list.lo libsscm_la-module.lo libsscm_la-sigscheme.lo libsscm_la-continuation.lo libsscm_la-scmport-file.lo libsscm_la-scmport-basechar.lo libsscm_la-encoding.lo libsscm_la-scmport-mbchar.lo libsscm_la-format.lo libsscm_la-qquote.lo libsscm_la-legacy-macro.lo libsscm_la-promise.lo libsscm_la-number.lo libsscm_la-number-io.lo libsscm_la-char.lo libsscm_la-string.lo libsscm_la-string-procedure.lo libsscm_la-vector.lo libsscm_la-port.lo libsscm_la-read.lo libsscm_la-write.lo libsscm_la-load.lo libsscm_la-deep-cadrs.lo libsscm_la-module-sscm-ext.lo libsscm_la-module-srfi1.lo libsscm_la-module-srfi2.lo libsscm_la-module-srfi6.lo libsscm_la-scmport-str.lo libsscm_la-module-srfi8.lo libsscm_la-module-srfi9.lo libsscm_la-module-srfi23.lo libsscm_la-module-srfi28.lo libsscm_la-module-srfi34.lo libsscm_la-module-srfi38.lo libsscm_la-module-srfi43.lo libsscm_la-module-srfi48.lo libsscm_la-module-srfi55.lo libsscm_la-module-srfi60.lo /build/sigscheme-0.9.0/libgcroots/libgcroots.la -inst-prefix-dir /build/sigscheme-0.9.0/debian/tmp) libtool: relink: gcc -shared -fPIC -DPIC .libs/libsscm_la-alloc.o .libs/libsscm_la-storage.o .libs/libsscm_la-storage-gc.o .libs/libsscm_la-error.o .libs/libsscm_la-symbol.o .libs/libsscm_la-env.o .libs/libsscm_la-eval.o .libs/libsscm_la-syntax.o .libs/libsscm_la-procedure.o .libs/libsscm_la-list.o .libs/libsscm_la-module.o .libs/libsscm_la-sigscheme.o .libs/libsscm_la-continuation.o .libs/libsscm_la-scmport-file.o .libs/libsscm_la-scmport-basechar.o .libs/libsscm_la-encoding.o .libs/libsscm_la-scmport-mbchar.o .libs/libsscm_la-format.o .libs/libsscm_la-qquote.o .libs/libsscm_la-legacy-macro.o .libs/libsscm_la-promise.o .libs/libsscm_la-number.o .libs/libsscm_la-number-io.o .libs/libsscm_la-char.o .libs/libsscm_la-string.o .libs/libsscm_la-string-procedure.o .libs/libsscm_la-vector.o .libs/libsscm_la-port.o .libs/libsscm_la-read.o .libs/libsscm_la-write.o .libs/libsscm_la-load.o .libs/libsscm_la-deep-cadrs.o .libs/libsscm_la-module-sscm-ext.o .libs/libsscm_la-module-srfi1.o .libs/libsscm_la-module-srfi2.o .libs/libsscm_la-module-srfi6.o .libs/libsscm_la-scmport-str.o .libs/libsscm_la-module-srfi8.o .libs/libsscm_la-module-srfi9.o .libs/libsscm_la-module-srfi23.o .libs/libsscm_la-module-srfi28.o .libs/libsscm_la-module-srfi34.o .libs/libsscm_la-module-srfi38.o .libs/libsscm_la-module-srfi43.o .libs/libsscm_la-module-srfi48.o .libs/libsscm_la-module-srfi55.o .libs/libsscm_la-module-srfi60.o -L/build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -lgcroots -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsscm.so.3 -o .libs/libsscm.so.3.0.1 libtool: install: /usr/bin/install -c .libs/libsscm.so.3.0.1T /build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu/libsscm.so.3.0.1 libtool: install: (cd /build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libsscm.so.3.0.1 libsscm.so.3 || { rm -f libsscm.so.3 && ln -s libsscm.so.3.0.1 libsscm.so.3; }; }) @@ -86942,7 +86976,7 @@ libtool: install: ranlib /build/sigscheme-0.9.0/debian/tmp/usr/lib/x86_64-linux-gnu/libsscm.a libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-linux-gnu' /bin/mkdir -p '/build/sigscheme-0.9.0/debian/tmp/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c sscm '/build/sigscheme-0.9.0/debian/tmp/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c sscm '/build/sigscheme-0.9.0/debian/tmp/usr/bin' libtool: warning: 'libsscm.la' has not been installed in '/usr/lib/x86_64-linux-gnu' libtool: install: /usr/bin/install -c .libs/sscm /build/sigscheme-0.9.0/debian/tmp/usr/bin/sscm /bin/mkdir -p '/build/sigscheme-0.9.0/debian/tmp/usr/include/sigscheme' @@ -87010,25 +87044,27 @@ dh_builddeb dpkg-deb: building package 'sigscheme-dbgsym' in '../sigscheme-dbgsym_0.9.0-1_amd64.deb'. dpkg-deb: building package 'sigscheme' in '../sigscheme_0.9.0-1_amd64.deb'. +dpkg-deb: building package 'libsscm3-dbgsym' in '../libsscm3-dbgsym_0.9.0-1_amd64.deb'. dpkg-deb: building package 'sigscheme-runtime' in '../sigscheme-runtime_0.9.0-1_all.deb'. -dpkg-deb: building package 'libgcroots0' in '../libgcroots0_0.9.0-1_amd64.deb'. -dpkg-deb: building package 'libsscm3' in '../libsscm3_0.9.0-1_amd64.deb'. -dpkg-deb: building package 'libsscm-dev' in '../libsscm-dev_0.9.0-1_amd64.deb'. dpkg-deb: building package 'libgcroots-dev' in '../libgcroots-dev_0.9.0-1_amd64.deb'. -dpkg-deb: building package 'libsscm3-dbgsym' in '../libsscm3-dbgsym_0.9.0-1_amd64.deb'. +dpkg-deb: building package 'libsscm-dev' in '../libsscm-dev_0.9.0-1_amd64.deb'. dpkg-deb: building package 'libgcroots0-dbgsym' in '../libgcroots0-dbgsym_0.9.0-1_amd64.deb'. +dpkg-deb: building package 'libgcroots0' in '../libgcroots0_0.9.0-1_amd64.deb'. +dpkg-deb: building package 'libsscm3' in '../libsscm3_0.9.0-1_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../sigscheme_0.9.0-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/3982/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3982/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/63063 and its subdirectories -I: Current time: Sun Dec 13 14:54:03 -12 2020 -I: pbuilder-time-stamp: 1607914443 +I: removing directory /srv/workspace/pbuilder/3982 and its subdirectories +I: Current time: Sun Jan 16 23:19:15 +14 2022 +I: pbuilder-time-stamp: 1642324755