Looking at the source it seems Bazel always uses GCC_QUOTED encoding for compiler param file, which does not work for MSVC. As soon as the flag contains spaces or quotes or any other unsafe chars they get prepended with backslash which confuses MSVC.
There is a comment: “// TODO(b/132888308): Support MSVC, which has its own method of escaping strings.” which implies it is a known issue, but I don’t know what “TODO(b/132888308)” actually means.
Any ideas how to work around that problem and make compiler param files produced without escaping?
Thank you!
Konstantin
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/298ff37b-2672-4f99-a815-e86ac1d3d313n%40googlegroups.com.