diff options
Diffstat (limited to 'libbuild2/cxx')
-rw-r--r-- | libbuild2/cxx/init.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libbuild2/cxx/init.cxx b/libbuild2/cxx/init.cxx index 24d2cb9..5619397 100644 --- a/libbuild2/cxx/init.cxx +++ b/libbuild2/cxx/init.cxx @@ -296,13 +296,17 @@ namespace build2 // We now use extended/experimental module mapper support which // is currently only available in our c++-modules-ex branch. // But let's allow forcing it to plain c++-modules in case - // things got merged, etc. + // things got merged or the user feels adventurous. // if (mj >= 10 && ci.version.build.find (l ? "c++-modules" : "c++-modules-ex") != string::npos) { + // @@ TMP: currently there are some issues in the c++2a mode. + // + r.back () = "-std=c++17"; + // Currently defines __cpp_modules=201810 which is said to // correspond to p1103 (merged modules). // |