cxcxcxcx opened a new pull request #7190:
URL: https://github.com/apache/tvm/pull/7190


   This addresses GCC 10 error:
   
   ```
   "src/runtime/crt/common/crt_runtime_api.c"
   include/tvm/runtime/c_runtime_api.h: 在函数‘TVMAPISetLastError’中:
   src/runtime/crt/common/crt_runtime_api.c:42:3: 错误:‘strncpy’ specified
   bound 1024 equals destination size [-Werror=stringop-truncation]
      42 |   strncpy(g_last_error, msg, sizeof(g_last_error));
         |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1:所有的警告都被当作是错误
   ```
   
   Thanks for contributing to TVM!   Please refer to guideline 
https://tvm.apache.org/docs/contribute/ for useful information and tips. After 
the pull request is submitted, please request code reviews from 
[Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers)
 by @ them in the pull request thread.
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to