Commit 8740fdf
authored
Support somewhat recent clang versions on Windows (GH-15324)
Prior to clang 10.0.0, `clang-cl -v` apparently always appended some
fine grained version information in parentheses[1]; this is no longer
the case, so the build fails early because the compiler version could
not be detected. Since we never used this fine grained version info,
we no longer check for it.
As of clang 13.0.0, the `/fallback` command option has been removed[2],
so we only set the flag for older clang versions.
[1] <#11313 (comment)>
[2] <https://releases.llvm.org/13.0.0/tools/clang/docs/ReleaseNotes.html#removed-compiler-flags>1 parent 8d7365b commit 8740fdf
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3070 | 3070 | | |
3071 | 3071 | | |
3072 | 3072 | | |
3073 | | - | |
| 3073 | + | |
3074 | 3074 | | |
3075 | 3075 | | |
3076 | 3076 | | |
| |||
3324 | 3324 | | |
3325 | 3325 | | |
3326 | 3326 | | |
3327 | | - | |
| 3327 | + | |
| 3328 | + | |
| 3329 | + | |
3328 | 3330 | | |
3329 | 3331 | | |
3330 | 3332 | | |
| |||
0 commit comments