junrushao commented on PR #439:
URL: https://github.com/apache/tvm-ffi/pull/439#issuecomment-3882935777
@oraluben per this warning:
```
DEBUG /t2/3rdparty/tvm/include/tvm/tir/op.h:766:22: warning: possibly
dangling reference to a temporary [-Wdangling-reference]
DEBUG 766 | static const Op& op = Op::Get("tir." #OpName);
\
DEBUG | ^~
```
you may want to do:
```diff
- static const Op& op = Op::Get("tir." #OpName); \
+ static Op op = Op::Get("tir." #OpName); \
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]