diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-05-14 09:16:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-05-14 09:16:23 +0200 |
commit | d228d6e33b460be975ac0a0325a94a7f3307c0e2 (patch) | |
tree | 69924b66dd533ff1b1e496520d3a8137079e5500 /libbuild2/cxx/init.cxx | |
parent | cfe4db0858677230a1b8e06e8b965bc580e3c97a (diff) |
Map C23/C2X to /std:clatest starting from MSVC 17.9 (19.39)
In particular, this option enables C23 typeof support.
Diffstat (limited to 'libbuild2/cxx/init.cxx')
-rw-r--r-- | libbuild2/cxx/init.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/cxx/init.cxx b/libbuild2/cxx/init.cxx index 8159d18..0c29d41 100644 --- a/libbuild2/cxx/init.cxx +++ b/libbuild2/cxx/init.cxx @@ -498,8 +498,8 @@ namespace build2 // Unless disabled by the user, try to enable C++ modules. // - // NOTE: see also diagnostics about modules support required in compile - // rule. + // NOTE: see also diagnostics about modules support required (if + // attempting to use) in compile rule. // if (!modules.value || *modules.value) { @@ -580,7 +580,7 @@ namespace build2 // around Clang 16 so we don't support anything earlier than // that (it's not practically usable anyway). // - // Clang enable modules by default in c++20 or later but they + // Clang enables modules by default in c++20 or later but they // don't yet (as of Clang 18) define __cpp_modules. When they // do, we can consider enabling modules by default on our side. // For now, we only enable modules if forced with explicit |