OSDN Git Service

2007-03-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Mar 2007 22:24:42 +0000 (22:24 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Mar 2007 22:24:42 +0000 (22:24 +0000)
commitaa5093160ec85f949b1c175b7f4b43b4fc2ec3e1
treeddc17625766b95f07512a991f379768feb496ed3
parent72b7df71b0be5b11af3e35c5af97e877163716bd
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122961 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-opts.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp/pedantic-errors.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp/permissive.C [new file with mode: 0644]