aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx/utility.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-06-28 13:00:14 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-07-01 15:46:53 +0300
commitec7b7e37ce97d25adc209befb2c12cf16eb06ef1 (patch)
treebcb5b911b0d6579cf1d8c2e6ca4ac13383ca08f9 /build2/cxx/utility.cxx
parent86db4fb7388285adc24e3aa6eb3f7ec68efd15f4 (diff)
Port to MSVC
Diffstat (limited to 'build2/cxx/utility.cxx')
-rw-r--r--build2/cxx/utility.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cxx/utility.cxx b/build2/cxx/utility.cxx
index 0f4eb08..ed57fd2 100644
--- a/build2/cxx/utility.cxx
+++ b/build2/cxx/utility.cxx
@@ -36,9 +36,9 @@ namespace build2
// @@ Is mapping for 14 and 17 correct? Maybe Update 2 for 14?
//
- if ((v == "11" && cver <= 16) || // C++11 since VS2010/10.0.
- (v == "14" && cver <= 19) || // C++14 since VS2015/14.0.
- (v == "17" && cver <= 20)) // C++17 since VS20??/15.0.
+ if ((v == "11" && cver < 16) || // C++11 since VS2010/10.0.
+ (v == "14" && cver < 19) || // C++14 since VS2015/14.0.
+ (v == "17" && cver < 20)) // C++17 since VS20??/15.0.
{
fail << "C++" << v << " is not supported by "
<< cast<string> (rs["cxx.signature"]) <<