$ make [ 25%] Building CXX object CMakeFiles/test_test.dir/test_test.cpp.o In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘class testing::internal::ParameterizedTestSuiteInfo’: /home/mikhail/Projects/poc/test_test.cpp:7:1: required from here /usr/include/gtest/internal/gtest-param-util.h:501:9: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 501 | using ParamType = typename TestSuite::ParamType; | ^~~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h:503:37: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 503 | typedef ParamGenerator(GeneratorCreationFunc)(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h:504:9: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 504 | using ParamNameGeneratorFunc = std::string(const TestParamInfo&); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h:522:8: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 522 | void AddTestPattern(const char* test_suite_name, const char* test_base_name, | ^~~~~~~~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h:523:55: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 523 | TestMetaFactoryBase* meta_factory, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘class testing::internal::TestMetaFactory’: /home/mikhail/Projects/poc/test_test.cpp:7:1: required from here /usr/include/gtest/internal/gtest-param-util.h:431:7: error: ‘typedef int testing::WithParamInterface::ParamType’ is private within this context 431 | class TestMetaFactory | ^~~~~~~~~~~~~~~ /home/mikhail/Projects/poc/test_test.cpp:5:7: note: declared private here 5 | class TestF : ::testing::TestWithParam {}; | ^~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h:434:9: error: ‘typedef int testing::WithParamInterface::ParamType’ is private within this context 434 | using ParamType = typename TestSuite::ParamType; | ^~~~~~~~~ /home/mikhail/Projects/poc/test_test.cpp:5:7: note: declared private here 5 | class TestF : ::testing::TestWithParam {}; | ^~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘void testing::internal::ParameterizedTestSuiteInfo::AddTestPattern(const char*, const char*, testing::internal::TestMetaFactoryBase*, testing::internal::CodeLocation) [with TestSuite = TestF; typename TestSuite::ParamType = int]’: /home/mikhail/Projects/poc/test_test.cpp:7:1: required from here /usr/include/gtest/internal/gtest-param-util.h:523:55: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 523 | TestMetaFactoryBase* meta_factory, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘struct testing::internal::ParameterizedTestSuiteInfo::TestInfo’: /usr/include/gtest/internal/gtest-param-util.h:525:48: required from ‘void testing::internal::ParameterizedTestSuiteInfo::AddTestPattern(const char*, const char*, testing::internal::TestMetaFactoryBase*, testing::internal::CodeLocation) [with TestSuite = TestF; typename TestSuite::ParamType = int]’ /home/mikhail/Projects/poc/test_test.cpp:7:1: required from here /usr/include/gtest/internal/gtest-param-util.h:613:5: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 613 | TestInfo(const char* a_test_suite_base_name, const char* a_test_base_name, | ^~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h:614:46: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 614 | TestMetaFactoryBase* a_test_meta_factory, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h:623:60: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 623 | const std::unique_ptr > test_meta_factory; | ^~~~~~~~~~~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h:623:60: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 623 | const std::unique_ptr > test_meta_factory; | ^~~~~~~~~~~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘class testing::internal::ParameterizedTestFactory’: /usr/include/gtest/internal/gtest-param-util.h:439:12: required from ‘testing::internal::TestFactoryBase* testing::internal::TestMetaFactory::CreateTestFactory(testing::internal::TestMetaFactory::ParamType) [with TestSuite = TestF_SomeTest_Test; testing::internal::TestMetaFactory::ParamType = int]’ /usr/include/gtest/internal/gtest-param-util.h:438:20: required from here /usr/include/gtest/internal/gtest-param-util.h:396:41: error: ‘typedef int testing::WithParamInterface::ParamType’ is private within this context 396 | typedef typename TestClass::ParamType ParamType; | ^~~~~~~~~ /home/mikhail/Projects/poc/test_test.cpp:5:7: note: declared private here 5 | class TestF : ::testing::TestWithParam {}; | ^~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘void testing::internal::ParameterizedTestSuiteInfo::RegisterTests() [with TestSuite = TestF]’: /usr/include/gtest/internal/gtest-param-util.h:543:8: required from here /usr/include/gtest/internal/gtest-param-util.h:553:35: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 553 | ParamGenerator generator((*gen_it->generator)()); | ^~~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h:565:59: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 565 | for (typename ParamGenerator::iterator param_it = | ^~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ In file included from /usr/include/gtest/gtest-param-test.h:178, from /usr/include/gtest/gtest.h:67, from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/internal/gtest-param-util.h:573:15: error: ‘typedef int testing::WithParamInterface::ParamType’ is inaccessible within this context 573 | TestParamInfo(*param_it, i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/mikhail/Projects/poc/test_test.cpp:3: /usr/include/gtest/gtest.h:1848:13: note: declared here 1848 | typedef T ParamType; | ^~~~~~~~~ make[2]: *** [CMakeFiles/test_test.dir/build.make:76: CMakeFiles/test_test.dir/test_test.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/test_test.dir/all] Error 2 make: *** [Makefile:91: all] Error 2