diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-15 11:06:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-15 11:06:54 +0200 |
commit | ef12b3bf80e2eec3fcfd36cceee02f357a992039 (patch) | |
tree | 82272911884b811e0c6bbd19fb8f3ec18011134f | |
parent | 7249a98c9a8038f00763a98fe3f472c8c7120a3a (diff) |
Improve VC compiler to runtime version mapping
-rw-r--r-- | build2/cc/guess.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/build2/cc/guess.cxx b/build2/cc/guess.cxx index 233bf53..b5c3a26 100644 --- a/build2/cc/guess.cxx +++ b/build2/cc/guess.cxx @@ -1355,10 +1355,7 @@ namespace build2 // 2005 8 14.00 8.0/80 // 2003 7.1 13.10 7.1/71 // - /**/ if (v.major == 19 && v.minor == 13) t += "14.1"; - else if (v.major == 19 && v.minor == 12) t += "14.1"; - else if (v.major == 19 && v.minor == 11) t += "14.1"; - else if (v.major == 19 && v.minor == 10) t += "14.1"; + /**/ if (v.major == 19 && v.minor >= 10) t += "14.1"; else if (v.major == 19 && v.minor == 0) t += "14.0"; else if (v.major == 18 && v.minor == 0) t += "12.0"; else if (v.major == 17 && v.minor == 0) t += "11.0"; |