This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Do not describe -std=c11 etc. as experimental in c.opt help text
- From: Marek Polacek <polacek at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Joseph Myers <joseph at codesourcery dot com>
- Date: Fri, 9 Oct 2015 15:50:02 +0200
- Subject: Re: Do not describe -std=c11 etc. as experimental in c.opt help text
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1510011700140 dot 25019 at digraph dot polyomino dot org dot uk> <20151002153538 dot GA6184 at redhat dot com>
Jason: ping.
On Fri, Oct 02, 2015 at 05:35:39PM +0200, Marek Polacek wrote:
> On Thu, Oct 01, 2015 at 05:01:26PM +0000, Joseph Myers wrote:
> > I noticed that c.opt still described -std=c11 and related options as
> > experimental in the --help text. This patch fixes this.
> >
> > Jason, note that -std=gnu++11 and -std=gnu++14 still have that text,
> > contrary to the descriptions of -std=c++11 and -std=c++14.
>
> Thus, ok to commit this one (to trunk + 5)?
>
> 2015-10-02 Marek Polacek <polacek@redhat.com>
>
> * c.opt (std=gnu++11): Do not describe as experimental.
> (std=gnu++14): Likewise.
>
> diff --git gcc/c-family/c.opt gcc/c-family/c.opt
> index a79b9f1..bfa09ee 100644
> --- gcc/c-family/c.opt
> +++ gcc/c-family/c.opt
> @@ -1694,7 +1694,7 @@ corrigendum with GNU extensions
>
> std=gnu++11
> C++ ObjC++
> -Conform to the ISO 2011 C++ standard with GNU extensions (experimental and incomplete support)
> +Conform to the ISO 2011 C++ standard with GNU extensions
>
> std=gnu++0x
> C++ ObjC++ Alias(std=gnu++11) Undocumented
> @@ -1706,7 +1706,7 @@ Deprecated in favor of -std=gnu++14
>
> std=gnu++14
> C++ ObjC++
> -Conform to the ISO 2014 C++ standard with GNU extensions (experimental and incomplete support)
> +Conform to the ISO 2014 C++ standard with GNU extensions
>
> std=gnu++1z
> C++ ObjC++
>
> Marek
Marek