Diff of the two buildlogs: -- --- b1/build.log 2023-04-23 02:02:42.147650243 +0000 +++ b2/build.log 2023-04-23 02:04:02.676081494 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 22 14:01:17 -12 2023 -I: pbuilder-time-stamp: 1682215277 +I: Current time: Sat May 25 22:25:45 +14 2024 +I: pbuilder-time-stamp: 1716625545 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./hippomocks_5.0.orig.tar.gz] I: copying [./hippomocks_5.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Jan 22 21:11:16 2018 -12 +gpgv: Signature made Tue Jan 23 23:11:16 2018 +14 gpgv: using RSA key C7203C0A920670BF94F00BB1B01D1A72AC8DC9A1 gpgv: issuer "jcc@debian.org" gpgv: Can't check signature: No public key @@ -26,135 +26,167 @@ dpkg-source: info: unpacking hippomocks_5.0-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3833094/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/454833/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 25 22:25 /bin/sh -> /bin/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/454833/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/454833/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='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(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=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='c74020f67d3445e2a23d0975754c93bd' - 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='3833094' - PS1='# ' - PS2='> ' + INVOCATION_ID=d16a8a7780a344c7bf9231e1856b9c5a + 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=454833 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/r-b-build.EUgc5KPS/pbuilderrc_MlWU --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EUgc5KPS/b1 --logfile b1/build.log hippomocks_5.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/r-b-build.EUgc5KPS/pbuilderrc_s6Fe --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EUgc5KPS/b2 --logfile b2/build.log --extrapackages usrmerge hippomocks_5.0-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + 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 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Feb 12 08:05 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 08:05 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/3833094/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Feb 13 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 May 25 22:25 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/454833/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -220,7 +252,7 @@ Get: 28 http://deb.debian.org/debian bookworm/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] -Fetched 18.7 MB in 0s (42.3 MB/s) +Fetched 18.7 MB in 0s (51.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19596 files and directories currently installed.) @@ -357,10 +389,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/hippomocks-5.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../hippomocks_5.0-1_source.changes +I: user script /srv/workspace/pbuilder/454833/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/454833/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/hippomocks-5.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../hippomocks_5.0-1_source.changes dpkg-buildpackage: info: source package hippomocks dpkg-buildpackage: info: source version 5.0-1 dpkg-buildpackage: info: source distribution unstable @@ -370,7 +409,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j15 clean + make -j16 clean make[1]: Entering directory '/build/hippomocks-5.0' make -C HippoMocksTest/ clean make[2]: Entering directory '/build/hippomocks-5.0/HippoMocksTest' @@ -396,7 +435,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j15 + make -j16 make[1]: Entering directory '/build/hippomocks-5.0' make -C HippoMocksTest/ runtest make[2]: Entering directory '/build/hippomocks-5.0/HippoMocksTest' @@ -415,27 +454,13 @@ g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_exception_quality.o test_exception_quality.cpp -MMD -MP g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_filter.o test_filter.cpp -MMD -MP g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_inparam.o test_inparam.cpp -MMD -MP -In file included from test.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 4251 | catch(BASE_EXCEPTION e) - | ^ -In file included from test_class_args.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 4251 | catch(BASE_EXCEPTION e) - | ^ -In file included from test_cv_funcs.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 4251 | catch(BASE_EXCEPTION e) - | ^ -In file included from test_autoptr.cpp:1: +g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_membermock.o test_membermock.cpp -MMD -MP +In file included from test_exception_quality.cpp:2: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) | ^ -In file included from test_do.cpp:2: +In file included from test.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) @@ -445,170 +470,21 @@ ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) | ^ -test_class_args.cpp: In member function 'virtual void TestcheckClassArgumentsChecked::Run()': -test_class_args.cpp:34:28: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] - 34 | catch (HippoMocks::ExpectationException) - | ^~~~~~~~~~~~~~~~~~~~ -In file included from test_array.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 4251 | catch(BASE_EXCEPTION e) - | ^ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 17; Z2 = IC; Y = void; Z = IC; A = std::__cxx11::basic_string]': -test_class_args.cpp:17:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5984 | reinterpret_cast(mfp),X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 18; Z2 = IC; Y = void; Z = IC; A = std::__cxx11::basic_string]': -test_class_args.cpp:18:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 27; Z2 = IC; Y = void; Z = IC; A = std::__cxx11::basic_string]': -test_class_args.cpp:27:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 28; Z2 = IC; Y = void; Z = IC; A = std::__cxx11::basic_string]': -test_class_args.cpp:28:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 46; Z2 = IC; Y = void; Z = IC; A = std::__cxx11::basic_string]': -test_class_args.cpp:46:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -In file included from test_constref_params.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 4251 | catch(BASE_EXCEPTION e) - | ^ -In file included from test_cfuncs.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 4251 | catch(BASE_EXCEPTION e) - | ^ -In file included from test_dontcare.cpp:2: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 4251 | catch(BASE_EXCEPTION e) - | ^ -test_autoptr.cpp: In member function 'virtual void TestcheckAutoptrStability::Run()': -test_autoptr.cpp:63:27: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] - 63 | catch(HippoMocks::ExpectationException) - | ^~~~~~~~~~~~~~~~~~~~ -In file included from is_virtual.cpp:3: +In file included from test_do.cpp:2: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) | ^ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 18; Z2 = IInParam; Y = void; Z = IInParam; A = const std::__cxx11::basic_string&]': -test_inparam.cpp:18:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const std::__cxx11::basic_string&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5984 | reinterpret_cast(mfp),X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 30; Z2 = IInParam; Y = void; Z = IInParam; A = const std::__cxx11::basic_string&]': -test_inparam.cpp:30:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const std::__cxx11::basic_string&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 43; Z2 = IInParam; Y = void; Z = IInParam; A = std::__cxx11::basic_string*]': -test_inparam.cpp:43:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string*)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] In file included from test_args.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) | ^ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 56; Z2 = IInParam; Y = void; Z = IInParam; A = const char*]': -test_inparam.cpp:56:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const char*)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -In file included from test_exception_quality.cpp:2: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 4251 | catch(BASE_EXCEPTION e) - | ^ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 22; Z2 = IQ; Y = std::auto_ptr; Z = IQ]': -test_autoptr.cpp:22:8: required from here -../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'std::auto_ptr (HippoMocks::mockFuncs >::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5970 | reinterpret_cast(mfp),X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 30; Z2 = IQ; Y = std::auto_ptr; Z = IQ]': -test_autoptr.cpp:30:8: required from here -../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'std::auto_ptr (HippoMocks::mockFuncs >::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -In file included from test_filter.cpp:2: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 4251 | catch(BASE_EXCEPTION e) - | ^ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpectDestructor(Z2*, HippoMocks::RegistrationType, const char*, long unsigned int) [with int X = 31; Z2 = IQ]': -test_autoptr.cpp:31:8: required from here -../HippoMocks/hippomocks.h:5242:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5242 | reinterpret_cast(member), X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h:5246:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5246 | reinterpret_cast(member), X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpectDestructor(Z2*, HippoMocks::RegistrationType, const char*, long unsigned int) [with int X = 39; Z2 = IQ]': -test_autoptr.cpp:39:8: required from here -../HippoMocks/hippomocks.h:5242:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5242 | reinterpret_cast(member), X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h:5246:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5246 | reinterpret_cast(member), X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 23; Z2 = IY; Y = bool; Z = IY; A = int; B = IZ&]': -test_dontcare.cpp:23:8: required from here -../HippoMocks/hippomocks.h:5998:49: warning: cast between incompatible pointer to member types from 'bool (HippoMocks::mockFuncs::*)(int, IZ&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5998 | reinterpret_cast(mfp),X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpectDestructor(Z2*, HippoMocks::RegistrationType, const char*, long unsigned int) [with int X = 54; Z2 = IQ]': -test_autoptr.cpp:54:10: required from here -../HippoMocks/hippomocks.h:5242:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5242 | reinterpret_cast(member), X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h:5246:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5246 | reinterpret_cast(member), X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 24; Z2 = IY; Y = bool; Z = IY; A = int; B = IZ&]': -test_dontcare.cpp:24:8: required from here -../HippoMocks/hippomocks.h:5998:49: warning: cast between incompatible pointer to member types from 'bool (HippoMocks::mockFuncs::*)(int, IZ&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 15; Z2 = IArrayArgs; Y = void; Z = IArrayArgs; A = std::__cxx11::basic_string]': -test_array.cpp:15:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5984 | reinterpret_cast(mfp),X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 16; Z2 = IArrayArgs; Y = void; Z = IArrayArgs; A = std::__cxx11::basic_string]': -test_array.cpp:16:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 29; Z2 = IM; Y = void; Z = IM; A = std::__cxx11::basic_string]': -test_constref_params.cpp:29:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5984 | reinterpret_cast(mfp),X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from test_except.cpp:1: +In file included from test_cv_funcs.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) | ^ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 37; Z2 = IM; Y = void; Z = IM; A = const std::__cxx11::basic_string&]': -test_constref_params.cpp:37:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const std::__cxx11::basic_string&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 51; Z2 = IM; Y = void; Z = IM; A = const IR&]': -test_constref_params.cpp:51:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const IR&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B, C), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 18; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': -test_filter.cpp:18:8: required from here -../HippoMocks/hippomocks.h:6012:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 6012 | reinterpret_cast(mfp),X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B, C), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 19; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': -test_filter.cpp:19:8: required from here -../HippoMocks/hippomocks.h:6012:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B, C), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 20; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': -test_filter.cpp:20:8: required from here -../HippoMocks/hippomocks.h:6012:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B, C), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 21; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': -test_filter.cpp:21:8: required from here -../HippoMocks/hippomocks.h:6012:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B, C), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 22; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': -test_filter.cpp:22:8: required from here -../HippoMocks/hippomocks.h:6012:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -test_args.cpp: In member function 'virtual void TestcheckArgumentsChecked::Run()': -test_args.cpp:32:28: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] - 32 | catch (HippoMocks::ExpectationException) - | ^~~~~~~~~~~~~~~~~~~~ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 26; Z2 = IS; Y = int; Z = IS]': test_exception_quality.cpp:26:8: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -622,6 +498,11 @@ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 57; Z2 = IS; Y = int; Z = IS; A = int; B = int]': test_exception_quality.cpp:57:8: required from here ../HippoMocks/hippomocks.h:5998:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +In file included from test_class_args.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 4251 | catch(BASE_EXCEPTION e) + | ^ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 73; Z2 = IS; Y = void; Z = IS; A = int; B = const X&]': test_exception_quality.cpp:73:8: required from here ../HippoMocks/hippomocks.h:5998:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int, const X&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -631,6 +512,11 @@ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 89; Z2 = IS; Y = int; Z = IS; A = int; B = int]': test_exception_quality.cpp:89:8: required from here ../HippoMocks/hippomocks.h:5998:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +In file included from test_filter.cpp:2: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 4251 | catch(BASE_EXCEPTION e) + | ^ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 99; Z2 = IS; Y = int; Z = IS]': test_exception_quality.cpp:99:8: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -639,6 +525,11 @@ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 100; Z2 = IS; Y = int; Z = IS]': test_exception_quality.cpp:100:8: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +In file included from test_array.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 4251 | catch(BASE_EXCEPTION e) + | ^ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 101; Z2 = IS; Y = int; Z = IS; A = int; B = int]': test_exception_quality.cpp:101:8: required from here ../HippoMocks/hippomocks.h:5998:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -658,11 +549,6 @@ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 130; Z2 = IS; Y = int; Z = IS]': test_exception_quality.cpp:130:8: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 15; Z2 = IB; Y = void; Z = IB; A = int]': -test_args.cpp:15:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5984 | reinterpret_cast(mfp),X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 131; Z2 = IS; Y = int; Z = IS; A = int; B = int]': test_exception_quality.cpp:131:8: required from here ../HippoMocks/hippomocks.h:5998:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -674,6 +560,11 @@ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 133; Z2 = IS; Y = int; Z = IS; A = int; B = int]': test_exception_quality.cpp:133:8: required from here ../HippoMocks/hippomocks.h:5998:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +In file included from is_virtual.cpp:3: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 4251 | catch(BASE_EXCEPTION e) + | ^ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 164; Z2 = IS; Y = int; Z = IS]': test_exception_quality.cpp:164:9: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -682,6 +573,11 @@ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 165; Z2 = IS; Y = int; Z = IS]': test_exception_quality.cpp:165:9: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +In file included from test_except.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 4251 | catch(BASE_EXCEPTION e) + | ^ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 166; Z2 = IS; Y = int; Z = IS; A = int; B = int]': test_exception_quality.cpp:166:9: required from here ../HippoMocks/hippomocks.h:5998:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -693,15 +589,60 @@ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 168; Z2 = IS; Y = int; Z = IS; A = int; B = int]': test_exception_quality.cpp:168:9: required from here ../HippoMocks/hippomocks.h:5998:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 16; Z2 = IB; Y = void; Z = IB; A = int]': -test_args.cpp:16:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 25; Z2 = IB; Y = void; Z = IB; A = int]': -test_args.cpp:25:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 26; Z2 = IB; Y = void; Z = IB; A = int]': -test_args.cpp:26:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +In file included from test_autoptr.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 4251 | catch(BASE_EXCEPTION e) + | ^ +In file included from test_constref_params.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 4251 | catch(BASE_EXCEPTION e) + | ^ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B, C), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 18; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': +test_filter.cpp:18:8: required from here +../HippoMocks/hippomocks.h:6012:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 6012 | reinterpret_cast(mfp),X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B, C), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 19; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': +test_filter.cpp:19:8: required from here +../HippoMocks/hippomocks.h:6012:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B, C), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 20; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': +test_filter.cpp:20:8: required from here +../HippoMocks/hippomocks.h:6012:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B, C), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 21; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': +test_filter.cpp:21:8: required from here +../HippoMocks/hippomocks.h:6012:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +In file included from test_membermock.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 4251 | catch(BASE_EXCEPTION e) + | ^ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B, C), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 22; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': +test_filter.cpp:22:8: required from here +../HippoMocks/hippomocks.h:6012:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 18; Z2 = IInParam; Y = void; Z = IInParam; A = const std::__cxx11::basic_string&]': +test_inparam.cpp:18:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const std::__cxx11::basic_string&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5984 | reinterpret_cast(mfp),X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 30; Z2 = IInParam; Y = void; Z = IInParam; A = const std::__cxx11::basic_string&]': +test_inparam.cpp:30:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const std::__cxx11::basic_string&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 43; Z2 = IInParam; Y = void; Z = IInParam; A = std::__cxx11::basic_string*]': +test_inparam.cpp:43:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string*)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 56; Z2 = IInParam; Y = void; Z = IInParam; A = const char*]': +test_inparam.cpp:56:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const char*)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +test_class_args.cpp: In member function 'virtual void TestcheckClassArgumentsChecked::Run()': +test_class_args.cpp:34:28: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] + 34 | catch (HippoMocks::ExpectationException) + | ^~~~~~~~~~~~~~~~~~~~ +test_args.cpp: In member function 'virtual void TestcheckArgumentsChecked::Run()': +test_args.cpp:32:28: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] + 32 | catch (HippoMocks::ExpectationException) + | ^~~~~~~~~~~~~~~~~~~~ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 17; Z2 = IE; Y = int; Z = IE]': test_except.cpp:17:8: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -716,30 +657,133 @@ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 77; Z2 = IE; Y = int; Z = IE]': test_except.cpp:77:9: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_membermock.o test_membermock.cpp -MMD -MP -g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_mi.o test_mi.cpp -MMD -MP -g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_nevercall.o test_nevercall.cpp -MMD -MP -g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_optional.o test_optional.cpp -MMD -MP -In file included from test_membermock.cpp:1: +test_autoptr.cpp: In member function 'virtual void TestcheckAutoptrStability::Run()': +test_autoptr.cpp:63:27: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] + 63 | catch(HippoMocks::ExpectationException) + | ^~~~~~~~~~~~~~~~~~~~ +In file included from test_dontcare.cpp:2: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) | ^ +In file included from test_cfuncs.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 4251 | catch(BASE_EXCEPTION e) + | ^ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 15; Z2 = IB; Y = void; Z = IB; A = int]': +test_args.cpp:15:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5984 | reinterpret_cast(mfp),X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 16; Z2 = IB; Y = void; Z = IB; A = int]': +test_args.cpp:16:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 25; Z2 = IB; Y = void; Z = IB; A = int]': +test_args.cpp:25:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 26; Z2 = IB; Y = void; Z = IB; A = int]': +test_args.cpp:26:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 22; Z2 = IQ; Y = std::auto_ptr; Z = IQ]': +test_autoptr.cpp:22:8: required from here +../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'std::auto_ptr (HippoMocks::mockFuncs >::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5970 | reinterpret_cast(mfp),X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 30; Z2 = IQ; Y = std::auto_ptr; Z = IQ]': +test_autoptr.cpp:30:8: required from here +../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'std::auto_ptr (HippoMocks::mockFuncs >::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 17; Z2 = IC; Y = void; Z = IC; A = std::__cxx11::basic_string]': +test_class_args.cpp:17:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5984 | reinterpret_cast(mfp),X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpectDestructor(Z2*, HippoMocks::RegistrationType, const char*, long unsigned int) [with int X = 31; Z2 = IQ]': +test_autoptr.cpp:31:8: required from here +../HippoMocks/hippomocks.h:5242:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5242 | reinterpret_cast(member), X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h:5246:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5246 | reinterpret_cast(member), X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpectDestructor(Z2*, HippoMocks::RegistrationType, const char*, long unsigned int) [with int X = 39; Z2 = IQ]': +test_autoptr.cpp:39:8: required from here +../HippoMocks/hippomocks.h:5242:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5242 | reinterpret_cast(member), X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 18; Z2 = IC; Y = void; Z = IC; A = std::__cxx11::basic_string]': +test_class_args.cpp:18:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h:5246:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5246 | reinterpret_cast(member), X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpectDestructor(Z2*, HippoMocks::RegistrationType, const char*, long unsigned int) [with int X = 54; Z2 = IQ]': +test_autoptr.cpp:54:10: required from here +../HippoMocks/hippomocks.h:5242:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5242 | reinterpret_cast(member), X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h:5246:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5246 | reinterpret_cast(member), X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 27; Z2 = IC; Y = void; Z = IC; A = std::__cxx11::basic_string]': +test_class_args.cpp:27:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 28; Z2 = IC; Y = void; Z = IC; A = std::__cxx11::basic_string]': +test_class_args.cpp:28:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 46; Z2 = IC; Y = void; Z = IC; A = std::__cxx11::basic_string]': +test_class_args.cpp:46:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 15; Z2 = IArrayArgs; Y = void; Z = IArrayArgs; A = std::__cxx11::basic_string]': +test_array.cpp:15:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5984 | reinterpret_cast(mfp),X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 16; Z2 = IArrayArgs; Y = void; Z = IArrayArgs; A = std::__cxx11::basic_string]': +test_array.cpp:16:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 29; Z2 = IM; Y = void; Z = IM; A = std::__cxx11::basic_string]': +test_constref_params.cpp:29:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5984 | reinterpret_cast(mfp),X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 37; Z2 = IM; Y = void; Z = IM; A = const std::__cxx11::basic_string&]': +test_constref_params.cpp:37:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const std::__cxx11::basic_string&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 51; Z2 = IM; Y = void; Z = IM; A = const IR&]': +test_constref_params.cpp:51:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const IR&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 23; Z2 = IY; Y = bool; Z = IY; A = int; B = IZ&]': +test_dontcare.cpp:23:8: required from here +../HippoMocks/hippomocks.h:5998:49: warning: cast between incompatible pointer to member types from 'bool (HippoMocks::mockFuncs::*)(int, IZ&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5998 | reinterpret_cast(mfp),X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 24; Z2 = IY; Y = bool; Z = IY; A = int; B = IZ&]': +test_dontcare.cpp:24:8: required from here +../HippoMocks/hippomocks.h:5998:49: warning: cast between incompatible pointer to member types from 'bool (HippoMocks::mockFuncs::*)(int, IZ&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_mi.o test_mi.cpp -MMD -MP +g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_nevercall.o test_nevercall.cpp -MMD -MP +g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_optional.o test_optional.cpp -MMD -MP g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_outparam.o test_outparam.cpp -MMD -MP g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_overload.o test_overload.cpp -MMD -MP g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_ref_args.o test_ref_args.cpp -MMD -MP g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_regression_arg_count.o test_regression_arg_count.cpp -MMD -MP +In file included from test_mi.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 4251 | catch(BASE_EXCEPTION e) + | ^ g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_retval.o test_retval.cpp -MMD -MP g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_transaction.o test_transaction.cpp -MMD -MP g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o test_zombie.o test_zombie.cpp -MMD -MP g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o Framework.o Framework.cpp -MMD -MP -In file included from test_nevercall.cpp:2: +g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o main.o main.cpp -MMD -MP +In file included from test_optional.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) | ^ -g++ -g -O0 -ffile-prefix-map=/build/hippomocks-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -I../HippoMocks/ -Wall -Wextra -pedantic -Wno-long-long -g -std=c++98 -c -o main.o main.cpp -MMD -MP -In file included from test_transaction.cpp:1: +In file included from test_nevercall.cpp:2: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) @@ -758,12 +802,31 @@ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 63; Z2 = IR; Y = int; Z = IR]': test_nevercall.cpp:63:8: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -In file included from test_mi.cpp:1: +In file included from test_outparam.cpp:2: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) | ^ -In file included from test_optional.cpp:1: +In file included from test_ref_args.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 4251 | catch(BASE_EXCEPTION e) + | ^ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 17; Z2 = IOutParam; Y = void; Z = IOutParam; A = std::__cxx11::basic_string&]': +test_outparam.cpp:17:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5984 | reinterpret_cast(mfp),X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 30; Z2 = IOutParam; Y = void; Z = IOutParam; A = std::__cxx11::basic_string&]': +test_outparam.cpp:30:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 44; Z2 = IOutParam; Y = void; Z = IOutParam; A = std::__cxx11::basic_string**]': +test_outparam.cpp:44:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string**)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 59; Z2 = IOutParam; Y = void; Z = IOutParam; A = char**]': +test_outparam.cpp:59:8: required from here +../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(char**)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +In file included from test_regression_arg_count.cpp:2: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) @@ -773,20 +836,20 @@ ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) | ^ -In file included from test_ref_args.cpp:1: +In file included from test_transaction.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) | ^ -test_ref_args.cpp: In member function 'virtual void TestcheckRefArgumentsChecked::Run()': -test_ref_args.cpp:45:28: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] - 45 | catch (HippoMocks::ExpectationException) - | ^~~~~~~~~~~~~~~~~~~~ -In file included from test_regression_arg_count.cpp:2: +In file included from test_retval.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 4251 | catch(BASE_EXCEPTION e) | ^ +test_ref_args.cpp: In member function 'virtual void TestcheckRefArgumentsChecked::Run()': +test_ref_args.cpp:45:28: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] + 45 | catch (HippoMocks::ExpectationException) + | ^~~~~~~~~~~~~~~~~~~~ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 26; Z2 = IK; Y = void; Z = IK; A = int&]': test_ref_args.cpp:26:8: required from here ../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -807,16 +870,16 @@ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 68; Z2 = IK; Y = void; Z = IK; A = int&]': test_ref_args.cpp:68:8: required from here ../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] +In file included from test_zombie.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 4251 | catch(BASE_EXCEPTION e) + | ^ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 80; Z2 = IK; Y = int&; Z = IK]': test_ref_args.cpp:80:8: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'int& (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] 5970 | reinterpret_cast(mfp),X); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from test_outparam.cpp:2: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 4251 | catch(BASE_EXCEPTION e) - | ^ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 81; Z2 = IK; Y = const std::__cxx11::basic_string&; Z = IK]': test_ref_args.cpp:81:8: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'const std::__cxx11::basic_string& (HippoMocks::mockFuncs&>::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -825,12 +888,6 @@ ../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(IRefArg&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] 5984 | reinterpret_cast(mfp),X); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 126; Z2 = IA; Y = const IB&; Z = IA]': -../HippoMocks/hippomocks.h:3642:29: required from 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)() const, HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 126; Z2 = IA; Y = const IB&; Z = IA]' -test_ref_args.cpp:126:10: required from here -../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'const IB& (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5970 | reinterpret_cast(mfp),X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 31; Z2 = IR; Y = void; Z = IR; A = int]': test_regression_arg_count.cpp:31:8: required from here ../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -906,40 +963,22 @@ ../HippoMocks/hippomocks.h:6201:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int, int, int, int, int, int, int, int, int, int, int, int, int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] 6201 | reinterpret_cast(mfp),X); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from test_retval.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 4251 | catch(BASE_EXCEPTION e) - | ^ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 46; Z2 = IR; Y = void; Z = IR; A = int; B = int; C = int; D = int; E = int; F = int; G = int; H = int; I = int; J = int; K = int; L = int; M = int; N = int; O = int; P = int]': -test_regression_arg_count.cpp:46:8: required from here -../HippoMocks/hippomocks.h:6219:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 6219 | reinterpret_cast(mfp),X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 17; Z2 = IOutParam; Y = void; Z = IOutParam; A = std::__cxx11::basic_string&]': -test_outparam.cpp:17:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 5984 | reinterpret_cast(mfp),X); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 30; Z2 = IOutParam; Y = void; Z = IOutParam; A = std::__cxx11::basic_string&]': -test_outparam.cpp:30:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 44; Z2 = IOutParam; Y = void; Z = IOutParam; A = std::__cxx11::basic_string**]': -test_outparam.cpp:44:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string**)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 59; Z2 = IOutParam; Y = void; Z = IOutParam; A = char**]': -test_outparam.cpp:59:8: required from here -../HippoMocks/hippomocks.h:5984:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(char**)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -In file included from test_zombie.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:46: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 4251 | catch(BASE_EXCEPTION e) - | ^ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 15; Z2 = ID; Y = int; Z = ID]': test_retval.cpp:15:8: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] 5970 | reinterpret_cast(mfp),X); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 126; Z2 = IA; Y = const IB&; Z = IA]': +../HippoMocks/hippomocks.h:3642:29: required from 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)() const, HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 126; Z2 = IA; Y = const IB&; Z = IA]' +test_ref_args.cpp:126:10: required from here +../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'const IB& (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 5970 | reinterpret_cast(mfp),X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 46; Z2 = IR; Y = void; Z = IR; A = int; B = int; C = int; D = int; E = int; F = int; G = int; H = int; I = int; J = int; K = int; L = int; M = int; N = int; O = int; P = int]': +test_regression_arg_count.cpp:46:8: required from here +../HippoMocks/hippomocks.h:6219:49: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 6219 | reinterpret_cast(mfp),X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../HippoMocks/hippomocks.h: In instantiation of 'HippoMocks::TCall& HippoMocks::MockRepository::RegisterExpect_(Z2*, Y (Z::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 16; Z2 = ID; Y = std::__cxx11::basic_string; Z = ID]': test_retval.cpp:16:8: required from here ../HippoMocks/hippomocks.h:5970:49: warning: cast between incompatible pointer to member types from 'std::__cxx11::basic_string (HippoMocks::mockFuncs >::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -966,7 +1005,7 @@ make[2]: Leaving directory '/build/hippomocks-5.0/HippoMocksTest' make[1]: Leaving directory '/build/hippomocks-5.0' dh_auto_test - make -j15 test + make -j16 test make[1]: Entering directory '/build/hippomocks-5.0' make -C HippoMocksTest/ runtest make[2]: Entering directory '/build/hippomocks-5.0/HippoMocksTest' @@ -983,7 +1022,7 @@ rm -fr -- debian/.debhelper/generated/hippomocks/ debian/hippomocks/ debian/tmp/ dh_auto_install --destdir=debian/hippomocks/ install -m0755 -d debian/hippomocks - make -j15 install DESTDIR=/build/hippomocks-5.0/debian/hippomocks AM_UPDATE_INFO_DIR=no + make -j16 install DESTDIR=/build/hippomocks-5.0/debian/hippomocks AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/hippomocks-5.0' install -d /build/hippomocks-5.0/debian/hippomocks/usr/include/HippoMocks install HippoMocks/hippomocks.h /build/hippomocks-5.0/debian/hippomocks/usr/include/HippoMocks/hippomocks.h @@ -1042,12 +1081,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/454833/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/454833/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/3833094 and its subdirectories -I: Current time: Sat Apr 22 14:02:41 -12 2023 -I: pbuilder-time-stamp: 1682215361 +I: removing directory /srv/workspace/pbuilder/454833 and its subdirectories +I: Current time: Sat May 25 22:27:03 +14 2024 +I: pbuilder-time-stamp: 1716625623