Open ncalexan opened 4 years ago
Thanks for the report! This should be relatively easy to fix I think since we should already know whether the type of the compiler is clang/gnu/etc. Given that we could just arrange for the filename to always be at the end and then, for clang-cl, always use --
before the filename?
@ncalexan I believe this is fixed by #514
I'm in the unusual position of trying to cross-compile from macOS to Windows with
clang-cl
(building Firefox, but that's not really relevant). I'm running into the[-Wslash-u-filename]
warning, like so:What's needed in these situations is to insert
--
before the input filename. Given thatcc-rs
must already be normalizing itsBuilder
outputs, this seems straight-forward enough, but it's technically possible that supported C/C++ compilers wouldn't accept--
.Would the project take a patch?