aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorjrl64 <32905389+jrl64@users.noreply.github.com>2019-04-10 15:14:51 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2019-04-10 23:14:51 +0300
commita2d222c383f569241006f826690f599c4f187849 (patch)
tree4acb984888651b3cdf728a70ee57820a9640e21d /docs/markdown/snippets
parent04710b087a3033aa692e1fc3bdbb2dbe2a8ec70e (diff)
downloadmeson-a2d222c383f569241006f826690f599c4f187849.zip
meson-a2d222c383f569241006f826690f599c4f187849.tar.gz
meson-a2d222c383f569241006f826690f599c4f187849.tar.bz2
Update Built-in Option c_std for C17. Closes #4842.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/add_c17_and_c18_standards.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/markdown/snippets/add_c17_and_c18_standards.md b/docs/markdown/snippets/add_c17_and_c18_standards.md
new file mode 100644
index 0000000..6461e65
--- /dev/null
+++ b/docs/markdown/snippets/add_c17_and_c18_standards.md
@@ -0,0 +1,9 @@
+---
+short-description: Add c17 and c18 values for c_std option
+...
+
+## Added c17 and c18 as c_std values for recent GCC and Clang Versions
+
+For gcc version 8.0 and later, the values c17, c18, gnu17, and gnu18 were added to the accepted values for built-in compiler option c_std.
+
+For Clang version 10.0 and later on Apple OSX (Darwin), and for version 7.0 and later on other platforms, the values c17 and gnu17 were added as c_std values.