[cfe-dev] RFC: switch default C language mode from gnu99 to gnu11

Richard Smith richard at metafoo.co.uk
Wed Oct 15 15:22:48 PDT 2014


I'd like to switch the default language mode for C compilations from gnu99
to gnu11. The only effect of this change would be to turn some extension
warnings off, change the default value of __STDC_VERSION__, and change the
default value of some __has_feature(...) checks; we allow all of C11 as an
extension in C99 mode anyway.

Also of note: GCC trunk just switched from C89 to C11 by default.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141015/694ae5e2/attachment.html>


More information about the cfe-dev mailing list