From 016564a920683a7ef1957cc7cb025b70664e054d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 22 Jul 2019 14:07:25 +0200 Subject: Temporarily map C++ standard to c++17 in cxx-modules-ex GCC branch --- build2/cxx/init.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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). // -- cgit v1.1