On Thu, Jan 29, 2015 at 10:49:49AM +0100, Marek Polacek wrote:
> On Thu, Jan 29, 2015 at 10:46:24AM +0100, Marek Polacek wrote:
> > Apparently I failed to update this text when doing the gnu89 -> gnu11
> > change.
> > 
> > Ok?
> > 
> > 2015-01-29  Marek Polacek  <pola...@redhat.com>
> > 
> >     * doc/standards.texi: Reflect that the default for C is gnu11.
> > 
> > diff --git gcc/doc/standards.texi gcc/doc/standards.texi
> > index fef81ae..97b12c8 100644
> > --- gcc/doc/standards.texi
> > +++ gcc/doc/standards.texi
> > @@ -110,12 +110,10 @@ they conflict with the C standard version selected.  
> > You may also
> >  select an extended version of the C language explicitly with
> >  @option{-std=gnu90} (for C90 with GNU extensions), @option{-std=gnu99}
> >  (for C99 with GNU extensions) or @option{-std=gnu11} (for C11 with GNU
> > -extensions).  The default, if no C language dialect
> > -options are given, is @option{-std=gnu90}; this is intended to change
> > -to @option{-std=gnu11} in some future release.  Some features that are
> > -part of the C99 standard are
> > -accepted as extensions in C90 mode, and some features that are part of
> > -the C11 standard are accepted as extensions in C90 and C99 modes.
> > +extensions).  The default, if no C language dialect options are given,
> > +is @option{-std=gnu11}. Some features that are part of the C99 standard
> 
> Let's pretend I put two spaces before "Some".

Ok with that change.
> 
> > +are accepted as extensions in C90 mode, and some features that are part
> > +of the C11 standard are accepted as extensions in C90 and C99 modes.

        Jakub

Reply via email to