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

Richard Smith richard at metafoo.co.uk
Wed Oct 15 15:24:52 PDT 2014


(Sorry, hit send too soon)

Please shout now if you think this is a bad idea for some reason. If no-one
objects, I'll make this change on Friday.

On Wed, Oct 15, 2014 at 3:22 PM, Richard Smith <richard at metafoo.co.uk>
wrote:

> 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/2041651c/attachment.html>


More information about the cfe-dev mailing list