Lucien0 opened a new pull request, #12519:
URL: https://github.com/apache/tvm/pull/12519

   When compiling tvm with micro on the compiler which implements char as 
unsigned(such as arm-linux-gcc), there is an error:
   `src/runtime/crt/graph_executor/load_json.c:218:12: error: result of 
comparison of constant -1 with expression of type 'char' is always false 
[-Werror,-Wtautological-constant-out-of-range-compare]`
   `    if (ch == EOF || ch == '\r' || ch == '\n') {`
   The reason is because the implementation of char is undefined, so it's 
better to specify here that it is signed.


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