aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-07-22 14:07:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-07-22 14:07:25 +0200
commit016564a920683a7ef1957cc7cb025b70664e054d (patch)
tree8fdb84f724e6219c963dcd268fa1d3e3385760de
parentef9da14a1e36b290f07603c99281494666db9084 (diff)
Temporarily map C++ standard to c++17 in cxx-modules-ex GCC branch
-rw-r--r--build2/cxx/init.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/build2/cxx/init.cxx b/build2/cxx/init.cxx
index 9db5817..01130d7 100644
--- a/build2/cxx/init.cxx
+++ b/build2/cxx/init.cxx
@@ -303,6 +303,10 @@ namespace build2
? "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).
//