[clang][flang] MSVC-style options should warn instead of crash?
Open
clang:driver
flang:driver
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Passing MSVC-style options like `clang /DEFAULTLIB:foo ...` causes 'no such file or directory' errors with clang (and flang). Over in gh-119179, @tarunprabhu suggested that instead a warning should be emitted and such options should be ignored, similar to how clang-cl handles unknown clang-style options.
It's not clear to me how this would be implemented, though, since these options could instead be interpreted as absolute paths (starting with `/`)?
Contributor guide
Assessment
This issue has not been assessed yet.