diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-14 11:50:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-14 11:50:23 +0200 |
commit | edc9022131b77cec3fe5a662766e36fa9a71d23e (patch) | |
tree | 1e084ffcf7ec3da9ad1eb2e6755335bdda9137f8 /build2/cxx/init.cxx | |
parent | 5d615c7ae1761d1511e01d0b4bea4920fda190a7 (diff) |
Enable modules support only for VC 15u5 and up, drop hacks for earlier
Diffstat (limited to 'build2/cxx/init.cxx')
-rw-r--r-- | build2/cxx/init.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 |