wm901115nwpu opened a new issue, #13915:
URL: https://github.com/apache/tvm/issues/13915

   ╰─ make cpptest                                                              
                                                                                
                  ─╯
   [  2%] Built target project_libbacktrace
   [ 85%] Built target tvm_objs
   [ 93%] Built target tvm_runtime_objs
   [ 93%] Built target tvm_libinfo_objs
   [ 93%] Built target tvm
   [ 94%] Building CXX object 
CMakeFiles/cpptest.dir/tests/cpp/data_type_rewriter_test.cc.o
   /Users/unicorn/workspace/tvm/tests/cpp/data_type_rewriter_test.cc:35:18: 
error: use of class template 'DataTypeLegalizerBinaryOp' requires template 
arguments; argument deduction not allowed in function prototype
   TYPED_TEST_SUITE(DataTypeLegalizerBinaryOp, BinaryOpTypes);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
   /Users/unicorn/workspace/tvm/tests/cpp/data_type_rewriter_test.cc:33:7: 
note: template is declared here
   class DataTypeLegalizerBinaryOp : public ::testing::Test {};
         ^
   /Users/unicorn/workspace/tvm/tests/cpp/data_type_rewriter_test.cc:35:1: 
error: C++ requires a type specifier for all declarations
   TYPED_TEST_SUITE(DataTypeLegalizerBinaryOp, BinaryOpTypes);
   ^
   /Users/unicorn/workspace/tvm/tests/cpp/data_type_rewriter_test.cc:37:1: 
error: use of undeclared identifier 
'gtest_type_params_DataTypeLegalizerBinaryOp_'
   TYPED_TEST(DataTypeLegalizerBinaryOp, Basic) {
   ^
   
/Users/unicorn/workspace/tvm/NNPACK/build/install/include/gtest/gtest-typed-test.h:183:11:
 note: expanded from macro 'TYPED_TEST'
             GTEST_TYPE_PARAMS_(CaseName)>::Register(\
             ^
   
/Users/unicorn/workspace/tvm/NNPACK/build/install/include/gtest/gtest-typed-test.h:160:43:
 note: expanded from macro 'GTEST_TYPE_PARAMS_'
   # define GTEST_TYPE_PARAMS_(TestCaseName) gtest_type_params_##TestCaseName##_
                                             ^
   <scratch space>:119:1: note: expanded from here
   gtest_type_params_DataTypeLegalizerBinaryOp_
   ^
   3 errors generated.
   make[3]: *** [CMakeFiles/cpptest.dir/tests/cpp/data_type_rewriter_test.cc.o] 
Error 1
   make[2]: *** [CMakeFiles/cpptest.dir/all] Error 2
   make[1]: *** [CMakeFiles/cpptest.dir/rule] Error 2
   make: *** [cpptest] Error 2


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to