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

Chris Lattner clattner at apple.com
Wed Oct 15 22:11:08 PDT 2014


Me too, this overdue.

-Chris

On Oct 15, 2014, at 10:01 PM, Ted Kremenek <kremenek at apple.com> wrote:

> I'm fine with this change.
> 
>> On 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.
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list