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

   After https://github.com/apache/tvm/pull/15447, I cannot build TVM Unity 
with Clang (failed with both clang-15 and clang-17). However, GCC works well.
   
   Would be great to fix it
   
   ```
   [build] /home/syfeng/tvm/src/ir/global_info.cc:33:25: error: addition of 
default argument on redeclaration makes this constructor a default constructor
   [build]    33 | VDevice::VDevice(Target tgt = {}, int dev_id = -1, 
MemoryScope mem_scope = {}) {
   [build]       |                         ^   ~~~~
   [build] /home/syfeng/tvm/include/tvm/ir/global_info.h:97:20: note: previous 
declaration is here
   [build]    97 |   TVM_DLL explicit VDevice(Target tgt, int dev_id, 
MemoryScope mem_scope);
   [build]       |                    ^
   [build] 1 error generated.
   ```
   
   cc @yongwww 


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