Diff of the two buildlogs: -- --- b1/build.log 2020-06-06 16:28:18.566390479 +0000 +++ b2/build.log 2020-06-06 16:28:40.189961396 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jun 6 04:25:05 -12 2020 -I: pbuilder-time-stamp: 1591460705 +I: Current time: Sat Jul 10 12:51:19 +14 2021 +I: pbuilder-time-stamp: 1625871079 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -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 @@ -28,138 +28,172 @@ 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/20101/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/43829/tmp/hooks/D01_modify_environment starting +debug: Running on profitbricks-build6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/43829/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/43829/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='313334278b4d46a2aa8cce0449e3d7d7' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='20101' - PS1='# ' - PS2='> ' + INVOCATION_ID=cf26d9157f0e4b85a2fe8773107118d8 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=43829 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.DH3ZMamKWj/pbuilderrc_wdY4 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.DH3ZMamKWj/b1 --logfile b1/build.log hippomocks_5.0-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.DH3ZMamKWj/pbuilderrc_117Q --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.DH3ZMamKWj/b2 --logfile b2/build.log hippomocks_5.0-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + 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 profitbricks-build12-i386 4.19.0-9-686-pae #1 SMP Debian 4.19.118-2 (2020-04-29) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux I: ls -l /bin - total 5480 - -rwxr-xr-x 1 root root 1302248 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 38692 Feb 28 2019 cat - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 63268 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chown - -rwxr-xr-x 1 root root 153732 Feb 28 2019 cp - -rwxr-xr-x 1 root root 132820 Jan 17 2019 dash - -rwxr-xr-x 1 root root 120676 Feb 28 2019 date - -rwxr-xr-x 1 root root 92040 Feb 28 2019 dd - -rwxr-xr-x 1 root root 100620 Feb 28 2019 df - -rwxr-xr-x 1 root root 149736 Feb 28 2019 dir - -rwxr-xr-x 1 root root 79412 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 34532 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 34532 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 67700 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 30112 Apr 22 07:38 fusermount - -rwxr-xr-x 1 root root 206392 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 100952 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 21916 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 79752 Feb 28 2019 ln - -rwxr-xr-x 1 root root 55400 Jul 26 2018 login - -rwxr-xr-x 1 root root 149736 Feb 28 2019 ls - -rwxr-xr-x 1 root root 112032 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 87972 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 79748 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 46916 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 42348 Jan 9 2019 more - -rwsr-xr-x 1 root root 50592 Jan 9 2019 mount - -rwxr-xr-x 1 root root 13724 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 157832 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38660 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 46852 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 75588 Feb 28 2019 rm - -rwxr-xr-x 1 root root 42756 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 22276 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jun 5 20:10 sh -> dash - -rwxr-xr-x 1 root root 34532 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 79652 Feb 28 2019 stty - -rwsr-xr-x 1 root root 71072 Jan 9 2019 su - -rwxr-xr-x 1 root root 34564 Feb 28 2019 sync - -rwxr-xr-x 1 root root 504024 Apr 23 2019 tar - -rwxr-xr-x 1 root root 13860 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 104292 Feb 28 2019 touch - -rwxr-xr-x 1 root root 34532 Feb 28 2019 true - -rwxr-xr-x 1 root root 17768 Apr 22 07:38 ulockmgr_server - -rwsr-xr-x 1 root root 30108 Jan 9 2019 umount - -rwxr-xr-x 1 root root 34532 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 149736 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34208 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/20101/tmp/hooks/D02_print_environment finished + total 5476 + -rwxr-xr-x 1 root root 1302248 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 38692 Mar 1 2019 cat + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 63268 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chown + -rwxr-xr-x 1 root root 153732 Mar 1 2019 cp + -rwxr-xr-x 1 root root 132820 Jan 18 2019 dash + -rwxr-xr-x 1 root root 120676 Mar 1 2019 date + -rwxr-xr-x 1 root root 92040 Mar 1 2019 dd + -rwxr-xr-x 1 root root 100620 Mar 1 2019 df + -rwxr-xr-x 1 root root 149736 Mar 1 2019 dir + -rwxr-xr-x 1 root root 79412 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 34532 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 34532 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 67700 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 30112 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 206392 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 100952 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 21916 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 79752 Mar 1 2019 ln + -rwxr-xr-x 1 root root 55400 Jul 27 2018 login + -rwxr-xr-x 1 root root 149736 Mar 1 2019 ls + -rwxr-xr-x 1 root root 112032 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 87972 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 79748 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 46916 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 42348 Jan 10 2019 more + -rwsr-xr-x 1 root root 50592 Jan 10 2019 mount + -rwxr-xr-x 1 root root 13724 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 157832 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38660 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 46852 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 75588 Mar 1 2019 rm + -rwxr-xr-x 1 root root 42756 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 22276 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 10 12:51 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 10 04:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 34532 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 79652 Mar 1 2019 stty + -rwsr-xr-x 1 root root 71072 Jan 10 2019 su + -rwxr-xr-x 1 root root 34564 Mar 1 2019 sync + -rwxr-xr-x 1 root root 504024 Apr 24 2019 tar + -rwxr-xr-x 1 root root 13860 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 104292 Mar 1 2019 touch + -rwxr-xr-x 1 root root 34532 Mar 1 2019 true + -rwxr-xr-x 1 root root 17768 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 30108 Jan 10 2019 umount + -rwxr-xr-x 1 root root 34532 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 149736 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34208 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/43829/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -228,7 +262,7 @@ Get: 31 http://deb.debian.org/debian buster/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian buster/main i386 po-debconf all 1.0.21 [248 kB] Get: 33 http://deb.debian.org/debian buster/main i386 debhelper all 12.1.1 [1016 kB] -Fetched 19.4 MB in 3s (5948 kB/s) +Fetched 19.4 MB in 0s (88.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (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 ... 19234 files and directories currently installed.) @@ -383,7 +417,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/hippomocks-5.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +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 dpkg-buildpackage: info: source package hippomocks dpkg-buildpackage: info: source version 5.0-1 dpkg-buildpackage: info: source distribution unstable @@ -393,7 +427,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j10 clean + make -j18 clean make[1]: Entering directory '/build/hippomocks-5.0' make -C HippoMocksTest/ clean make[2]: Entering directory '/build/hippomocks-5.0/HippoMocksTest' @@ -419,7 +453,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j10 + make -j18 make[1]: Entering directory '/build/hippomocks-5.0' make -C HippoMocksTest/ runtest make[2]: Entering directory '/build/hippomocks-5.0/HippoMocksTest' @@ -433,32 +467,50 @@ 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_constref_params.o test_constref_params.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_cv_funcs.o test_cv_funcs.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_do.o test_do.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_dontcare.o test_dontcare.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_except.o test_except.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_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 +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 In file included from test.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 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:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + catch(BASE_EXCEPTION e) + ^ In file included from test_args.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] catch(BASE_EXCEPTION e) ^ -In file included from test_autoptr.cpp:1: +In file included from test_cfuncs.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] catch(BASE_EXCEPTION e) ^ -In file included from test_class_args.cpp:1: +In file included from test_array.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] catch(BASE_EXCEPTION e) ^ -In file included from test_cv_funcs.cpp:1: +In file included from test_inparam.cpp:2: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] catch(BASE_EXCEPTION e) ^ -In file included from test_constref_params.cpp:1: +In file included from test_class_args.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + catch(BASE_EXCEPTION e) + ^ +In file included from test_do.cpp:2: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] catch(BASE_EXCEPTION e) @@ -468,6 +520,21 @@ ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] catch(BASE_EXCEPTION e) ^ +In file included from test_exception_quality.cpp:2: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + catch(BASE_EXCEPTION e) + ^ +In file included from test_dontcare.cpp:2: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 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:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + catch(BASE_EXCEPTION e) + ^ test_args.cpp: In member function 'virtual void TestcheckArgumentsChecked::Run()': test_args.cpp:32:21: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] catch (HippoMocks::ExpectationException) @@ -476,29 +543,40 @@ test_class_args.cpp:34:21: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] catch (HippoMocks::ExpectationException) ^~~~~~~~~~~~~~~~~~~~ -test_autoptr.cpp: In member function 'virtual void TestcheckAutoptrStability::Run()': -test_autoptr.cpp:63:20: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] - 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 = 15; Z2 = IArrayArgs; Y = void; Z = IArrayArgs; A = std::__cxx11::basic_string]': +test_array.cpp:15:8: required from here +../HippoMocks/hippomocks.h:5984:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + reinterpret_cast(mfp),X); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from test_args.cpp:1: ../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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] 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:7: 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, 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:7: warning: cast between incompatible pointer to member types from 'bool (HippoMocks::mockFuncs::*)(int, IZ&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 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:7: 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:7: 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, 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:7: 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 = 26; Z2 = IB; Y = void; Z = IB; A = int]': test_args.cpp:26:8: required from here ../HippoMocks/hippomocks.h:5984:7: 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 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:7: 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 = 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:7: 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] reinterpret_cast(mfp),X); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from test_class_args.cpp:1: @@ -507,171 +585,32 @@ ../HippoMocks/hippomocks.h:5984:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] 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:7: 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 = 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:7: 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:7: 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 = 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:7: 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::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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - reinterpret_cast(member), X); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h:5246:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - reinterpret_cast(member), X); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h:5246:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 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:7: 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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const char*)' 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:7: 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:7: 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::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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - reinterpret_cast(member), X); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h:5246:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - reinterpret_cast(member), X); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from test_do.cpp:2: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 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 = 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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 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:7: 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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const IR&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] -In file included from test_cfuncs.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - catch(BASE_EXCEPTION e) - ^ -In file included from test_array.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 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 = IArrayArgs; Y = void; Z = IArrayArgs; A = std::__cxx11::basic_string]': -test_array.cpp:15:8: required from here -../HippoMocks/hippomocks.h:5984:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' 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_dontcare.o test_dontcare.cpp -MMD -MP -In file included from test_dontcare.cpp:2: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 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 = 23; Z2 = IY; Y = bool; Z = IY; A = int; B = IZ&]': -test_dontcare.cpp:23:8: required from here -../HippoMocks/hippomocks.h:5998:7: warning: cast between incompatible pointer to member types from 'bool (HippoMocks::mockFuncs::*)(int, IZ&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 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:7: 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_except.o test_except.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_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 -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_except.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 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 = 17; Z2 = IE; Y = int; Z = IE]': -test_except.cpp:17:8: required from here -../HippoMocks/hippomocks.h:5970:7: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 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 = 44; Z2 = IE; Y = int; Z = IE]': -test_except.cpp:44:8: required from here -../HippoMocks/hippomocks.h:5970:7: 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::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 65; Z2 = IE; Y = int; Z = IE]': -test_except.cpp:65:9: required from here -../HippoMocks/hippomocks.h:5970:7: 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::*)(), 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:7: 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_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_filter.cpp:2: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 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:7: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 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:7: 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:7: 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:7: 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:7: 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_exception_quality.cpp:2: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - catch(BASE_EXCEPTION e) - ^ -In file included from test_membermock.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - catch(BASE_EXCEPTION e) - ^ -In file included from test_inparam.cpp:2: +In file included from test_nevercall.cpp:2: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 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:7: 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] - 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:7: 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:7: 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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(const char*)' 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 = 26; Z2 = IS; Y = int; Z = IS]': test_exception_quality.cpp:26:8: required from here ../HippoMocks/hippomocks.h:5970:7: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -685,9 +624,17 @@ ../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:7: 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 = 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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(std::__cxx11::basic_string)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 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 = 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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int, const X&)' 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 = 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:7: 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, B), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 88; Z2 = IS; Y = int; Z = IS; A = int; B = int]': test_exception_quality.cpp:88:8: required from here ../HippoMocks/hippomocks.h:5998:7: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -699,6 +646,9 @@ ../HippoMocks/hippomocks.h:5970:7: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] 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 = 51; Z2 = IM; Y = void; Z = IM; A = const IR&]': +test_constref_params.cpp:51:8: required from here +../HippoMocks/hippomocks.h:5984:7: 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::*)(), 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:7: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -756,12 +706,6 @@ ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 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_outparam.o test_outparam.cpp -MMD -MP -In file included from test_nevercall.cpp:2: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 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 = 60; Z2 = IR; Y = int; Z = IR]': test_nevercall.cpp:60:8: required from here ../HippoMocks/hippomocks.h:5970:7: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -776,12 +720,109 @@ ../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:7: 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_optional.cpp:1: +In file included from test_membermock.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + catch(BASE_EXCEPTION e) + ^ +In file included from test_autoptr.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 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_optional.o test_optional.cpp -MMD -MP +In file included from test_filter.cpp:2: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] catch(BASE_EXCEPTION e) ^ +In file included from test_except.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + catch(BASE_EXCEPTION e) + ^ +test_autoptr.cpp: In member function 'virtual void TestcheckAutoptrStability::Run()': +test_autoptr.cpp:63:20: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] + catch(HippoMocks::ExpectationException) + ^~~~~~~~~~~~~~~~~~~~ +In file included from test_autoptr.cpp:1: +../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:7: warning: cast between incompatible pointer to member types from 'std::auto_ptr (HippoMocks::mockFuncs >::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 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:7: 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::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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + reinterpret_cast(member), X); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h:5246:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + reinterpret_cast(member), X); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h:5246:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + reinterpret_cast(member), X); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h:5246:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + reinterpret_cast(member), 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 = 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:7: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)(int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 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:7: 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:7: 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:7: 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:7: 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::*)(), 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:7: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 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 = 44; Z2 = IE; Y = int; Z = IE]': +test_except.cpp:44:8: required from here +../HippoMocks/hippomocks.h:5970:7: 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::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 65; Z2 = IE; Y = int; Z = IE]': +test_except.cpp:65:9: required from here +../HippoMocks/hippomocks.h:5970:7: 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::*)(), 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:7: 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_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 +In file included from test_optional.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 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_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 +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 +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_outparam.cpp:2: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] @@ -801,14 +842,11 @@ ../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:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(char**)' 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_ref_args.o test_ref_args.cpp -MMD -MP In file included from test_overload.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 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_regression_arg_count.o test_regression_arg_count.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_retval.o test_retval.cpp -MMD -MP In file included from test_ref_args.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] @@ -818,6 +856,11 @@ test_ref_args.cpp:45:21: warning: catching polymorphic type 'class HippoMocks::ExpectationException' by value [-Wcatch-value=] catch (HippoMocks::ExpectationException) ^~~~~~~~~~~~~~~~~~~~ +In file included from test_zombie.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + catch(BASE_EXCEPTION e) + ^ In file included from test_ref_args.cpp:1: ../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 @@ -852,17 +895,52 @@ ../HippoMocks/hippomocks.h:5984:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(IRefArg&)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] reinterpret_cast(mfp),X); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from test_retval.cpp:1: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 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 = 16; Z2 = IZombie]': +test_zombie.cpp:16:8: required from here +../HippoMocks/hippomocks.h:5242:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + reinterpret_cast(member), X); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../HippoMocks/hippomocks.h:5246:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + reinterpret_cast(member), X); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from test_regression_arg_count.cpp:2: +../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': +../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] + 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 = 126; Z2 = IA; Y = const IB&; Z = IA]': ../HippoMocks/hippomocks.h:3642:92: 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:7: warning: cast between incompatible pointer to member types from 'const IB& (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] reinterpret_cast(mfp),X); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from test_regression_arg_count.cpp:2: +In file included from test_transaction.cpp:1: ../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': ../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 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:7: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] + 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:7: warning: cast between incompatible pointer to member types from 'std::__cxx11::basic_string (HippoMocks::mockFuncs >::*)()' 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 = 25; Z2 = ID; Y = int; Z = ID]': +test_retval.cpp:25:8: required from here +../HippoMocks/hippomocks.h:5970:7: 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::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 26; Z2 = ID; Y = std::__cxx11::basic_string; Z = ID]': +test_retval.cpp:26:8: required from here +../HippoMocks/hippomocks.h:5970:7: warning: cast between incompatible pointer to member types from 'std::__cxx11::basic_string (HippoMocks::mockFuncs >::*)()' 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 = 42; Z2 = ID; Y = std::__cxx11::basic_string; Z = ID]': +test_retval.cpp:42:8: required from here +../HippoMocks/hippomocks.h:5970:7: warning: cast between incompatible pointer to member types from 'std::__cxx11::basic_string (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 = 31; Z2 = IR; Y = void; Z = IR; A = int]': test_regression_arg_count.cpp:31:8: required from here ../HippoMocks/hippomocks.h:5984:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -923,11 +1001,6 @@ ../HippoMocks/hippomocks.h:6150:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mockFuncs::*)(int, int, int, int, int, int, int, int, int, int, int, int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] reinterpret_cast(mfp),X); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from test_retval.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 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), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 43; 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]': test_regression_arg_count.cpp:43:8: required from here ../HippoMocks/hippomocks.h:6167:7: 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)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] @@ -948,52 +1021,13 @@ ../HippoMocks/hippomocks.h:6219:7: 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] 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 = 15; Z2 = ID; Y = int; Z = ID]': -test_retval.cpp:15:8: required from here -../HippoMocks/hippomocks.h:5970:7: warning: cast between incompatible pointer to member types from 'int (HippoMocks::mockFuncs::*)()' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - 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:7: warning: cast between incompatible pointer to member types from 'std::__cxx11::basic_string (HippoMocks::mockFuncs >::*)()' 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 = 25; Z2 = ID; Y = int; Z = ID]': -test_retval.cpp:25:8: required from here -../HippoMocks/hippomocks.h:5970:7: 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::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 26; Z2 = ID; Y = std::__cxx11::basic_string; Z = ID]': -test_retval.cpp:26:8: required from here -../HippoMocks/hippomocks.h:5970:7: warning: cast between incompatible pointer to member types from 'std::__cxx11::basic_string (HippoMocks::mockFuncs >::*)()' 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 = 42; Z2 = ID; Y = std::__cxx11::basic_string; Z = ID]': -test_retval.cpp:42:8: required from here -../HippoMocks/hippomocks.h:5970:7: warning: cast between incompatible pointer to member types from 'std::__cxx11::basic_string (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_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 -In file included from test_zombie.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - catch(BASE_EXCEPTION e) - ^ -In file included from test_transaction.cpp:1: -../HippoMocks/hippomocks.h: In destructor 'HippoMocks::MockRepository::~MockRepository()': -../HippoMocks/hippomocks.h:4251:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] - 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 = 16; Z2 = IZombie]': -test_zombie.cpp:16:8: required from here -../HippoMocks/hippomocks.h:5242:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - reinterpret_cast(member), X); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../HippoMocks/hippomocks.h:5246:7: warning: cast between incompatible pointer to member types from 'void (HippoMocks::mock::*)(int)' to 'void (HippoMocks::base_mock::*)()' [-Wcast-function-type] - reinterpret_cast(member), X); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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 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 -o test.exe is_virtual.o test.o test_args.o test_array.o test_autoptr.o test_cfuncs.o test_class_args.o test_constref_params.o test_cv_funcs.o test_do.o test_dontcare.o test_except.o test_exception_quality.o test_filter.o test_inparam.o test_membermock.o test_mi.o test_nevercall.o test_optional.o test_outparam.o test_overload.o test_ref_args.o test_regression_arg_count.o test_retval.o test_transaction.o test_zombie.o Framework.o main.o ./test.exe \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / 75 of 75 tests successful make[2]: Leaving directory '/build/hippomocks-5.0/HippoMocksTest' make[1]: Leaving directory '/build/hippomocks-5.0' dh_auto_test - make -j10 test + make -j18 test make[1]: Entering directory '/build/hippomocks-5.0' make -C HippoMocksTest/ runtest make[2]: Entering directory '/build/hippomocks-5.0/HippoMocksTest' @@ -1010,7 +1044,7 @@ rm -fr -- debian/.debhelper/generated/hippomocks/ debian/hippomocks/ debian/tmp/ dh_auto_install install -d debian/hippomocks - make -j10 install DESTDIR=/build/hippomocks-5.0/debian/hippomocks AM_UPDATE_INFO_DIR=no + make -j18 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 @@ -1065,12 +1099,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/43829/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/43829/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/20101 and its subdirectories -I: Current time: Sat Jun 6 04:28:18 -12 2020 -I: pbuilder-time-stamp: 1591460898 +I: removing directory /srv/workspace/pbuilder/43829 and its subdirectories +I: Current time: Sat Jul 10 12:51:39 +14 2021 +I: pbuilder-time-stamp: 1625871099