Diff of the two buildlogs: -- --- b1/build.log 2025-02-20 17:57:06.878040628 +0000 +++ b2/build.log 2025-02-20 17:57:51.208035682 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Mar 25 12:19:41 -12 2026 -I: pbuilder-time-stamp: 1774484381 +I: Current time: Fri Feb 21 07:57:09 +14 2025 +I: pbuilder-time-stamp: 1740074229 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -23,54 +23,86 @@ dpkg-source: info: unpacking hippomocks_5.0-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/108784/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16136/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Feb 20 17:57 /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/16136/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16136/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - 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=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + 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=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='0310852eb50541749ab30d48011e2529' - 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='108784' - PS1='# ' - PS2='> ' + INVOCATION_ID=1d5b4f7195284d1b9578b2c11aa9de6f + 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=16136 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.79jTLiFc/pbuilderrc_KK5H --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.79jTLiFc/b1 --logfile b1/build.log hippomocks_5.0-2.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://213.165.73.152: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.79jTLiFc/pbuilderrc_n3iF --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.79jTLiFc/b2 --logfile b2/build.log hippomocks_5.0-2.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://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/108784/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/16136/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -136,7 +168,7 @@ Get: 28 http://deb.debian.org/debian unstable/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian unstable/main i386 debhelper all 13.24.1 [920 kB] -Fetched 20.8 MB in 0s (125 MB/s) +Fetched 20.8 MB in 0s (86.4 MB/s) Preconfiguring packages ... 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 ... 19784 files and directories currently installed.) @@ -271,7 +303,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/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-2_source.changes +I: user script /srv/workspace/pbuilder/16136/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/16136/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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-2_source.changes dpkg-buildpackage: info: source package hippomocks dpkg-buildpackage: info: source version 5.0-2 dpkg-buildpackage: info: source distribution unstable @@ -281,7 +317,7 @@ debian/rules clean dh clean dh_auto_clean - make -j22 clean + make -j10 clean make[1]: Entering directory '/build/reproducible-path/hippomocks-5.0' make -C HippoMocksTest/ clean make[2]: Entering directory '/build/reproducible-path/hippomocks-5.0/HippoMocksTest' @@ -307,7 +343,7 @@ dh_autoreconf dh_auto_configure dh_auto_test - make -j22 test + make -j10 test make[1]: Entering directory '/build/reproducible-path/hippomocks-5.0' make -C HippoMocksTest/ runtest make[2]: Entering directory '/build/reproducible-path/hippomocks-5.0/HippoMocksTest' @@ -320,31 +356,6 @@ g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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_class_args.o test_class_args.cpp -MMD -MP g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ @@ -353,83 +364,15 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -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) - | ^ -../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 - 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) -../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 = 61; Z2 = IR; Y = int; Z = IR]': -test_nevercall.cpp:61:28: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 = 62; Z2 = IR; Y = int; Z = IR]': -test_nevercall.cpp:62:27: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 = 63; Z2 = IR; Y = int; Z = IR]': -test_nevercall.cpp:63:8: required from here - 3245 | #define NeverCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Never, #func, __FILE__, __LINE__) -../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_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_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) - | ^ -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_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) - | ^ -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) - | ^ -In file included from test_overload.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_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_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) - | ^ -In file included from test_inparam.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) @@ -439,22 +382,12 @@ ../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: -../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.cpp:1: +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) | ^ -In file included from test_outparam.cpp:2: +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) @@ -477,115 +410,42 @@ ../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] 5984 | reinterpret_cast(mfp),X); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 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) - | ^ -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_dontcare.cpp:2: +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_filter.cpp:2: +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) | ^ -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_do.cpp:2: +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) | ^ -../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 - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 = 44; Z2 = IE; Y = int; Z = IE]': -test_except.cpp:44:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 = 22; Z2 = IQ; Y = std::auto_ptr; Z = IQ]': -test_autoptr.cpp:22:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 = 65; Z2 = IE; Y = int; Z = IE]': -test_except.cpp:65:9: required from here +../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 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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: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::*)(), 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: 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 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 30; Z2 = IQ; Y = std::auto_ptr; Z = IQ]': -test_autoptr.cpp:30:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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::RegisterExpectDestructor(Z2*, HippoMocks::RegistrationType, const char*, long unsigned int) [with int X = 31; Z2 = IQ]': -test_autoptr.cpp:31:8: required from here - 3250 | #define ExpectCallDestructor(obj) RegisterExpectDestructor<__LINE__>(obj, HM_NS Once, __FILE__, __LINE__) -../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 - 3250 | #define ExpectCallDestructor(obj) RegisterExpectDestructor<__LINE__>(obj, HM_NS Once, __FILE__, __LINE__) -../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 = 54; Z2 = IQ]': -test_autoptr.cpp:54:10: required from here - 3250 | #define ExpectCallDestructor(obj) RegisterExpectDestructor<__LINE__>(obj, HM_NS Once, __FILE__, __LINE__) -../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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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) - | ^~~~~~~~~~~~~~~~~~~~ -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_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 = 15; Z2 = IB; Y = void; Z = IB; A = int]': test_args.cpp:15:8: required from here 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) @@ -610,35 +470,19 @@ ../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 = 15; Z2 = IArrayArgs; Y = void; Z = IArrayArgs; A = std::__cxx11::basic_string]': -test_array.cpp:15:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 +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_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) + | ^~~~~~~~~~~~~~~~~~~~ +../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 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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, 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 - 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) -../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 - 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) -../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, 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 - 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) -../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: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::*)(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 @@ -646,35 +490,17 @@ ../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, 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 - 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) -../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), 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 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) ../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 = IInParam; Y = void; Z = IInParam; A = const std::__cxx11::basic_string&]': -test_inparam.cpp:18:8: required from here +../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 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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, 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 - 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) -../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 = 21; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': -test_filter.cpp:21:8: required from here - 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) -../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: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::*)(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 @@ -682,120 +508,129 @@ ../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 = IInParam; Y = void; Z = IInParam; A = const std::__cxx11::basic_string&]': -test_inparam.cpp:30:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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, 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 - 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) -../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::RegisterExpectDestructor(Z2*, HippoMocks::RegistrationType, const char*, long unsigned int) [with int X = 31; Z2 = IQ]': +test_autoptr.cpp:31:8: required from here + 3250 | #define ExpectCallDestructor(obj) RegisterExpectDestructor<__LINE__>(obj, HM_NS Once, __FILE__, __LINE__) +../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 = 28; Z2 = IC; Y = void; Z = IC; A = std::__cxx11::basic_string]': test_class_args.cpp:28:8: required from here 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) ../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 = 43; Z2 = IInParam; Y = void; Z = IInParam; A = std::__cxx11::basic_string*]': -test_inparam.cpp:43:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 = 39; Z2 = IQ]': +test_autoptr.cpp:39:8: required from here + 3250 | #define ExpectCallDestructor(obj) RegisterExpectDestructor<__LINE__>(obj, HM_NS Once, __FILE__, __LINE__) +../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 = 46; Z2 = IC; Y = void; Z = IC; A = std::__cxx11::basic_string]': test_class_args.cpp:46:8: required from here 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) ../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 = 56; Z2 = IInParam; Y = void; Z = IInParam; A = const char*]': -test_inparam.cpp:56:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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] - 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 = 17; Z2 = IOutParam; Y = void; Z = IOutParam; A = std::__cxx11::basic_string&]': -test_outparam.cpp:17:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 = 26; Z2 = IK; Y = void; Z = IK; A = int&]': -test_ref_args.cpp:26:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 = 44; Z2 = IOutParam; Y = void; Z = IOutParam; A = std::__cxx11::basic_string**]': -test_outparam.cpp:44:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 = 27; Z2 = IK; Y = void; Z = IK; A = int&]': -test_ref_args.cpp:27:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 = 38; Z2 = IK; Y = void; Z = IK; A = int&]': -test_ref_args.cpp:38:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 = 59; Z2 = IOutParam; Y = void; Z = IOutParam; A = char**]': -test_outparam.cpp:59:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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] - 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 = 39; Z2 = IK; Y = void; Z = IK; A = int&]': -test_ref_args.cpp:39:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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::RegisterExpectDestructor(Z2*, HippoMocks::RegistrationType, const char*, long unsigned int) [with int X = 54; Z2 = IQ]': +test_autoptr.cpp:54:10: required from here + 3250 | #define ExpectCallDestructor(obj) RegisterExpectDestructor<__LINE__>(obj, HM_NS Once, __FILE__, __LINE__) +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) + | ^ +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +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) + | ^ +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +../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 + 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) +../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), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 67; Z2 = IK; Y = void; Z = IK; A = int&]': -test_ref_args.cpp:67:8: required from here - 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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 = 24; Z2 = IY; Y = bool; Z = IY; A = int; B = IZ&]': +test_dontcare.cpp:24:8: required from here + 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) +../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), 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 +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +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::*)(), 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 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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: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 = 80; Z2 = IK; Y = int&; Z = IK]': -test_ref_args.cpp:80:8: required from here +../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 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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: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 = 81; Z2 = IK; Y = const std::__cxx11::basic_string&; Z = IK]': -test_ref_args.cpp:81:8: required from here +../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 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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] +../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::*)(A), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 98; Z2 = IK; Y = void; Z = IK; A = IRefArg&]': -test_ref_args.cpp:98:8: required from here +../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 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) -../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: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_inparam.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_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_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 = 26; Z2 = IS; Y = int; Z = IS]': test_exception_quality.cpp:26:8: required from here 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) @@ -814,30 +649,71 @@ ../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] 5998 | reinterpret_cast(mfp),X); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) + | ^ +../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 + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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, 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 3245 | #define NeverCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Never, #func, __FILE__, __LINE__) ../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] 5998 | 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 + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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, 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 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) ../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] 5998 | 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 = 43; Z2 = IInParam; Y = void; Z = IInParam; A = std::__cxx11::basic_string*]': +test_inparam.cpp:43:8: required from here + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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, 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 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) ../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] 5998 | 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 = 18; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': +test_filter.cpp:18:8: required from here + 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) +../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), 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 + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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] + 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 = 99; Z2 = IS; Y = int; Z = IS]': test_exception_quality.cpp:99:8: required from here 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) ../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::*)(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 + 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) +../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::*)(), 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 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) @@ -856,18 +732,36 @@ ../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] 5998 | 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 = 20; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': +test_filter.cpp:20:8: required from here + 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) +../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), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 103; Z2 = IS; Y = int; Z = IS; A = int; B = int]': test_exception_quality.cpp:103:8: required from here 3245 | #define NeverCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Never, #func, __FILE__, __LINE__) ../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] 5998 | 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 = 21; Z2 = IAA; Y = int; Z = IAA; A = int; B = int; C = int]': +test_filter.cpp:21:8: required from here + 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) +../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::*)(), HippoMocks::RegistrationType, const char*, const char*, long unsigned int) [with int X = 129; Z2 = IS; Y = int; Z = IS]': test_exception_quality.cpp:129:8: required from here 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) ../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::*)(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 + 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) +../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::*)(), 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 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) @@ -922,32 +816,174 @@ ../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] 5998 | 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]' - 3642 | { return RegisterExpect_(mck, (Y(Z::*)())(func), expect, functionName ,fileName, lineNo); } - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -test_ref_args.cpp:126:10: required from here +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) + | ^ +../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 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) -../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] +../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 = 61; Z2 = IR; Y = int; Z = IR]': +test_nevercall.cpp:61:28: required from here + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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 = 62; Z2 = IR; Y = int; Z = IR]': +test_nevercall.cpp:62:27: required from here + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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 = 63; Z2 = IR; Y = int; Z = IR]': +test_nevercall.cpp:63:8: required from here + 3245 | #define NeverCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Never, #func, __FILE__, __LINE__) +../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_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) + | ^ +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +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_overload.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +../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 + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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 + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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 = 44; Z2 = IOutParam; Y = void; Z = IOutParam; A = std::__cxx11::basic_string**]': +test_outparam.cpp:44:8: required from here + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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 = 59; Z2 = IOutParam; Y = void; Z = IOutParam; A = char**]': +test_outparam.cpp:59:8: required from here + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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] + 5984 | reinterpret_cast(mfp),X); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -In file included from test_regression_arg_count.cpp:2: +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) | ^ g++ -g -O0 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/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 cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +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 + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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 = 27; Z2 = IK; Y = void; Z = IK; A = int&]': +test_ref_args.cpp:27:8: required from here + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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 = 38; Z2 = IK; Y = void; Z = IK; A = int&]': +test_ref_args.cpp:38:8: required from here + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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 = 39; Z2 = IK; Y = void; Z = IK; A = int&]': +test_ref_args.cpp:39:8: required from here + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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 = 67; Z2 = IK; Y = void; Z = IK; A = int&]': +test_ref_args.cpp:67:8: required from here + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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 = 68; Z2 = IK; Y = void; Z = IK; A = int&]': +test_ref_args.cpp:68:8: required from here + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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::*)(), 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 + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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 = 81; Z2 = IK; Y = const std::__cxx11::basic_string&; Z = IK]': +test_ref_args.cpp:81:8: required from here + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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] + 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 = 98; Z2 = IK; Y = void; Z = IK; A = IRefArg&]': +test_ref_args.cpp:98:8: required from here + 3243 | #define ExpectCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Once, #func, __FILE__, __LINE__) +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) + | ^ +../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]' + 3642 | { return RegisterExpect_(mck, (Y(Z::*)())(func), expect, functionName ,fileName, lineNo); } + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +test_ref_args.cpp:126:10: required from here + 3241 | #define OnCall(obj, func) RegisterExpect_<__LINE__>(obj, &func, HM_NS Any, #func, __FILE__, __LINE__) +../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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] @@ -1079,12 +1115,12 @@ ../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] 5970 | reinterpret_cast(mfp),X); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from test_zombie.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) | ^ -In file included from test_transaction.cpp:1: +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) @@ -1103,14 +1139,14 @@ \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / 75 of 75 tests successful make[2]: Leaving directory '/build/reproducible-path/hippomocks-5.0/HippoMocksTest' make[1]: Leaving directory '/build/reproducible-path/hippomocks-5.0' - rm -fr -- /tmp/dh-xdg-rundir-YesWqGlt + rm -fr -- /tmp/dh-xdg-rundir-RASL3NsN create-stamp debian/debhelper-build-stamp dh_prep rm -f -- debian/hippomocks.substvars rm -fr -- debian/.debhelper/generated/hippomocks/ debian/hippomocks/ debian/tmp/ dh_auto_install --destdir=debian/hippomocks/ install -m0755 -d /build/reproducible-path/hippomocks-5.0/debian/hippomocks - make -j22 install DESTDIR=/build/reproducible-path/hippomocks-5.0/debian/hippomocks AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j10 install DESTDIR=/build/reproducible-path/hippomocks-5.0/debian/hippomocks AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/hippomocks-5.0' install -d /build/reproducible-path/hippomocks-5.0/debian/hippomocks/usr/include/HippoMocks install HippoMocks/hippomocks.h /build/reproducible-path/hippomocks-5.0/debian/hippomocks/usr/include/HippoMocks/hippomocks.h @@ -1166,12 +1202,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/16136/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16136/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/108784 and its subdirectories -I: Current time: Wed Mar 25 12:20:06 -12 2026 -I: pbuilder-time-stamp: 1774484406 +I: removing directory /srv/workspace/pbuilder/16136 and its subdirectories +I: Current time: Fri Feb 21 07:57:50 +14 2025 +I: pbuilder-time-stamp: 1740074270