| Issue |
64767
|
| Summary |
Bazel build with msvc requires `/Zc:preprocessor`
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
kkpattern
|
MSVC requires `/Zc:preprocessor` to correctly expand `__VA_ARGS__`. This flag is added in cmake config with 401dee445196a4a97b2ad2ca7cfc125b776be7f3.
Without this flag we failed to compile file `clang/lib/Frontend/CompilerInvocation.cpp` in 17.0.0-rc2.
We can add this flag in `utils/bazel/.bazelrc`.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs