Bug 5701423: Add MSVC-specific flag /Zc:preprocessor as CCCL change the warning of this flag to error

This commit is contained in:
Shawn Zeng
2026-01-07 15:32:34 +08:00
parent 70fcdd353f
commit 17113ea87e
3 changed files with 9 additions and 4 deletions

View File

@@ -1,5 +1,8 @@
## Changelog
### CUDA 13.2
* Added the MSVC compile flag `-Xcompiler=/Zc:preprocessor` in CMakeLists.txt to comply with CUDA13.2 CCCL. Previously, using the traditional preprocessor triggered the warning “MSVC/cl.exe with traditional preprocessor is used…”, which now leads to a build error.
### CUDA 13.1
* Minor bug fixes and enhancements, no structural or functional changes