Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For clang-cl, separate flags/options from input file to avoid `-Wslas…
…h-u-filename`. (#513) This avoids a `clang-cl` issue common when cross-compiling from macOS to Windows: the `-Wslash-u-filename` where a `/Users/...` path is interpreted as the `cl.exe` flag `/U`. Not all compilers recognize `--` so this is limited to `clang-cl`. There are no existing tests mocking out `clang-cl` and surface efforts didn't succeed, so that will have to wait for follow-up.
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters