This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/24924] front end and preprocessor pedantic_errors settings should agree



------- Comment #3 from manu at gcc dot gnu dot org  2007-03-15 22:24 -------
Subject: Bug 24924

Author: manu
Date: Thu Mar 15 22:24:42 2007
New Revision: 122961

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122961
Log:
2007-03-15  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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp/pedantic-errors.C
    trunk/gcc/testsuite/g++.dg/cpp/permissive.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-opts.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24924


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]