aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/c
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-07-21 11:51:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-07-22 09:15:39 +0200
commit991574155d9a988c1d98d5869e75bd009734269c (patch)
tree3a5dbb74b22425fdba14f818bb6a97b37c153fc6 /libbuild2/c
parent8ad0dfcb0184c6cb6dc9d96cbc0cecac731c2337 (diff)
Add note on new /std:c11 and /std:c17 MSVC options
Diffstat (limited to 'libbuild2/c')
-rw-r--r--libbuild2/c/init.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/c/init.cxx b/libbuild2/c/init.cxx
index 1813da3..d6622a8 100644
--- a/libbuild2/c/init.cxx
+++ b/libbuild2/c/init.cxx
@@ -79,6 +79,11 @@ namespace build2
//
// And it's still early days for C2X.
//
+ // From version 16.8 VC now supports /std:c11 and /std:c17 options
+ // which enable C11/17 conformance. However, as of version 16.10,
+ // neither SDK nor CRT can be compiled in these modes (see the /std
+ // option documentation for details/updates).
+ //
if (v == nullptr)
;
else if (*v != "90")