3 ms·
Yes, there is a C11 standard. See for instance http://en.wikipedia.org/wiki/C11_%28C_standard_revision%29 http://en.wikipedia.org/wiki/C11_%28C_standard_revisio
by unwind 12y ago
Yes, there is a C11 standard. See for instance http://en.wikipedia.org/wiki/C11_%28C_standard_revision%29 http://en.wikipedia.org/wiki/C11_%28C_standard_revision%29 for a list of new features in C11. But no, it doesn't implement these things.
Here's a handy table showing GCC's support: https://gcc.gnu.org/wiki/C11Status https://gcc.gnu.org/wiki/C11Status.
I'm pretty sure Clang supports C11 well too, didn't find a corresponding table though. It says "By default, Clang builds C code in GNU C11 mode [...]" on this page: http://clang.llvm.org/compatibility.html http://clang.llvm.org/compatibility.html.
- kps 12y ago“Clang strives to both conform to current language standards (up to C11 and C++11)”. If anything's missing, it's a bug. clang also kindly defaults to C11 so I don't have to curse and go add a command line flag every time I write “for (int i = ...”.
- fafner 12y agoGCC 5 will default to -std=gnu11 (C11 with GNU extensions)