[PING^4] PR24924 front end and preprocessor pedantic_errors settings should agree

Manuel López-Ibáñez lopezibanez@gmail.com
Thu Mar 1 18:30:00 GMT 2007


PING^4: http://gcc.gnu.org/ml/gcc-patches/2007-01/msg02234.html

Thanks,

Manuel.

On 19/02/07, Manuel López-Ibáñez <lopezibanez@gmail.com> wrote:
> PING^3:  http://gcc.gnu.org/ml/gcc-patches/2007-01/msg02234.html
>
> Thanks,
>
> Manuel.
>
> On 11/02/07, Manuel López-Ibáñez <lopezibanez@gmail.com> wrote:
> > http://gcc.gnu.org/ml/gcc-patches/2007-01/msg02234.html
> >
> > Re-diffed, re-bootstrapped and re-regression-tested.
> >
> >
> >
> > On 27/01/07, Manuel López-Ibáñez <lopezibanez@gmail.com> wrote:
> > > :ADDPATCH c++:
> > >
> > > This patch makes the preprocessor to give an error for pedwarns by
> > > default unless fpermissive is given, when the language is a dialect of
> > > C++.
> > >
> > > Boostrapped and regression tested.
> > >
> > > Does it look OK to you?
> > >
> > >
> > > 2007-01-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
> > >
> > >   PR c++/24924
> > >   * c-opts.c (c_common_post_options): Handle C++ post-processing here.
> > > Set also -pedantic-errors by default for the  preprocessor unless
> > > -fpermissive is given.
> > >
> > > cp/
> > >   * decl.c (cxx_init_decl_processing): Move command-line options
> > > processing to c-opts.c.
> > >
> > > testsuite/
> > >   * g++.dg/cpp/pedantic-errors.C: New.
> > >   * g++.dg/cpp/permissive.C: New.
> > >
> > >
> >
> >
>



More information about the Gcc-patches mailing list