This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Renames/adjustments of 1z to 17
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 14 Sep 2017 23:28:09 +0200
- Subject: Re: [C++ PATCH] Renames/adjustments of 1z to 17
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jakub at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 19D9E85542
- References: <20170914202634.GO1701@tucnak> <EE0CD76A-D4F4-4426-B4B6-15DF8D95437C@comcast.net>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Sep 14, 2017 at 02:24:01PM -0700, Mike Stump wrote:
> > --- gcc/doc/invoke.texi.jj 2017-09-12 21:57:57.000000000 +0200
> > +++ gcc/doc/invoke.texi 2017-09-14 19:32:34.342959968 +0200
> > @@ -1870,15 +1870,15 @@ GNU dialect of @option{-std=c++14}.
> > This is the default for C++ code.
> > The name @samp{gnu++1y} is deprecated.
> >
> > -@item c++1z
> > -The next revision of the ISO C++ standard, tentatively planned for
> > -2017. Support is highly experimental, and will almost certainly
> > -change in incompatible ways in future releases.
> > -
> > -@item gnu++1z
> > -GNU dialect of @option{-std=c++1z}. Support is highly experimental,
> > -and will almost certainly change in incompatible ways in future
> > -releases.
> > +@item c++17
> > +@itemx c++1z
> > +The 2017 ISO C++ standard plus amendments.
> > +The name @samp{c++1z} is deprecated.
> > +
> > +@item gnu++17
> > +@itemx gnu++1z
> > +GNU dialect of @option{-std=c++17}.
> > +The name @samp{gnu++17} is deprecated.
>
> I'd be tempted to say leave all this, and march 1z -> 2a for the _next_ standard. 2020 or so is a good first stab at the date.
I didn't want to add c++2a and gnu++2a in the same patch, it can be added
incrementally and readd the above wording. Unless somebody else is planning
to do that, I can do that next.
> > -or an unspecified value strictly larger than @code{201402L} for the
> > -experimental languages enabled by @option{-std=c++1z} and
> > -@option{-std=gnu++1z}.
> > +@code{201703L} for the 2017 C++ standard.
>
> Likewise.
Likewise.
Jakub