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

Hal Finkel hfinkel at anl.gov
Wed Oct 15 15:32:53 PDT 2014


----- Original Message -----
> From: "Richard Smith" <richard at metafoo.co.uk>
> To: "cfe-dev at cs.uiuc.edu Developers" <cfe-dev at cs.uiuc.edu>
> Sent: Wednesday, October 15, 2014 5:22:48 PM
> Subject: [cfe-dev] RFC: switch default C language mode from gnu99 to gnu11
> 
> 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.

+1 (given that we now have a stdatomic.h setup, I think this makes sense)

 -Hal

> 
> 
> 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
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory



More information about the cfe-dev mailing list