Guest User

Untitled

a guest
Sep 3rd, 2021
29
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ make
  2. [ 25%] Building CXX object CMakeFiles/test_test.dir/test_test.cpp.o
  3. In file included from /usr/include/gtest/gtest-param-test.h:178,
  4. from /usr/include/gtest/gtest.h:67,
  5. from /home/mikhail/Projects/poc/test_test.cpp:3:
  6. /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘class testing::internal::ParameterizedTestSuiteInfo<TestF>’:
  7. /home/mikhail/Projects/poc/test_test.cpp:7:1: required from here
  8. /usr/include/gtest/internal/gtest-param-util.h:501:9: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  9. 501 | using ParamType = typename TestSuite::ParamType;
  10. | ^~~~~~~~~
  11. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  12. /usr/include/gtest/gtest.h:1848:13: note: declared here
  13. 1848 | typedef T ParamType;
  14. | ^~~~~~~~~
  15. In file included from /usr/include/gtest/gtest-param-test.h:178,
  16. from /usr/include/gtest/gtest.h:67,
  17. from /home/mikhail/Projects/poc/test_test.cpp:3:
  18. /usr/include/gtest/internal/gtest-param-util.h:503:37: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  19. 503 | typedef ParamGenerator<ParamType>(GeneratorCreationFunc)();
  20. | ^~~~~~~~~~~~~~~~~~~~~
  21. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  22. /usr/include/gtest/gtest.h:1848:13: note: declared here
  23. 1848 | typedef T ParamType;
  24. | ^~~~~~~~~
  25. In file included from /usr/include/gtest/gtest-param-test.h:178,
  26. from /usr/include/gtest/gtest.h:67,
  27. from /home/mikhail/Projects/poc/test_test.cpp:3:
  28. /usr/include/gtest/internal/gtest-param-util.h:504:9: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  29. 504 | using ParamNameGeneratorFunc = std::string(const TestParamInfo<ParamType>&);
  30. | ^~~~~~~~~~~~~~~~~~~~~~
  31. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  32. /usr/include/gtest/gtest.h:1848:13: note: declared here
  33. 1848 | typedef T ParamType;
  34. | ^~~~~~~~~
  35. In file included from /usr/include/gtest/gtest-param-test.h:178,
  36. from /usr/include/gtest/gtest.h:67,
  37. from /home/mikhail/Projects/poc/test_test.cpp:3:
  38. /usr/include/gtest/internal/gtest-param-util.h:522:8: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  39. 522 | void AddTestPattern(const char* test_suite_name, const char* test_base_name,
  40. | ^~~~~~~~~~~~~~
  41. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  42. /usr/include/gtest/gtest.h:1848:13: note: declared here
  43. 1848 | typedef T ParamType;
  44. | ^~~~~~~~~
  45. In file included from /usr/include/gtest/gtest-param-test.h:178,
  46. from /usr/include/gtest/gtest.h:67,
  47. from /home/mikhail/Projects/poc/test_test.cpp:3:
  48. /usr/include/gtest/internal/gtest-param-util.h:523:55: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  49. 523 | TestMetaFactoryBase<ParamType>* meta_factory,
  50. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
  51. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  52. /usr/include/gtest/gtest.h:1848:13: note: declared here
  53. 1848 | typedef T ParamType;
  54. | ^~~~~~~~~
  55. In file included from /usr/include/gtest/gtest-param-test.h:178,
  56. from /usr/include/gtest/gtest.h:67,
  57. from /home/mikhail/Projects/poc/test_test.cpp:3:
  58. /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘class testing::internal::TestMetaFactory<TestF_SomeTest_Test>’:
  59. /home/mikhail/Projects/poc/test_test.cpp:7:1: required from here
  60. /usr/include/gtest/internal/gtest-param-util.h:431:7: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is private within this context
  61. 431 | class TestMetaFactory
  62. | ^~~~~~~~~~~~~~~
  63. /home/mikhail/Projects/poc/test_test.cpp:5:7: note: declared private here
  64. 5 | class TestF : ::testing::TestWithParam<int> {};
  65. | ^~~~~
  66. In file included from /usr/include/gtest/gtest-param-test.h:178,
  67. from /usr/include/gtest/gtest.h:67,
  68. from /home/mikhail/Projects/poc/test_test.cpp:3:
  69. /usr/include/gtest/internal/gtest-param-util.h:434:9: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is private within this context
  70. 434 | using ParamType = typename TestSuite::ParamType;
  71. | ^~~~~~~~~
  72. /home/mikhail/Projects/poc/test_test.cpp:5:7: note: declared private here
  73. 5 | class TestF : ::testing::TestWithParam<int> {};
  74. | ^~~~~
  75. In file included from /usr/include/gtest/gtest-param-test.h:178,
  76. from /usr/include/gtest/gtest.h:67,
  77. from /home/mikhail/Projects/poc/test_test.cpp:3:
  78. /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘void testing::internal::ParameterizedTestSuiteInfo<TestSuite>::AddTestPattern(const char*, const char*, testing::internal::TestMetaFactoryBase<typename TestSuite::ParamType>*, testing::internal::CodeLocation) [with TestSuite = TestF; typename TestSuite::ParamType = int]’:
  79. /home/mikhail/Projects/poc/test_test.cpp:7:1: required from here
  80. /usr/include/gtest/internal/gtest-param-util.h:523:55: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  81. 523 | TestMetaFactoryBase<ParamType>* meta_factory,
  82. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
  83. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  84. /usr/include/gtest/gtest.h:1848:13: note: declared here
  85. 1848 | typedef T ParamType;
  86. | ^~~~~~~~~
  87. In file included from /usr/include/gtest/gtest-param-test.h:178,
  88. from /usr/include/gtest/gtest.h:67,
  89. from /home/mikhail/Projects/poc/test_test.cpp:3:
  90. /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘struct testing::internal::ParameterizedTestSuiteInfo<TestF>::TestInfo’:
  91. /usr/include/gtest/internal/gtest-param-util.h:525:48: required from ‘void testing::internal::ParameterizedTestSuiteInfo<TestSuite>::AddTestPattern(const char*, const char*, testing::internal::TestMetaFactoryBase<typename TestSuite::ParamType>*, testing::internal::CodeLocation) [with TestSuite = TestF; typename TestSuite::ParamType = int]’
  92. /home/mikhail/Projects/poc/test_test.cpp:7:1: required from here
  93. /usr/include/gtest/internal/gtest-param-util.h:613:5: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  94. 613 | TestInfo(const char* a_test_suite_base_name, const char* a_test_base_name,
  95. | ^~~~~~~~
  96. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  97. /usr/include/gtest/gtest.h:1848:13: note: declared here
  98. 1848 | typedef T ParamType;
  99. | ^~~~~~~~~
  100. In file included from /usr/include/gtest/gtest-param-test.h:178,
  101. from /usr/include/gtest/gtest.h:67,
  102. from /home/mikhail/Projects/poc/test_test.cpp:3:
  103. /usr/include/gtest/internal/gtest-param-util.h:614:46: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  104. 614 | TestMetaFactoryBase<ParamType>* a_test_meta_factory,
  105. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
  106. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  107. /usr/include/gtest/gtest.h:1848:13: note: declared here
  108. 1848 | typedef T ParamType;
  109. | ^~~~~~~~~
  110. In file included from /usr/include/gtest/gtest-param-test.h:178,
  111. from /usr/include/gtest/gtest.h:67,
  112. from /home/mikhail/Projects/poc/test_test.cpp:3:
  113. /usr/include/gtest/internal/gtest-param-util.h:623:60: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  114. 623 | const std::unique_ptr<TestMetaFactoryBase<ParamType> > test_meta_factory;
  115. | ^~~~~~~~~~~~~~~~~
  116. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  117. /usr/include/gtest/gtest.h:1848:13: note: declared here
  118. 1848 | typedef T ParamType;
  119. | ^~~~~~~~~
  120. In file included from /usr/include/gtest/gtest-param-test.h:178,
  121. from /usr/include/gtest/gtest.h:67,
  122. from /home/mikhail/Projects/poc/test_test.cpp:3:
  123. /usr/include/gtest/internal/gtest-param-util.h:623:60: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  124. 623 | const std::unique_ptr<TestMetaFactoryBase<ParamType> > test_meta_factory;
  125. | ^~~~~~~~~~~~~~~~~
  126. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  127. /usr/include/gtest/gtest.h:1848:13: note: declared here
  128. 1848 | typedef T ParamType;
  129. | ^~~~~~~~~
  130. In file included from /usr/include/gtest/gtest-param-test.h:178,
  131. from /usr/include/gtest/gtest.h:67,
  132. from /home/mikhail/Projects/poc/test_test.cpp:3:
  133. /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘class testing::internal::ParameterizedTestFactory<TestF_SomeTest_Test>’:
  134. /usr/include/gtest/internal/gtest-param-util.h:439:12: required from ‘testing::internal::TestFactoryBase* testing::internal::TestMetaFactory<TestSuite>::CreateTestFactory(testing::internal::TestMetaFactory<TestSuite>::ParamType) [with TestSuite = TestF_SomeTest_Test; testing::internal::TestMetaFactory<TestSuite>::ParamType = int]’
  135. /usr/include/gtest/internal/gtest-param-util.h:438:20: required from here
  136. /usr/include/gtest/internal/gtest-param-util.h:396:41: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is private within this context
  137. 396 | typedef typename TestClass::ParamType ParamType;
  138. | ^~~~~~~~~
  139. /home/mikhail/Projects/poc/test_test.cpp:5:7: note: declared private here
  140. 5 | class TestF : ::testing::TestWithParam<int> {};
  141. | ^~~~~
  142. In file included from /usr/include/gtest/gtest-param-test.h:178,
  143. from /usr/include/gtest/gtest.h:67,
  144. from /home/mikhail/Projects/poc/test_test.cpp:3:
  145. /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘void testing::internal::ParameterizedTestSuiteInfo<TestSuite>::RegisterTests() [with TestSuite = TestF]’:
  146. /usr/include/gtest/internal/gtest-param-util.h:543:8: required from here
  147. /usr/include/gtest/internal/gtest-param-util.h:553:35: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  148. 553 | ParamGenerator<ParamType> generator((*gen_it->generator)());
  149. | ^~~~~~~~~
  150. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  151. /usr/include/gtest/gtest.h:1848:13: note: declared here
  152. 1848 | typedef T ParamType;
  153. | ^~~~~~~~~
  154. In file included from /usr/include/gtest/gtest-param-test.h:178,
  155. from /usr/include/gtest/gtest.h:67,
  156. from /home/mikhail/Projects/poc/test_test.cpp:3:
  157. /usr/include/gtest/internal/gtest-param-util.h:565:59: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  158. 565 | for (typename ParamGenerator<ParamType>::iterator param_it =
  159. | ^~~~~~~~
  160. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  161. /usr/include/gtest/gtest.h:1848:13: note: declared here
  162. 1848 | typedef T ParamType;
  163. | ^~~~~~~~~
  164. In file included from /usr/include/gtest/gtest-param-test.h:178,
  165. from /usr/include/gtest/gtest.h:67,
  166. from /home/mikhail/Projects/poc/test_test.cpp:3:
  167. /usr/include/gtest/internal/gtest-param-util.h:573:15: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
  168. 573 | TestParamInfo<ParamType>(*param_it, i));
  169. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  170. In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
  171. /usr/include/gtest/gtest.h:1848:13: note: declared here
  172. 1848 | typedef T ParamType;
  173. | ^~~~~~~~~
  174. make[2]: *** [CMakeFiles/test_test.dir/build.make:76: CMakeFiles/test_test.dir/test_test.cpp.o] Error 1
  175. make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/test_test.dir/all] Error 2
  176. make: *** [Makefile:91: all] Error 2
  177.  
RAW Paste Data