From edc9022131b77cec3fe5a662766e36fa9a71d23e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Feb 2018 11:50:23 +0200 Subject: Enable modules support only for VC 15u5 and up, drop hacks for earlier --- build2/cxx/init.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/cxx') diff --git a/build2/cxx/init.cxx b/build2/cxx/init.cxx index ff97f5b..826d2b0 100644 --- a/build2/cxx/init.cxx +++ b/build2/cxx/init.cxx @@ -163,10 +163,10 @@ namespace build2 // While modules are supported in VC15u0 (19.10), there is a // bug in separate interface/implementation unit support which // makes them pretty much unusable. This has been fixed in - // VC15u3 (19.11). And VC15u5 supports the 'export module M;' - // syntax. + // VC15u3 (19.11). And VC15u5 (19.12) supports the 'export + // module M;' syntax. // - if (mj > 19 || (mj == 19 && mi >= (l ? 10 : 11))) + if (mj > 19 || (mj == 19 && mi >= (l ? 10 : 12))) { r.push_back ( mj > 19 || mi > 11 -- cgit v1.1