Clang Goes Ahead And Enables C11 By Default
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."
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."
14 Comments