aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/guess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/guess.cxx')
-rw-r--r--build2/cc/guess.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/cc/guess.cxx b/build2/cc/guess.cxx
index 5fa0604..0932083 100644
--- a/build2/cc/guess.cxx
+++ b/build2/cc/guess.cxx
@@ -1585,8 +1585,9 @@ namespace build2
// it 14.2 (which is the version of the "toolset") in our target
// triplet.
//
- // year ver cl crt/dll
+ // year ver cl crt/dll toolset
//
+ // 2019 16.1 19.21 14.2/140 14.21
// 2019 16.0 19.20 14.2/140
// 2017 15.9 19.16 14.1/140
// 2017 15.8 19.15 14.1/140
@@ -1603,6 +1604,8 @@ namespace build2
// 2005 8 14.00 8.0/80
// 2003 7.1 13.10 7.1/71
//
+ // _MSC_VER is the numeric cl version, e.g., 1921 for 19.21.
+ //
/**/ if (v.major == 19 && v.minor >= 20) t += "14.2";
else if (v.major == 19 && v.minor >= 10) t += "14.1";
else if (v.major == 19 && v.minor == 0) t += "14.0";