This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add -std=c18 etc. option aliases
On Thu, Nov 16, 2017 at 11:34:07PM +0000, Joseph Myers wrote:
> On Thu, 16 Nov 2017, Mike Stump wrote:
>
> > date on it. If there was no major release with c17, I would ditch the
> > c17 spelling and just change it to c18 now. :-) I know, kinda sucks,
>
> There is no evidence yet of anyone using the C18 name. So far, it's
> consistently being referred to as C17 in development, even after the
> timescale for the ballot / publication has become clear. But given the
> possibility that some people might think of it as C18 based on the
> publication date, being prepared with aliases seems useful.
>
> The name -std=iso9899:2017 follows the precedent of -std=iso9899:199409 in
> being based on the __STDC_VERSION__ value rather than the publication
> date.
Note AFAIK C++14 has been published in January 2015 too, initially
14882:2015 and then changed to 14882:2014.
Jakub