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

Aaron Ballman aaron at aaronballman.com
Thu Oct 16 05:10:16 PDT 2014


On Wed, Oct 15, 2014 at 6: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.

+1

~Aaron



More information about the cfe-dev mailing list