Clang Goes Ahead And Enables C11 By Default

Written by Michael Larabel in LLVM on 27 October 2014 at 09:32 AM EDT. 14 Comments
LLVM
LLVM's Clang C/C++ compiler went ahead and enabled C11 as the default C language for the upcoming LLVM 3.6 release.

GCC 5 for release next year finally switched its default C version to C11 and LLVM's Clang is now following in that move. With GCC it was a shift from using C89 to default to now using C11 while in the case of Clang they previously were using C99 as their default. Like GCC, Clang has fully supported C11 for a while now but hadn't shifted it to be the default C language specification.

With this commit from last week, Clang now uses C11 by default. "Switch C compilations to C11 by default. This is long-since overdue, and matches GCC 5.0. This should also be backwards-compatible, because we already supported all of C11 as an extension in C99 mode."
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week