From ec7b7e37ce97d25adc209befb2c12cf16eb06ef1 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 28 Jun 2016 13:00:14 +0300 Subject: Port to MSVC --- build2/cxx/utility.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/cxx/utility.cxx') 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 (rs["cxx.signature"]) << -- cgit v1.1