Initial C17 Language Support Lands In LLVM Clang 6.0 SVN

Written by Michael Larabel in LLVM on 7 December 2017 at 08:11 PM EST. 1 Comment
LLVM
Back in October is when GCC began prepping C17 support patches for their compiler as a minor update to the C programming language. LLVM's Clang compiler has now landed its initial support for C17.

C17 is a minor "bug fix version" over the C11 standard. The C17 specification is still being firmed up and following the initial support appearing in GCC, it's now in Clang.

The latest Clang Git/SVN code now supports the -std=c17, -std=gnu17, and std=iso9899:2017 options.

Worth noting is C17 might end up becoming known as C18. C17 has yet to go to ballot for approval with the year quickly drawing to an end plus the fact of the specification then needing to be published. GCC has already aliased the c18/gnu18 options to reflect that it might be called C18, but the initial Clang patches do not. GCC made the assumption early of C17/C18 to avoid confusion/problems down the road while it appears Clang is holding out until finding out if aliasing as C18 is really needed.

Regardless, LLVM Clang 6.0 as is set to be released around March and GCC 8.1 that should also be released around that time should have C17/C18 squared away.
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