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

   Revert four explicit-this lambda captures ([=, this, ...] -> [=, ...]) in 
run_codegen.cc, inject_software_pipeline.cc, and cudnn_json_runtime.cc.
   
   These were introduced by the C++20 baseline upgrade (#19734); after 
reverting the baseline to C++17, MSVC rejects capturing 'this' explicitly under 
a '=' capture-default (error C3791) -- that form is C++20-only. GCC and Clang 
accept it as an extension in C++17, which is why only the Windows wheel build 
failed. Dropping the explicit 'this' ('=' captures it implicitly in C++17) 
restores the MSVC build with no behavior change.


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

Reply via email to