I have an issue compiling tests with hippomocks. It is just a warning but:
Scanning dependencies of target src_module_tests
[ 33%] Building CXX object tests/ut/CMakeFiles/src_module_tests.dir/tests/src/module_tests.cpp.o
In file included from /home/michal/mutate_tests/test/tests/tests/ut/tests/src/module_tests.cpp:2:
/home/michal/mutate_tests/test/tests/tests/../../test-frameworks/hippomocks/HippoMocks/hippomocks.h: In destructor ‘HippoMocks::MockRepository::~MockRepository()’:
/home/michal/mutate_tests/test/tests/tests/../../test-frameworks/hippomocks/HippoMocks/hippomocks.h:4320:25: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
catch(BASE_EXCEPTION e)
^
[ 33%] Built target src_module_tests
Scanning dependencies of target tlab_ut
looks not very nice.
I use SID distro with gcc/g++ version 8.2.0
I have an issue compiling tests with hippomocks. It is just a warning but: Scanning dependencies of target src_module_tests [ 33%] Building CXX object tests/ut/CMakeFiles/src_module_tests.dir/tests/src/module_tests.cpp.o In file included from /home/michal/mutate_tests/test/tests/tests/ut/tests/src/module_tests.cpp:2: /home/michal/mutate_tests/test/tests/tests/../../test-frameworks/hippomocks/HippoMocks/hippomocks.h: In destructor ‘HippoMocks::MockRepository::~MockRepository()’:
/home/michal/mutate_tests/test/tests/tests/../../test-frameworks/hippomocks/HippoMocks/hippomocks.h:4320:25: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
catch(BASE_EXCEPTION e) ^ [ 33%] Built target src_module_tests Scanning dependencies of target tlab_ut
looks not very nice. I use SID distro with gcc/g++ version 8.2.0